Welcome to CloudAffaire and this is Debjeet.
In the last blog post, we have discussed CloudFormation Stack Change Sets.
In this blog post, we are going to discuss CloudFormer.
CloudFormer is a template creation tool that creates an AWS CloudFormation template from existing AWS resources in your account. You select any supported AWS resources that are running in your account, and CloudFormer creates a template in an Amazon S3 bucket. CloudFormer is itself a CloudFormation stack and utilizes EC2 instance to create the template.
Note: CloudFormer is currently in beta stage and currently not all AWS resources or resource properties are supported.
Next, we are going to create cloudformer stack.
Step 1: Login to AWS console and navigate to ‘CloudFormation’.
Step 2: Create a CloudFormation stack using ‘CloudFormer’ sample template.
Warning: CloudFormer uses t2.medium instance to run, charges apply for the same.
Step 3: Once the stack deployment completed, open the website URL in your favorite browser from the stack output section.
Next, we are going to create a template using all the existing resources in the current region.
Step 4: Select the desired region and click ‘Create Template’.
Select the resources that you want to include in your template and click ‘Continue’.
Do the same for all the resources.
In the end, a template for all the resources that you have selected previously will appear. Click ‘Save template’ to save the template in an S3 bucket.
We have successfully created the cloudformation template using cloudformer. You can launch the stack by clicking the ‘Launch Stack’.
Step 6: Cleanup.
Hope you have enjoyed this article, with this, we are concluding our introductory series on AWS CloudFormation. In the next blog post, we will start with a new AWS service.
To get more details on CloudFormation, please refer below AWS documentation