Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gavagiuc/ec2-inventory-report

Python script to generate a xlsx report containing all EC2 instances in AWS account.
https://github.com/gavagiuc/ec2-inventory-report

aws ec2 python report

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# ec2-inventory.py

[Download](https://github.com/gavagiuc/ec2-inventory)

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
```