Terraform
In the previous section, we discussed Ansible and its associated best practices. Although being an amazing configuration management tool, it exhales in its domain. However, when it comes to infrastructure provisioning, there is yet another amazing tool called Terraform.
Terraform is a tool that allows users to build, update, and change infrastructure in a safe and efficient manner.
Similarly, just as we automate day-to-day tasks such as adding/removing users and perform certain activities with the help of Ansible, we can automate the entire infrastructure provisioning with Terraform. Let's understand this with a use case:
Infrastructure migration
Large Corp. is one of the largest e-commerce organizations in India. They have around 700 servers in Singapore on AWS. As AWS has recently launched a new region in Mumbai, they decided to move all of their infrastructure to the Mumbai region to improve performance by minimizing latency.
The manager of the operation team had overseen the future...