CloudFormation primer
CloudFormation is the AWS service that provides IaC. It allows users to describe the AWS infrastructure and services that are to be created, along with their features and configurations to be declared in a DSL. These definitions can be executed against AWS to provision the necessary resources, as described in the definition files. These files that describe IAC code are called CloudFormation templates.
We will examine the basic concepts of CloudFormation here – it is expected that you can reasonably understand CloudFormation and the rest of the AWS concepts. This section has been provided as a quick refresher only. AWS templates can be defined either in JSON or YAML format. For this book, we will use YAML-formatted CloudFormation templates as they are more readable.
Two important concepts of Cloud Formation are template and stack:
- Template: A text file that defines AWS resources (services and infrastructure components) in JSON or YAML format...