3

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?

Tina J
  • 133
  • 1
  • 6
  • 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](https://aws.amazon.com/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

1 Answers1

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.

AlexD
  • 8,179
  • 2
  • 28
  • 38