You are currently viewing CloudFormation CloudFormer

CloudFormation CloudFormer

CloudFormation CloudFormer

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In the last blog post, we have discussed CloudFormation Stack Change Sets.

https://cloudaffaire.com/cloudformation-change-sets/

In this blog post, we are going to discuss CloudFormer.

CloudFormation 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’.

CloudFormation CloudFormer

Step 2: Create a CloudFormation stack using ‘CloudFormer’ sample template.

CloudFormation CloudFormer

CloudFormation CloudFormer

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.

CloudFormation CloudFormer

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’.

CloudFormation CloudFormer

Select the resources that you want to include in your template and click ‘Continue’.

CloudFormation CloudFormer

Do the same for all the resources.

CloudFormation CloudFormer

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.

CloudFormation CloudFormer

We have successfully created the cloudformation template using cloudformer. You can launch the stack by clicking the ‘Launch Stack’.

CloudFormation CloudFormer

Step 6: Cleanup.

CloudFormation CloudFormer

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

https://docs.aws.amazon.com/cloudformation/index.html

 

This Post Has 3 Comments

  1. Avatar
    matypro

    Dear Mr,
    Does it deploy the template in a different VPC? My goal is to clone DEV environment in a different VPC in the same region

  2. Avatar
    Debjeet

    Dear Matypro,

    The template is an exact replica of your existing configuration. If you want to deploy the stack in a different VPC, you can edit the VPC configuration part of the template and then deploy the stack.

    Thanks,
    Debjeet

  3. Avatar
    Billy

    I can’t actually see it in the samples. I am certain that it used to be there. It was always so helpful when starting a new project. Did they remove it or have I lost my mind?

Comments are closed.