Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gavagiuc/ec2-inventory-report
- Owner: gavagiuc
- Created: 2018-04-26T08:11:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-26T18:23:51.000Z (almost 7 years ago)
- Last Synced: 2024-08-04T08:06:07.811Z (7 months ago)
- Topics: aws, ec2, python, report
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```