Infrastructure as Code
Infrastructure Provisioning
- Creates VMs, firewalls, networks, load balancers, IP addresses, and more
Terraform
- Automates infrastructure provisioning in cloud providers such as Amazon Web Services, Microsoft Azure, and Google Cloud Platform
AWS CloudFormation
- Automates infrastructure provisioning in Amazon Web Services
- Uses stack templates (YAML or JSON) to define and deploy infrastructure
Post-Provisioning Configuration
Ansible
- Configures servers after they are provisioned
- Executes tasks over SSH on specified VMs
- Installs software, updates packages, manages configuration files
Summary
Terraform or AWS CloudFormation provisions infrastructure.
Ansible configures the provisioned infrastructure.