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 https://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.




Want comments on your site?

Remarkbox — is a free SaaS comment service which embeds into your pages to keep the conversation in the same place as your contentr. It works everywhere, even static HTML sites like this one!

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

© Russell Ballestrini.