☁️Infrastructure as Code (IaC)
Also known as IaC, Infrastructure-as-Code
Write your servers down in text files, and a tool builds them for you.
Think of it like
Think of it like a recipe for a kitchen. Follow it and you get the same kitchen each time.
Example
Lucy needs a second copy of her setup for testing. She runs her IaC files with a new name, and 15 minutes later it exists, exactly like the first.
Why it matters
Setups made by clicking are hard to repeat and easy to forget. Files can be reviewed, copied and rolled back.
Definition
Common mistake
Key takeaways
- 1Setup as text. Not clicks in a console.
- 2Kept in Git. Reviewed and recorded.
- 3Repeatable. Same files, same setup.