Awesome Open Source
Awesome Open Source

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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (54,453
linux (2,512
python3 (1,644
aws (1,100
shell-script (106
aws-ec2 (36
automated (28
boto3 (18