This week I will explain AWS Cloudformer , a way of creating template of your current resources. Cloudformer is a Cloudformation tool that allows us to create our aws resources as a template and by doing this, we can create a backup as code of our environment. By using Cloudformer and creating the template of your existing resources, you can create these resources in another region of AWS for multiple solutions ( like load testing, disaster recovery ,business continuity ). Also after you created the template, you can add/remove resources and use parameters to create modified copies of your environment. I want to inform you that Cloudformer creates an t1.micro instance, so there will be instance usage cost. Today I will show how to use cloudformer step by step.
In cloudformation console we start by clicking “Launch CloudFormer”
In “Specify Parameters” section, we can define our ip range that will be permitted to access the Cloudformer instance.
Finally we review it and start to create our Cloudformer stack.
When stack is completed, in output section we will see the url that we will access the cloudformer web page.
When we click the link , Cloudformer web page welcomes us. After choosing which region you want to create template from, we start Cloudformation wizard by clicking “Create Template”.
In “Dns Names” you can select the Route 53 records if you have any.
In “Virtual Private Clouds” we select the vpc resources.
Then again in “VPC securit configuration” we select ACLs and Route tables.
In “Network Resources” we select ELBs,EIPS and etc.
In “Compute Resources” we select the EC2 instances and ASGs.
In “Storage” we select EBS volumes,RDS instances,DynamoDB tables and S3 buckets.
In “Application Services” we can select SQS,SNS and etc if you have any.
In “System Configuration” there are ASG launch configurations, RDS subnet groups and etc.
In “Security Groups” we can select our security groups.
In “Summarry we can modify the resources as needed.
And our template is ready. we can save it into a S3 bucket with a custom defined name.
After saving our template we can create a new stack by using it. I want to remember that if your resource number is higher that 200, you will get a template error ( this is clouformation limit).
If you have any question or comment, please feel free to write and don’t forget to share please.