Intro to AWS and Boto3

Introduction to AWS Boto in Python

Maksim Pecherskiy

Data Engineer

What is Amazon Web Services?

Our Home

Home Services

Our Data Project

AWS Services

Introduction to AWS Boto in Python

What is Boto3?

import boto3
s3 = boto3.client('s3', 
                  region_name='us-east-1', 
                  aws_access_key_id=AWS_KEY_ID,
                  aws_secret_access_key=AWS_SECRET)

response = s3.list_buckets()
Introduction to AWS Boto in Python

AWS console

Introduction to AWS Boto in Python

Creating keys with IAM.

IAM Overview

Introduction to AWS Boto in Python

Creating keys with IAM

IAM Overview

Introduction to AWS Boto in Python

Find IAM in services

Introduction to AWS Boto in Python

Click users

Introduction to AWS Boto in Python

Add user animation

Introduction to AWS Boto in Python

Enter username animation

Introduction to AWS Boto in Python

Policy attaching animation

Introduction to AWS Boto in Python

Review permissions screenshot

Introduction to AWS Boto in Python

Grab the key and secret

Introduction to AWS Boto in Python

AWS services

S3

Introduction to AWS Boto in Python

AWS services

SNS

Introduction to AWS Boto in Python

AWS services

Comprehend

Introduction to AWS Boto in Python

AWS services

Rekog

Introduction to AWS Boto in Python

AWS services

Rest

Introduction to AWS Boto in Python

Sam

SAM

Introduction to AWS Boto in Python

GetItDone

Get It Done services poster

1 https://data.sandiego.gov/datasets/get-it-done-311/
Introduction to AWS Boto in Python

Summary

  • AWS Services = Home Utilities
  • IAM, S3, SNS, Comprehend and Rekognition
  • AWS Key / Secret
  • Connecting to S3 Using Boto
import boto3
s3 = boto3.client('s3', 
                  region_name='us-east-1', 
                  aws_access_key_id=AWS_KEY_ID,
                  aws_secret_access_key=AWS_SECRET)

response = s3.list_buckets()
Introduction to AWS Boto in Python

Let's harness the cloud!

Introduction to AWS Boto in Python

Preparing Video For Download...