1 What Infrastructure as Code is
Infrastructure as Code (IaC) is the practice of defining and managing infrastructure — servers, networks, load balancers, databases, DNS records — using machine-readable definition files rather than manual clicks in a web console or one-off commands typed at a terminal.
Instead of a human remembering the steps to build an environment, those steps live in text files that a tool reads and turns into real resources. The files become the single source of truth: to know how the environment is built, you read the code. To change it, you change the code and re-run the tool.