2. Leading Mobile Apps Run on AWS
Amazon Cognito
AWS Device Farm
AWS Lambda
Amazon API Gateway
Amazon SES
Amazon SNS
3. AWS Services for Mobile App Development
Cognito
Identity
Device FarmAWS Lambda
API Gateway Simple Email
Service
Mobile Hub
Android SDK
iOS SDK
JavaScript SDK
DynamoDB
Amazon RDS
S3
CloudFront
Amazon EMR
Kinesis
Redshift
Pinpoint
Analytics
Mobile App
Development
Serverless
Backend
User & Identity
Management
Testing and
Dev tools
Data Storage and
Content
Mobile
Analytics
Email +
Push
Analytics and
Big Data
CodeCommit
CodeDeploy
CodePipeline
Cognito
Sync
Pinpoint
Messaging
Cognito
User Pools
6. AWS Mobile Hub and SDKs make it easy to plug
the services into your app with minimal effort
Authenticate users
Analyze user behavior
Store and share media
Synchronize data
Deliver media
Amazon Cognito Sync
Amazon Cognito
Identity
Amazon Cognito User Pools
Amazon S3
Amazon CloudFront
Store data
Amazon DynamoDB
Amazon RDS
Send targeted messages
Run server-side logic
AWS Lambda
Amazon API Gateway
Amazon Lex
Converse using voice/chat botsAmazon Pinpoint
Analytics
AWS Mobile SDKs
AWS Mobile Hub
Amazon Pinpoint
Messaging
Amazon SNS
Test on real devices
AWS Device Farm
8. AWS Mobile Hub
Working Mobile App project includes:
ü Xcode or Android Studio Project
ü Uses your AWS Resources
ü Example Application Code
ü Helper “Glue” Code
ü Software Development Kits
ü Detailed Integration Instructions
9. Simple mobile backend
Use Mobile Hub to quickly store and retrieve app data in Amazon DynamoDB.
Example: Build a backend to update game scores
10. Serverless Backend for Mobile Apps
Use Mobile Hub to quickly configure serverless backends using AWS Lambda and
Amazon API Gateway
Example: Build a social messaging app
Pinpoint
Engage app users
11. Secure Enterprise App
Use Mobile Hub to develop employee- and customer-facing mobile apps
Example: Build an inventory management application
13. Mobile Hub – What’s New
• Conversational bots GA
• Mobile web skeleton app
• aws-config.js <= Endpoints for the Mobile Hub backend
• index.html <= Cognito guest access
• AWS JavaScript SDK
• Import / export of projects
• Componetization of auth UX in quickstart app
18. Groups
Cognito User Pools
Managing Users and Access with Groups and
Roles
Group A
IAM Role A
Group B
IAM Role B
…
Authenticated
User Identity
Get
Credentials
Multiple Roles for Authenticated Identities
Cognito Federated Identities
IAM Role and Policy
IAM Role and Policy
IAM Role and Policy
Backend
Resources
MaptodifferentIAMroles
API Gateway
DynamoDB
S3
ControlAccess
25. How we leverage on AWS
• Security and reliability of each component
• Load balancers with autoscaling of EC2 instances
(removes the computation bottleneck)
• Managed MySQL server with RDS Aurora
(reduces the database bottleneck)
• Scalable S3 storage service
(removes the storage bottleneck)
26. Auto Scaling is awesome
1.5 average running instances (between 1 and 8 based on workloads) with autoscaling
versus 3 fixed instances = 50% Cost reduction + Better performances
27. 2016 Balance
• MySQL (and then Aurora) never had any issue (0% downtime)
• Storage S3 never had any issue (0% downtime)
• When a single instance had an issue, nothing bad happened
• When a whole group of instances had an issue (very unlikely), the
downtime didn’t propagate (~0.01% downtime happened when we
had a single instance as minimum size for the auto scaling group)
28. What’s next with AWS
• Serverless architectures (AWS Lambda)
• Amazon Machine Learning
• Amazon Lex for Bots development
• Amazon QuickSight