Back to glossary

Infrastructure as Code (IaC)

The practice of managing and provisioning computing infrastructure through machine-readable configuration files rather than manual processes, enabling version control, repeatability, and automation.

Infrastructure as Code treats servers, networks, load balancers, and other infrastructure resources as software. Instead of clicking through cloud consoles, you define your infrastructure in declarative configuration files that can be version-controlled, reviewed, and applied automatically. Tools like Terraform, Pulumi, AWS CloudFormation, and Ansible are the primary IaC platforms.

The benefits are significant. Every infrastructure change goes through the same code review process as application code. Environments can be reproduced identically, eliminating configuration drift between staging and production. Disaster recovery becomes straightforward because the entire infrastructure can be recreated from code.

For AI teams, IaC is critical for managing the complex infrastructure that ML systems require: GPU clusters, model serving endpoints, vector databases, data pipelines, and monitoring stacks. Without IaC, spinning up a new environment for model training or creating a staging replica for testing becomes a manual, error-prone process that slows down experimentation velocity.

Related Terms