Intro à AWS et Boto3

Introduction à AWS Boto en Python

Maksim Pecherskiy

Data Engineer

Qu'est-ce qu'Amazon Web Services ?

Notre foyer

Services à domicile

Notre projet data

Services AWS

Introduction à AWS Boto en Python

Qu'est-ce que 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 à AWS Boto en Python

Console AWS

Introduction à AWS Boto en Python

Créer des clés avec IAM.

Aperçu IAM

Introduction à AWS Boto en Python

Créer des clés avec IAM

Aperçu IAM

Introduction à AWS Boto en Python

Rechercher IAM dans Services

Introduction à AWS Boto en Python

Cliquer sur Users

Introduction à AWS Boto en Python

Ajouter un utilisateur (animation)

Introduction à AWS Boto en Python

Saisir le nom d'utilisateur (animation)

Introduction à AWS Boto en Python

Affecter une stratégie (animation)

Introduction à AWS Boto en Python

Vérifier les autorisations (capture)

Introduction à AWS Boto en Python

Récupérer la clé et le secret

Introduction à AWS Boto en Python

Services AWS

S3

Introduction à AWS Boto en Python

Services AWS

SNS

Introduction à AWS Boto en Python

Services AWS

Comprehend

Introduction à AWS Boto en Python

Services AWS

Rekognition

Introduction à AWS Boto en Python

Services AWS

Autres

Introduction à AWS Boto en Python

Sam

SAM

Introduction à AWS Boto en Python

GetItDone

Affiche des services Get It Done

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

Récapitulatif

  • Services AWS = services du foyer
  • IAM, S3, SNS, Comprehend et Rekognition
  • Clé / secret AWS
  • Connexion à S3 avec 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 à AWS Boto en Python

Cap sur le cloud !

Introduction à AWS Boto en Python

Preparing Video For Download...