Infrastructure as Code

In Chapter 2Understanding 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 ...

Get Cloud Security Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.