Infrastructure as Code is the practice of managing and provisioning infrastructure through code, using configuration files and automation.
What is Infrastructure as Code?
IAC allows defining, managing, and provisioning infrastructure programmatically, providing versioning, reuse, and automation.
Popular Tools
Declarative
- Terraform: Multi-cloud provisioning
- CloudFormation: AWS infrastructure
- Azure Resource Manager: Azure infrastructure
- Google Deployment Manager: GCP infrastructure
Imperative
- Ansible: Configuration automation
- Chef: Configuration management
- Puppet: Infrastructure automation
- SaltStack: Configuration management
Example with Terraform
Basic Configuration
Related Concepts
- Docker - Containerization
- Kubernetes - Orchestration
- DevOps - Methodology it facilitates
- GitLab - DevOps platform
- Security by Design - Secure design