What is Infrastructure as Code (IaC) and what are its main benefits?
Infrastructure as Code means managing and provisioning infrastructure through machine-readable configuration files instead of manual processes.
Key benefits:
- Reproducibility: Spin up identical environments on demand.
- Version control: Track all infrastructure changes in Git. Know who changed what and when.
- Auditability: Compliance teams can review what infrastructure is being provisioned.
- Self-documentation: The code is the documentation.
- Disaster recovery: Re-create an entire environment from scratch in minutes.