Summary
In this chapter, we looked at the importance and usefulness of Infrastructure as Code and ways to implement it using Terraform
or AWS CloudFormation
.
We examined the structure and individual components of both a TF and a CF template then practiced deploying those onto AWS using the CLI. I trust that the examples we went through have demonstrated the benefits and immediate gains from the practice of deploying infrastructure as code.
So far, however, we have only done half the job. With the provisioning stage completed, you will naturally want to start configuring your infrastructure, and that is what we are going to do in the next chapter on Configuration Management.