CloudFormation Key Details:

    • The main use case for CloudFormation is for advanced setups and production environments as it is complex and has many robust features.
    • The templates are written in YAML or JSON
    • A full CloudFormation setup is called a stack.
    • Once a template is created, AWS will make the corresponding stack. This is the living and active representation of said template. One template can create an infinite number of stacks.
    • Rollback triggers allow you to monitor the creation of the stack as it’s built. If an error occurs, you can trigger a rollback as the name implies.
    • AWS Quick Starts is composed of many high-quality CloudFormation stacks designed by AWS engineers.
    • An example template that would spin up an EC2 instance:

    • A template can be updated and then used to update the same stack.