Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiroakis/ec2-instances-excel
https://github.com/hiroakis/ec2-instances-excel
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hiroakis/ec2-instances-excel
- Owner: hiroakis
- Created: 2015-09-07T08:11:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T17:54:35.000Z (almost 9 years ago)
- Last Synced: 2023-03-22T15:58:04.530Z (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 [email protected]: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
![](output.png?raw=true)
## License
MIT