Boto3 installation

A few things are needed before connecting to AWS:

  1. First, you will need an Amazon admin account that has privileges to create, modify, and delete from the infrastructure.
  2. Secondly, install the boto3 Python modules that are used to interact with AWS. You can create a user dedicated to sending API requests by going to the AWS Identity and Access Management (IAM) console and adding a new user. You should see the Programmatic access option, available under the Access Type section.
  1. Now, you will need to assign a policy that allows full access across the Amazon services, such as EC2 and S3. Do that by clicking on Attach existing policy to user and attaching AmazonEC2FullAccess and AmazonS3FullAccess policies to the username. ...

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.