Random   •   Archives   •   RSS   •   About   •   Contact

Output all instance identifiers of an AWS VPC to JSON

At work today I needed an easy way to collect private IP addresses of every instance in one of our production VPCs.

I ended up adding a tool to http://botoform.com to perform this task.

bf --profile <aws_profile> dump <vpc_name_tag> instances --output-format json

For example:

bf --profile customer3 dump prd instances --output-format json > ~/customer3-prd-instances.json

Checkout the Botoform Quickstart for installation instructions.




Looking for a better comment system?

You should try Remarkbox — a hosted comment service that embeds in your pages to keep the conversation in the same place as your content. It works everywhere, even static sites!

Remarks: Output all instance identifiers of an AWS VPC to JSON

© Russell Ballestrini.