12. X
Authentication
Providers
End Users
User
Credentials
Authentication
Token
Amazon Cognito
Identity Broker
Identity Pool Id
(Token)
Identity Id
AWS Temp Credentials
(Depending on
Auth / Unauth Role)
Access to
AWS Services
(Including Amazon
API Gateway)
Identity Id
AWS Temp Credentials
Amazon S3
Amazon
DynamoDB
Amazon
Mobile Analytics
Amazon Cognito
Sync Store
K / V
Authentication &
Authorization
Amazon
CognitoCheck Token
13. X
End Users
User
Credentials
Authentication
Token
Amazon Cognito
Identity Broker
Identity Pool Id
(Token)
Identity Id
AWS Temp Credentials
(Depending on
Auth / Unauth Role)
Access to
AWS Services
(Including Amazon
API Gateway)
Identity Id
AWS Temp Credentials
Amazon S3
Amazon
DynamoDB
Amazon
Mobile Analytics
Amazon Cognito
Sync Store
K / V
Custom
Authentication
Service
Get Token
Token Authentication &
Authorization
Amazon
Cognito
16. Managed Cache to Store API Responses
Reduced Latency and DDoS Protection through Amazon CloudFront
SDK Generation for iOS, Android and JavaScript
HTTP 429 Response for API Throttling (Managed by the SDK)
Swagger Support
Request / Response Data Transformation and API Mocking
17. Business Logic
AWS
Lambda
AWS Lambda
Functions
Amazon
API Gateway
Amazon S3
Amazon
DynamoDB
Amazon Cognito
Sync Store
K / VAmazon
SNS
Amazon
Kinesis
Alexa Skills Kit (ASK)
Alexa Voice Service (AVS)
HTTPS
Invoke
Custom
Events
HTTPS
REST
API Call
18. Build Back-end Services that Perform at Scale
Respond Quickly to New Information
Run Your Code without Managing Infrastructure
Cost-effective and Efficient
26. λ
λ λ
Amazon
API Gateway
λ
λ
λ
λ
Bucket Usage
Table
Media Metadata
Table
User Stat
Table
User
Location
Table
K / V
λ
λ
λ
Amazon Cognito
Identity Broker
Amazon Cognito
Sync Store
Amazon
SNS
Amazon
Kinesis
Media
Bucket
Log
Table
Authentication
&
Authorization
Upload Picture / VideoUpdate Bucket UsageCheck Bucket Usage
Delete
“Over Quota”
Media
Send Notification
to
User / Application
Extract Metadata and
Write on DB
Update
User Statistics
Call REST API
to Get
Media Description
Upload
Location Info
Update
User Location
Look for
Users or Media
Near Current Location
Call REST API
to Get
User Info
Sync
Media and User
Rating
Write
History of Changes
Check and Update
Ratings
Invoke
Read
Write / Send