4. Carlos Conde - Amazon Web Services
-
Upload
mobcon -
Category
Technology
-
view
26 -
download
0
Transcript of 4. Carlos Conde - Amazon Web Services
@caarlco
GIVE YOUR APP THE BACKEND IT DESERVES
AMAZON KINDLE & KINDLE FIRE
TARGETED EMAIL
FIRST GENERATIONClient-server architectures
MOBILE APPS NEED SCALABLE BACK-ENDS
MOBILE APPS NEED SCALABLE,
HIGHLY AVAILABLE BACK-ENDS
MOBILE APPS NEED SCALABLE,
HIGHLY AVAILABLE,AND DURABLE
BACK-ENDS
AMAZON S3 SIMPLE STORAGE SERVICE
SPOTIFY ADDS 20,000 TRACKS/DAY TO ITS CATALOGUE
ON-DEMAND+
PAY AS YOU GO
SECOND GENERATIONSOA / Microservices architectures
AWS MOBILE SDKAndroid
iOSUnity
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
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
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
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
AMAZON DYNAMODB
HIGH-PERFORMANCE, FULLY MANAGED NoSQL DATABASE SERVICE
LOW LATENCYAVERAGE READS < 5MS,
WRITES < 10MS
NO ADMINISTRATION
SHAZAM SUPPORTED 500,000 WRITES/SEC
DURING SUPER BOWL
"SERVERLESS"BACKENDS
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
@caarlcoWWW.123DAPP.COM
@caarlco
@caarlco
@caarlco
@caarlco
MACHINE LEARNING Technology that automatically finds patterns in your data and uses them to make predictions
for new data points
THREE TYPES OF DATA-DRIVEN ANALYSIS
Retrospective analysis and
reporting
Here-and-now real-time processing
and dashboards
Predictions to enable smart
applications
BEYOND ARCHITECTURE
« Want to increase innovation? Lower the cost of failure »
– Joi Ito
+ ELASTIC CAPACITY + NO CAPEX + PAY AS YOU GO+ AVAILABLE ON-DEMAND
= NO RISKS
« Civilisation advances by extending the number of operations we can do without thinking about them. »
– Alfred North Whitehead
2 PIZZA TEAMS
INSTAGRAM “2 backend engineers can scale a system to 30+ million users”
FOCUS ON YOUR APP
@caarlco