3

I've got a dozen or so EBS backed instances of various sizes in a VPC, multiple security groups, route53 for internal name service.

I'd like to clone the whole thing to another availability zone. Has anyone done such a thing? OpsWorks appears to have that feature. Has anyone used it?

8

CloudFormer and CloudFormation would be good tools for this.

CloudFormer lets you create AWS CloudFormation templates from resources that are already existing in your account. These generated templates are basically just JSON that expresses each type of resource that CloudFormer examined. You can then take the generated template as a base, tweak the configuration of each resource as you need, and then use the template to launch those resources.

Resources:

  • Awesome, that looks very promising. I'll give it a whirl and report back! – jorfus May 6 '15 at 22:19
  • I cloned a stack to another availability zone. I had to manually copy the EBS snapshots over and there was a lot of obscure template work, and abstracting the template is a challenge. Got some help from a class at the AWS loft. Some other AWS infrastructure automation tools might be easier. I hear good things about Terraform and Salt. – jorfus Dec 10 '15 at 1:38
  • i am looking for is there any way to clonse ecs cluster of micro services or your solution can help mine too.Thanks – Adiii Apr 4 '17 at 19:09
0

I started using Terraform and the Terraform import tool called Terraforming. I find them much more to my liking. For one thing Terraform allows iterative changes while Cloudformation seems to want to refresh the whole stack when things change. I also find the Terraform syntax and documentation quite approachable. I'm particularly fond of variable abstraction and interpolation options. I've created core stack templates which can be re-used in various environments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.