From c0abe32b2f162ca7e1a508b27239f1b18a2d510b Mon Sep 17 00:00:00 2001 From: russellballestrini Date: Tue, 21 Jun 2016 10:33:27 -0400 Subject: [PATCH] new file: content/2016-06-21-output-all-instance-identifiers-of-an-aws-vpc-to-json.rst --- ...ance-identifiers-of-an-aws-vpc-to-json.rst | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 content/2016-06-21-output-all-instance-identifiers-of-an-aws-vpc-to-json.rst diff --git a/content/2016-06-21-output-all-instance-identifiers-of-an-aws-vpc-to-json.rst b/content/2016-06-21-output-all-instance-identifiers-of-an-aws-vpc-to-json.rst new file mode 100644 index 0000000..fa12ecf --- /dev/null +++ b/content/2016-06-21-output-all-instance-identifiers-of-an-aws-vpc-to-json.rst @@ -0,0 +1,26 @@ +Output all instance identifiers of an AWS VPC to JSON +===================================================== + +:author: Russell Ballestrini +:slug: output-all-instance-identifiers-of-an-aws-vpc-to-json +:date: 2016-06-21 10:25 +:tags: Code, DevOps +:status: published + +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. + +.. code-block:: bash + + bf --profile dump instances --output-format json + +For example: + +.. code-block:: bash + + bf --profile customer3 dump prd instances --output-format json > ~/customer3-prd-instances.json + +Checkout the `Botoform Quickstart `_ +for installation instructions. +