AWS 與 Boto3 入門

Python 中的 AWS Boto 入門

Maksim Pecherskiy

Data Engineer

什麼是 Amazon Web Services?

我們的家

居家服務

我們的資料專案

AWS 服務

Python 中的 AWS Boto 入門

什麼是 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()
Python 中的 AWS Boto 入門

AWS 主控台

Python 中的 AWS Boto 入門

用 IAM 建立金鑰。

IAM 概觀

Python 中的 AWS Boto 入門

用 IAM 建立金鑰

IAM 概觀

Python 中的 AWS Boto 入門

在服務中找到 IAM

Python 中的 AWS Boto 入門

點選使用者

Python 中的 AWS Boto 入門

新增使用者動畫

Python 中的 AWS Boto 入門

輸入使用者名稱動畫

Python 中的 AWS Boto 入門

附加權限原則動畫

Python 中的 AWS Boto 入門

檢視權限截圖

Python 中的 AWS Boto 入門

取得金鑰與密鑰

Python 中的 AWS Boto 入門

AWS 服務

S3

Python 中的 AWS Boto 入門

AWS 服務

SNS

Python 中的 AWS Boto 入門

AWS 服務

Comprehend

Python 中的 AWS Boto 入門

AWS 服務

Rekog

Python 中的 AWS Boto 入門

AWS 服務

其餘

Python 中的 AWS Boto 入門

Sam

SAM

Python 中的 AWS Boto 入門

GetItDone

Get It Done 服務海報

1 https://data.sandiego.gov/datasets/get-it-done-311/
Python 中的 AWS Boto 入門

重點整理

  • AWS 服務=居家公用設施
  • IAM、S3、SNS、Comprehend、Rekognition
  • AWS Key/Secret
  • 使用 Boto 連線 S3
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()
Python 中的 AWS Boto 入門

一起掌握雲端!

Python 中的 AWS Boto 入門

Preparing Video For Download...