Output EC2 instances to Excel on all regions.
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.
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
python ec2_instances_excel.py
- option
- -h: show helps
- -o: The output excel file. default: ./ec2_instances.xlsx
MIT