Overview

AWS CloudFormation is a service that helps you manage Amazon Web Services resources. It uses a YAML or JSON template to describe the resources you need and their dependencies, and creates, updates, and deletes the resources as a separate stack, without having to manage the resources separately.

The CloudFormation service itself does not charge, but you must pay for the AWS resources you create in the stack in the same way that you would if you created them manually.

How to use it?

  • Before using CloudFormation, you need to understand some important concepts: Templates , Stacks , Change sets (Detailed Info)
  • Several ways to create and manage stacks using cloudFormation:
    • Templates are created using the AWS CloudFormation Designer or text editor, and a stack is created using templates in the AWS CloudFormation Console . (Detailed Info)
    • Use a text editor to write templates and deploy stacks in AWS CLI . (Detailed Info)
    • Use AWS CDK to define the AWS resources you need in your code, and then use the AWS CDK Toolkit to generate templates and deployment stacks. The AWS CDK supports TypeScript, JavaScript, Python, Java, and C#/.Net. (Detailed Info)
  • Sample templates :This collection of sample templates will help you get started with AWS CloudFormation and quickly build your own templates. (Detailed Info)