Download - 4. Carlos Conde - Amazon Web Services
![Page 1: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/1.jpg)
@caarlco
GIVE YOUR APP THE BACKEND IT DESERVES
![Page 2: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/2.jpg)
AMAZON KINDLE & KINDLE FIRE
![Page 3: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/3.jpg)
![Page 4: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/4.jpg)
TARGETED EMAIL
![Page 5: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/5.jpg)
![Page 6: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/6.jpg)
![Page 7: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/7.jpg)
FIRST GENERATIONClient-server architectures
![Page 8: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/8.jpg)
![Page 9: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/9.jpg)
![Page 10: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/10.jpg)
![Page 11: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/11.jpg)
![Page 12: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/12.jpg)
MOBILE APPS NEED SCALABLE BACK-ENDS
![Page 13: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/13.jpg)
MOBILE APPS NEED SCALABLE,
HIGHLY AVAILABLE BACK-ENDS
![Page 14: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/14.jpg)
MOBILE APPS NEED SCALABLE,
HIGHLY AVAILABLE,AND DURABLE
BACK-ENDS
![Page 15: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/15.jpg)
![Page 16: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/16.jpg)
![Page 17: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/17.jpg)
![Page 18: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/18.jpg)
![Page 19: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/19.jpg)
![Page 20: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/20.jpg)
![Page 21: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/21.jpg)
![Page 22: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/22.jpg)
![Page 23: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/23.jpg)
![Page 24: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/24.jpg)
![Page 25: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/25.jpg)
![Page 26: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/26.jpg)
AMAZON S3 SIMPLE STORAGE SERVICE
![Page 27: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/27.jpg)
![Page 28: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/28.jpg)
SPOTIFY ADDS 20,000 TRACKS/DAY TO ITS CATALOGUE
![Page 29: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/29.jpg)
ON-DEMAND+
PAY AS YOU GO
![Page 30: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/30.jpg)
![Page 31: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/31.jpg)
![Page 32: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/32.jpg)
![Page 33: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/33.jpg)
SECOND GENERATIONSOA / Microservices architectures
![Page 34: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/34.jpg)
AWS MOBILE SDKAndroid
iOSUnity
![Page 35: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/35.jpg)
Authenticate users
Authorize access
Analyze User Behavior
Store and share media
Synchronize data
Deliver media
Store shared data
Stream real-time dataRun Business Logic
Send push notifications
Manage users and identity providers
Securely access cloud resources
Sync user prefs across devices
Track active users, Engagement, retention
Run stateless custom Code without managing servers
Store user-generated photos Media and share them
Automatically detect mobile devices Deliver content quickly globally
Bring users back to your app by sending messages reliably
Store and query fast NoSQL data across users and devices
Collect real-time clickstream logs and take actions quickly
Your Mobile
App
Tables Stakes
![Page 36: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/36.jpg)
Authenticate users
Authorize access
Analyze User Behavior
Store and share media
Synchronize data
AWS Mobile SDK
Amazon Mobile Analytics
Deliver media
Amazon Cognito (Sync)
AWS Identity and Access Management
Amazon Cognito (Identity Broker)
Amazon S3 Transfer Manager
Amazon CloudFront (Device Detection)
Store shared dataAmazon DynamoDB (Object Mapper)
Stream real-time dataAmazon Kinesis (Recorder)
Run Business LogicAWS Lambda
Send push notificationsAmazon SNS Mobile Push
Your Mobile
App
![Page 37: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/37.jpg)
AWS Region
AU
TH
EN
TIC
AT
ED
(AS
SU
ME
D R
OL
E)
Photo SharingAWS MOBILE REFERENCE ARCHITECTURES
Download Photos & App Files
Session and Device Data, User Behavior
Social Content(Tagging, Likes, Comments, etc.)
Auto Export
Metadata
Image Manipulation
40 Function Invoked
Multi-part Upload
User Login
Auto with Web Identity Token
User
Friends
AWS Mobile SDK
Session & Photo Metadata
Role A
ssociated W
ith Identity Pool
AWS
Lambda
Amazon
CloudFront
Amazon
Mobile Analytics
Amazon
DynamoDB
Amazon
Cognito
Amazon
IAM Amazon
S3
Geo Look up
Amazon
SNS Mobile Push
Amazon
Redshift
Targeted
![Page 38: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/38.jpg)
Synchronize data across devices with Amazon Cognito
Sync Game States Across OS/devices
State Transition (link multiple accounts)
Sync User Profiles across OS/devices/web
![Page 39: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/39.jpg)
![Page 40: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/40.jpg)
AMAZON DYNAMODB
HIGH-PERFORMANCE, FULLY MANAGED NoSQL DATABASE SERVICE
![Page 41: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/41.jpg)
LOW LATENCYAVERAGE READS < 5MS,
WRITES < 10MS
![Page 42: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/42.jpg)
NO ADMINISTRATION
![Page 43: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/43.jpg)
SHAZAM SUPPORTED 500,000 WRITES/SEC
DURING SUPER BOWL
![Page 44: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/44.jpg)
"SERVERLESS"BACKENDS
![Page 45: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/45.jpg)
Amazon Cognito Sync
Dataset
Amazon DynamoDB
Table
Map local functions to
invoke Lambda Functions
synchronously
Maintain intelligence in the cloud and not the device
Chain multiple functions or call them in
parallel
☺
SNSPush notification
AWS Mobile SDKs (iOS, Android)
Personalize your notification for every
user
Pre-process or validate data on the fly
pre-process before persisting
![Page 52: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/52.jpg)
MACHINE LEARNING Technology that automatically finds patterns in your data and uses them to make predictions
for new data points
![Page 53: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/53.jpg)
THREE TYPES OF DATA-DRIVEN ANALYSIS
Retrospective analysis and
reporting
Here-and-now real-time processing
and dashboards
Predictions to enable smart
applications
![Page 54: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/54.jpg)
![Page 55: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/55.jpg)
![Page 56: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/56.jpg)
BEYOND ARCHITECTURE
![Page 57: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/57.jpg)
« Want to increase innovation? Lower the cost of failure »
– Joi Ito
![Page 58: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/58.jpg)
+ ELASTIC CAPACITY + NO CAPEX + PAY AS YOU GO+ AVAILABLE ON-DEMAND
= NO RISKS
![Page 59: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/59.jpg)
« Civilisation advances by extending the number of operations we can do without thinking about them. »
– Alfred North Whitehead
![Page 60: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/60.jpg)
2 PIZZA TEAMS
![Page 61: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/61.jpg)
INSTAGRAM “2 backend engineers can scale a system to 30+ million users”
![Page 62: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/62.jpg)
![Page 63: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/63.jpg)
FOCUS ON YOUR APP
![Page 64: 4. Carlos Conde - Amazon Web Services](https://reader031.vdocuments.net/reader031/viewer/2022020219/55cff282bb61eb4d328b4779/html5/thumbnails/64.jpg)
@caarlco