Getting hands-on with AWS CloudFormation
AWS CloudFormation is a service provided by Amazon Web Services that enables you to manage and provision your AWS resources using templates.
Of all the tools we have looked at in this book, AWS CloudFormation is the oldest, with its original public release in May 2010. Also, in the description, I described it as a service that uses templates – this all makes the approach slightly different than the other tools we have covered.
CloudFormation uses JSON or YAML templates to describe your desired AWS resources and their configurations. These templates define a stack, which is a collection of related resources that can be created, updated, or deleted together.
It provides automatic rollback and drift detection capabilities to help you maintain the desired state of your infrastructure. CloudFormation can automatically revert to the previous working state if a stack update fails. Drift detection allows you to identify and correct discrepancies...