https://github.com/hiroakis/ec2-instances-excel
https://github.com/hiroakis/ec2-instances-excel
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hiroakis/ec2-instances-excel
- Owner: hiroakis
- Created: 2015-09-07T08:11:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T17:54:35.000Z (over 10 years ago)
- Last Synced: 2025-02-14T16:39:46.405Z (over 1 year ago)
- Language: Python
- Size: 128 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ec2-instances-excel
Output EC2 instances to Excel on all regions.
## Installation
```
git clone git@github.com:hiroakis/ec2-instances-excel.git
cd ec2-instances-excel
pip install -r requirements.txt
```
Note: I did testing only Python 2.7.
## AWS Credentials
Set AWS credential by environment variable or create `~/.boto`. The tool needs `ec2:Describe*` policy.
* environment variable
```
export AWS_ACCESS_KEY_ID=xxxxx
export AWS_SECRET_ACCESS_KEY=xxxxx
```
* ~/.boto
```
[Credentials]
aws_access_key_id=xxxxx
aws_secret_access_key=xxxxx
```
## Usage
```
python ec2_instances_excel.py
```
* option
- -h: show helps
- -o: The output excel file. default: ./ec2_instances.xlsx
## Output example

## License
MIT