Automating Infrastructure with CloudFormation: Creating a Basic Template for S3 bucket and EC2

AWS CloudFormation takes care of provisioning and configuring those AWS resources for you. It automates the Infrastructure setup on AWS for you. You just need to create a CloudFormation template elisting the resources and their configuration. The template can be written in JSON or YAML Cloud Formation Templates are reusable which a big advantage. Cloud Formation also provides feedback on the status of your resources.

Let us get started by created a very simple template which creates an S3 bucket(Object Storage).