Infrastructure as code with Terraform
Cloud vendors have their infrastructure in data centers spread worldwide. When we create cloud infrastructure, we are interacting with the APIs these vendors have exposed to their customers. These APIs can be used to create and configure all services that the cloud vendors provide. As cloud infrastructure has become complicated, the work of managing it has also become complicated. This has opened up a new paradigm in infrastructure management – infrastructure as code, or IaC.
IaC is a new approach to infrastructure management and is a departure from the old ways of managing infrastructure manually and mostly through cloud consoles and CLIs. As the name suggests, IaC is all about maintaining your infrastructure using code. The desired end state of your infrastructure is written as code – this could be either a programming language or a domain-specific language (DSL). Once the code is written in the IaC DSL, the IaC tooling will...