
AWS Certified Advanced Networking – Specialty (ANS-C01) Certification Guide
By :

CloudFormation is the AWS IaC provisioning tool. It uses a specification document called a template, which can be written in YAML or JSON. The template describes all the resources you want to provision and defines relationships between those resources. The template is uploaded to Amazon, where CloudFormation converts it into running infrastructure called a stack.
CloudFormation supports some programmatic constructs, such as parameters and intrinsic functions, to make life easier and to improve the reusability of your templates.
One of the key features of CloudFormation is rollback on failure. If an element in the deployment fails, CloudFormation, by default, will automatically roll back the entire deployment. There are ways to override this behavior through policies. The main thing to appreciate is that this is a huge advantage over most other automation tools, such as Terraform and Pulumi, where if there’s a failure in the deployment, you may have to...