Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENCE
README.md
ec2_start.py
ec2_stop.py
operate_aws.sh

README.md

automating-AWS-with-Python

automating AWS with Python using boto3 library

You have to add credentials and config files in the .aws directory. Just paste the following code

Create the credentials file. By default, its location is at ~/.aws/credentials:

[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEY

You may also want to set a default region. This can be done in the configuration file. By default, its location is at ~/.aws/config:

[default]
region=us-east-1

Note

You can automate this script using crontab in linux. I don't know about windows and mac but you can surely google it.