Python script to generate a xlsx report containing all EC2 instances in AWS account.
Branch: master
Clone or download
Latest commit 860f387 Apr 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
ec2-inventory.py
ec2-price-json-generator.py first commit Apr 26, 2018
price.json

README.md

ec2-inventory.py

Download

Python script to generate a xlsx report containing all EC2 instances in AWS account.

Generated report has the following table header:

Instance Type Platform Public IP Private IP Instance State LaunchTime AWS Account CPU CPU Utilization Avg ECU memory GiB Volume Size GiB Volume Size GiB Volume Size GiB Volume Size GiB Volume Size GiB

Prerequisites:

pip install openpyxl boto3
price.json file ( can be regenerated using python ec2-inventory-pricing-runfirst.py

Run via Python:

python inventory.py AWS-profile-name