IaC (Infrastructure as Code)
What is IaC (Infrastructure as Code)?
IaC (Infrastructure as Code): Managing and provisioning infrastructure (servers, networks, databases) through machine-readable configuration files rather than manual processes. Infrastructure as Code, or IaC, means describing servers, networks, databases and DNS in configuration files instead of clicking them together in a web console. Tools like Terraform, OpenTofu, Pulumi and CloudFormation read those files and create or update the real infrastructure.
Frequently asked questions about IaC (Infrastructure as Code)
How is IaC (Infrastructure as Code) used in practice?
The benefits are the same as for application code. Changes are reviewed, recorded in Git and repeatable. You can create an identical test environment, or rebuild production after a disaster, from the same files.
What should you keep in mind with IaC (Infrastructure as Code)?
It also documents the setup. A new developer can read what exists instead of exploring a cloud account. The discipline that makes it work is simple: make every change through the code. Manual changes in the console cause drift, and drift slowly makes the code untrustworthy.
At a glance
| Category | Core glossary |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |