Observability Glossary

Infrastructure as Code (IaC)

Linkedin icon
Reddit icon

Infrastructure as Code (IaC) is like writing a recipe for your cloud environment. Instead of manually setting up servers and networks, you write code that describes how you want your infrastructure to look. This code can then be used to automatically create and manage your infrastructure, making it easier to scale and replicate your environment.

For example, let's say you need to set up a new web server. Instead of logging into the cloud provider to create the server and then getting into the server to install all the necessary software and dependencies, you can write a code to create the server, and a script that defines everything your server needs. This script can then be used to create as many identical web servers as you need, all with the same configuration.

In practice, developers use tools like Terraform to define their cloud infrastructure.

Explore related concepts
Start resolving issues today.
Without the hassle.