Einführung in AWS und Boto3

Einführung in AWS Boto mit Python

Maksim Pecherskiy

Data Engineer

Was ist Amazon Web Services?

Unser Zuhause

Home Services

Unser Datenprojekt

AWS Services

Einführung in AWS Boto mit Python

Was ist 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()
Einführung in AWS Boto mit Python

AWS-Konsole

Einführung in AWS Boto mit Python

Schlüssel mit IAM erstellen.

IAM Overview

Einführung in AWS Boto mit Python

Schlüssel mit IAM erstellen

IAM Overview

Einführung in AWS Boto mit Python

Find IAM in services

Einführung in AWS Boto mit Python

Click users

Einführung in AWS Boto mit Python

Add user animation

Einführung in AWS Boto mit Python

Enter username animation

Einführung in AWS Boto mit Python

Policy attaching animation

Einführung in AWS Boto mit Python

Review permissions screenshot

Einführung in AWS Boto mit Python

Grab the key and secret

Einführung in AWS Boto mit Python

AWS-Services

S3

Einführung in AWS Boto mit Python

AWS-Services

SNS

Einführung in AWS Boto mit Python

AWS-Services

Comprehend

Einführung in AWS Boto mit Python

AWS-Services

Rekog

Einführung in AWS Boto mit Python

AWS-Services

Rest

Einführung in AWS Boto mit Python

Sam

SAM

Einführung in AWS Boto mit Python

GetItDone

Get It Done services poster

1 https://data.sandiego.gov/datasets/get-it-done-311/
Einführung in AWS Boto mit Python

Zusammenfassung

  • AWS-Services = Hausinfrastruktur
  • IAM, S3, SNS, Comprehend und Rekognition
  • AWS Key / Secret
  • Verbindung zu S3 mit 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()
Einführung in AWS Boto mit Python

Nutzen wir die Cloud!

Einführung in AWS Boto mit Python

Preparing Video For Download...