In AWS, I have a VPC with many components inside, including subnets, security groups, gateways, load balancers, target groups, many instances, and others.

Is there any ways to export my whole architecture and components into a file, sayXML or something?

  • 1
    Not to my knowledge - you could get much of the way there by using the AWS CLI's output and combining it yourself into a format of some sort. Maybe you're tackling this from the wrong end, though: You can use a configuration management system like Ansible, Puppet, Chef, etc. or something like AWS CloudFormation to define what your infrastructure should look like, and they'll actually create it for you. – ceejayoz Sep 27 '18 at 17:25
  • Ummm, too bad. This looks like a must-to-have feature! Initially things were created manually, so no initial template for us. – Tina J Sep 27 '18 at 18:13

You can use CloudFormer to export your existing AWS infrastructure into CloudFormation template. Alternatively you can use terraforming ruby gem to export your infrastructure as Terraform files.

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.