Skip to content

Origin

The idea of treating infrastructure as code emerged in the late 2000s, matured with AWS APIs, and was formalized as a named practice by 2016.

Infrastructure as Code has two roots. The first is configuration management: CFEngine (1993), Puppet (2005), Chef (2009), and Ansible (2012) all treated server configuration as code before the term existed. The second is cloud APIs: Amazon EC2 (2006) turned infrastructure into a programmatic interface for the first time. Combining the two — defining cloud resources in files and applying them automatically — is what became IaC.

The term itself was popularized by Kief Morris's book Infrastructure as Code (O'Reilly, 2016), which formalized the practice and gave it a coherent methodology. HashiCorp's Terraform (2014) turned the practice into a widely adopted tool. OpenTofu (2024) is a fork of Terraform created after HashiCorp changed the license.

Infrastructure as Code is the process of managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

— Kief Morris, *Infrastructure as Code*, O'Reilly, 2016