In Chapter 2, Understanding the World of Cloud Automation, we have already seen that Infrastructure as Code involves creating a template for all the required infrastructure, which can be deployed at any point of time. To create a template of the infrastructure, we use JSON or YAML. In AWS, we have CloudFormation, which helps to create the infrastructure template, which can be deployed at any point of time in AWS after making minimal or no changes.
Minimal changes, such as changes in compute size and region-specific details, are required before the deployment of the template when we create a template for a specific region.
When we put our JSON template in the CloudFormation template, it automatically draws a logical diagram, as follows:
We also learned about AWS OpsWorks in an earlier section. It helps us to create the layered infrastructure and...