Kensuke Shimokawa (@_kensh) @_kensh 13th April 2021
© 2021, Amazon Web Services, Inc. or its Affiliates. Kensuke Shimokawa
Amazon Web Services Japan K.K.
Serverless Specialist Solutions Architect
@_kensh
© 2021, Amazon Web Services, Inc. or its Affiliates. Table of contents
• • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. AWS Lambda
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. Amazon EFS AWS AppSync Amazon EventBridge
AWS AWS Amazon Amazon Amazon Amazon Amazon Step Functions Amazon Lambda API Gateway Kinesis S3 DynamoDB SNS SQS
Amazon Amazon Amazon Elastic Amazon Amazon Amazon Managed ElasticSearch Aurora Load Balancing ElastiCache AWS Fargate Workflows for Managed MQ Service Apache Streaming Airflow for Kafka
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. Amazon DynamoDB
※Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. Amazon DynamoDB
•
• Replica (Europe)
Replica (US) • Replica (Asia)
Amazon DynamoDB •
© 2021, Amazon Web Services, Inc. or its Affiliates. • Amazon Route 53
© 2021, Amazon Web Services, Inc. or its Affiliates. Amazon Route 53
Amazon Route 53
Amazon Route 53 Route 53
© 2021, Amazon Web Services, Inc. or its Affiliates. Route 53
レイテンシールーティング
Resource A
Amazon Route53 Resource B
© 2021, Amazon Web Services, Inc. or its Affiliates. Route 53
Resource A In US
User in US Amazon Route53 Resource B in EU
© 2021, Amazon Web Services, Inc. or its Affiliates. Route 53
Resource A In US
User in US Amazon Route53 Resource B in EU
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. • • • •
• • •
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • • • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. トランザクション カタログ情報 イベント サーバーログ
© 2021, Amazon Web Services, Inc. or its Affiliates. •
•
•
© 2021, Amazon Web Services, Inc. or its Affiliates. • AWS Lambda Amazon API Gateway •
API Gateway API Lambda
• •
•
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. • • Amazon Route53
•
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. • •
• •
• •
© 2021, Amazon Web Services, Inc. or its Affiliates. •
•
•
•
© 2021, Amazon Web Services, Inc. or its Affiliates. Read Local
AWS Cloud
Region A
Amazon Route 53
Amazon API Gateway AWS Lambda Amazon DynamoDB
モバイル Region B
Amazon API Gateway AWS Lambda Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • DynamoDB • • API Gateway S3 • Amazon CloudFront
• CloudFormation Stack
© 2021, Amazon Web Services, Inc. or its Affiliates. API Gateway のマルチリージョン化設定 Read Local
AWS Cloud
Region A •
Custom Amazon Route 53 Domain API • Name Endpoint Endpoint Amazon API Gateway AWS Lambda
モバイル • Region B
Custom Domain API Name Endpoint Endpoint Amazon API Gateway AWS Lambda •
© 2021, Amazon Web Services, Inc. or its Affiliates. Read Local
AWS Cloud
Region A •
Custom Amazon Route 53 Domain API Name Endpoint Endpoint • Amazon API Gateway AWS Lambda
モバイル Region B
Custom Domain API Name Endpoint Endpoint Amazon API Gateway AWS Lambda
© 2021, Amazon Web Services, Inc. or its Affiliates. API Gateway
• API Gateway • • • • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. • •
• •
• •
© 2021, Amazon Web Services, Inc. or its Affiliates. •
•
•
© 2021, Amazon Web Services, Inc. or its Affiliates. Write Global
AWS Cloud
Region A
Amazon Route 53
Amazon API Gateway AWS Lambda Amazon DynamoDB
グローバルテーブル モバイル レプリケーション Region B
Amazon API Gateway AWS Lambda Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • Amazon DynamoDB
• • •
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. • • •
• •
• •
© 2021, Amazon Web Services, Inc. or its Affiliates. •
•
•
•
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • • • •
•
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • • • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. Write Partitioned
Region B AWS Cloud
Region A
Amazon Route 53
モバイル
Amazon API Gateway AWS Lambda Amazon DynamoDB
グローバルテーブル レプリケーション Region B
Amazon API Gateway AWS Lambda Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. Write Partitioned
Region B AWS Cloud
Region A
Amazon Route 53
モバイル
Amazon API Gateway AWS Lambda Amazon DynamoDB
グローバルテーブル レプリケーション Region B
Amazon API Gateway AWS Lambda Amazon DynamoDB
Route 53 © 2021, Amazon Web Services, Inc. or its Affiliates. Write Partitioned
orderId homeRegion userId Region A 1234 Region A 9012
5678 Region B 3456
AWS Lambda Amazon DynamoDB •
グローバルテーブル • レプリケーション Region B • •
AWS Lambda Amazon DynamoDB •
© 2021, Amazon Web Services, Inc. or its Affiliates. Write Partitioned
• Region A
• AWS Lambda Amazon DynamoDB
Region B 支払 処理
AWS Lambda Amazon DynamoDB
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • • • • • •
© 2021, Amazon Web Services, Inc. or its Affiliates. • • • •
• • •
© 2021, Amazon Web Services, Inc. or its Affiliates. © 2021, Amazon Web Services, Inc. or its Affiliates. •
•
•
•
© 2021, Amazon Web Services, Inc. or its Affiliates. Thank you !
@_kensh
© 2021, Amazon Web Services, Inc. or its Affiliates.