AWS CloudFormation is a cloud builder service, which helps you model and set up your AWS resources. So that you can spend less time managing AWS resources and more time focusing on your application. For this, you need to create a template that describes all the AWS resources. This can be included Amazon EC2 instances which you want, Amazon VPC and subnet details, etc.
Provisioning and Configuring resources this all handled by Cloud Formation. You don’t need to individually create and configure resources and figure out what’s dependent on what.
AWS CloudFormation is available at no additional charge. Most important is you will be billed only the normal rates for the AWS resources like EC2, RDS, LB, etc.
Two main parts of Cloud Formation:
- Cloud Formation Template:
A template is a JSON-formatted text file which describes your AWS infrastructure. Templates mostly include several major sections. The Resources section is important because it is the only required section.
You can use AWS CloudFormation’s sample templates or create your own templates to describe the AWS resources, and any associated dependencies or runtime parameters, required to run your application.
- Cloud Formation Stack:
Cloud Formation Stack provides the ability to deploy, update and delete a template. The Stack is a collection of resources which you can update by using the AWS Management Console, AWS Command Line Interface, or APIs.
Check this video tutorial about CloudFormation – https://youtu.be/AgL6x1Qnq_c
Finally, don’t forget to share your views.