4. carlos conde - amazon web services

64
@caarlco GIVE YOUR APP THE BACKEND IT DESERVES

Upload: mobcon

Post on 16-Aug-2015

26 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: 4. Carlos Conde - Amazon Web Services

@caarlco

GIVE YOUR APP THE BACKEND IT DESERVES

Page 2: 4. Carlos Conde - Amazon Web Services

AMAZON KINDLE & KINDLE FIRE

Page 3: 4. Carlos Conde - Amazon Web Services
Page 4: 4. Carlos Conde - Amazon Web Services

TARGETED EMAIL

Page 5: 4. Carlos Conde - Amazon Web Services
Page 6: 4. Carlos Conde - Amazon Web Services
Page 7: 4. Carlos Conde - Amazon Web Services

FIRST GENERATIONClient-server architectures

Page 8: 4. Carlos Conde - Amazon Web Services
Page 9: 4. Carlos Conde - Amazon Web Services
Page 10: 4. Carlos Conde - Amazon Web Services
Page 11: 4. Carlos Conde - Amazon Web Services
Page 12: 4. Carlos Conde - Amazon Web Services

MOBILE APPS NEED SCALABLE BACK-ENDS

Page 13: 4. Carlos Conde - Amazon Web Services

MOBILE APPS NEED SCALABLE,

HIGHLY AVAILABLE BACK-ENDS

Page 14: 4. Carlos Conde - Amazon Web Services

MOBILE APPS NEED SCALABLE,

HIGHLY AVAILABLE,AND DURABLE

BACK-ENDS

Page 15: 4. Carlos Conde - Amazon Web Services
Page 16: 4. Carlos Conde - Amazon Web Services
Page 17: 4. Carlos Conde - Amazon Web Services
Page 18: 4. Carlos Conde - Amazon Web Services
Page 19: 4. Carlos Conde - Amazon Web Services
Page 20: 4. Carlos Conde - Amazon Web Services
Page 21: 4. Carlos Conde - Amazon Web Services
Page 22: 4. Carlos Conde - Amazon Web Services
Page 23: 4. Carlos Conde - Amazon Web Services
Page 24: 4. Carlos Conde - Amazon Web Services
Page 25: 4. Carlos Conde - Amazon Web Services
Page 26: 4. Carlos Conde - Amazon Web Services

AMAZON S3 SIMPLE STORAGE SERVICE

Page 27: 4. Carlos Conde - Amazon Web Services
Page 28: 4. Carlos Conde - Amazon Web Services

SPOTIFY ADDS 20,000 TRACKS/DAY TO ITS CATALOGUE

Page 29: 4. Carlos Conde - Amazon Web Services

ON-DEMAND+

PAY AS YOU GO

Page 30: 4. Carlos Conde - Amazon Web Services
Page 31: 4. Carlos Conde - Amazon Web Services
Page 32: 4. Carlos Conde - Amazon Web Services
Page 33: 4. Carlos Conde - Amazon Web Services

SECOND GENERATIONSOA / Microservices architectures

Page 34: 4. Carlos Conde - Amazon Web Services

AWS MOBILE SDKAndroid

iOSUnity

Page 35: 4. Carlos Conde - Amazon Web Services

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

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

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

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
Page 40: 4. Carlos Conde - Amazon Web Services

AMAZON DYNAMODB

HIGH-PERFORMANCE, FULLY MANAGED NoSQL DATABASE SERVICE

Page 41: 4. Carlos Conde - Amazon Web Services

LOW LATENCYAVERAGE READS < 5MS,

WRITES < 10MS

Page 42: 4. Carlos Conde - Amazon Web Services

NO ADMINISTRATION

Page 43: 4. Carlos Conde - Amazon Web Services

SHAZAM SUPPORTED 500,000 WRITES/SEC

DURING SUPER BOWL

Page 44: 4. Carlos Conde - Amazon Web Services

"SERVERLESS"BACKENDS

Page 45: 4. Carlos Conde - Amazon Web Services

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 46: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlco

CASE STUDY

Page 47: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlcoWWW.123DAPP.COM

Page 48: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlco

Page 49: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlco

Page 50: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlco

Page 51: 4. Carlos Conde - Amazon Web Services

[email protected]

@caarlco

Page 52: 4. Carlos Conde - Amazon Web Services

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

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
Page 55: 4. Carlos Conde - Amazon Web Services
Page 56: 4. Carlos Conde - Amazon Web Services

BEYOND ARCHITECTURE

Page 57: 4. Carlos Conde - Amazon Web Services

« Want to increase innovation? Lower the cost of failure »

– Joi Ito

Page 58: 4. Carlos Conde - Amazon Web Services

+ ELASTIC CAPACITY + NO CAPEX + PAY AS YOU GO+ AVAILABLE ON-DEMAND

= NO RISKS

Page 59: 4. Carlos Conde - Amazon Web Services

« 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

2 PIZZA TEAMS

Page 61: 4. Carlos Conde - Amazon Web Services

INSTAGRAM “2 backend engineers can scale a system to 30+ million users”

Page 62: 4. Carlos Conde - Amazon Web Services
Page 63: 4. Carlos Conde - Amazon Web Services

FOCUS ON YOUR APP

Page 64: 4. Carlos Conde - Amazon Web Services

@caarlco