DevOps
What is Infrastructure as Code (IaC)?
Managing and provisioning infrastructure through machine-readable configuration files.
Definition
Infrastructure as Code (IaC) is the practice of managing servers, networks, and other infrastructure through code instead of manual configuration. Tools like Terraform, Pulumi, AWS CloudFormation, and Ansible let you version-control infrastructure, reproduce environments exactly, and automate provisioning. IaC eliminates configuration drift and enables disaster recovery by treating infrastructure like application code.