Mobile app development is complex and time-consuming. Learn how to accelerate the mobile apps development journey with AWS Mobile Hub & Device Farm. We will demonstrate how AWS Mobile Hub abstracts the undifferentiated heavy lifting by providing a single, integrated experience for discovering, provisioning and configuring AWS cloud resources you need to build, test, and monitor usage of your mobile apps.
10. Amazon Cognito
Authenticate & Sync
Amazon Mobile Analytics
Analyze user behavior
AWS Lambda
Run business logic
Amazon S3
Amazon DynamoDB
Store content
Store data
Amazon SNS mobile push
notifications
Send push notifications
Build and scale your Apps on AWS
Mobile SDK
Amazon API Gateway
Amazon Cloudfront
Deliver Media
AWS Device Farm
Test your app
AWS Mobile Hub
11. • Authenticates your users
• Facebook, Google,
Amazon,Twitter, OpenID
• Anonymous
• Manages the users and
synchronize data across
multiple devices
• Allows secure communication
with other AWS services
Amazon Cognito
Amazon
Cognito
12. AWS Lambda
• Run your code in the cloud, fully
managed and highly-available
• Triggered through API calls or
state changes in your setup (S3,
DynamoDB, SNS, Kinesis)
• Scales automatically to match
the incoming event rate
• Charged per 100ms execution
time
Amazon
Kinesis
Amazon Lambda
Amazon
S3
Amazon
DynamoDB
Amazon API
Gateway
Amazon
SNS
13. How to build an even better backend?
Back-end logic DatabaseMobile
14. Microservices with API Gateway and Lambda
Amazon
Lambda
Amazon API
Gateway
Amazon
DynamoDB
Microservice
15. Amazon API Gateway
• Fully managed and scalable RESTful
API gateway service
• Powered through our content
delivery network via our 53 global
edge locations
• Provides DDoS protection and
throttling capabilities
• Multiple API stages which you define
(e.g. dev, test, prod)
AWS Lambda
Amazon API
Gateway
Amazon
EC2
AWS API
On-prem
server
16. Amazon S3 & Amazon CloudFront
• Amazon S3
• Highly available object storage
• Designed for 99.999999999% durability
• Offers HTTP / HTTPS endpoint to objects
• Amazon CloudFront
• Content Delivery Network with 54 edge
locations across the world
• Caches content on edge locations for low
latency
Amazon S3
Amazon
CloudFront
17. Amazon SNS Mobile Push Notifications
• Amazon SNS is a fully
managed, cross-platform
mobile push intermediary
service
• Fully scalable to millions
of devices
• Allows to create topics
(e.g. per geo, interest,
usage pattern etc.)
Amazon SNS
Apple APNS
Google GCM
Amazon ADM
Windows WNS and
MPNS
Baidu CP
Android Phones and Tablets
Apple iPhones and iPads
Kindle Fire Devices
Android Phones and Tablets in China
iOS
Windows Phone Devices
Amazon
SNS
18. Amazon DynamoDB
• Schemaless Data Model
• Seamless scalability
• No storage or throughput limits
• Consistent low latency performance
• High durability and availability
• Replicated across 3 facilities
DynamoDB
table
items
a*ributes
Fully Managed NoSQL Database Service
21. AWS Mobile Hub
• Allows to build mobile apps within
minutes
• Single integrated console to use all
AWS services for mobile
• Automatically provisions all necessary
AWS services based on selected features
• Automatic code generation for iOS
(Objective-C / Swift) and Android
• Uses security best practices with
AWS IAM
28. AWS Device Farm
• Test your app on real devices in the
AWS cloud
• Fully managed and scalable test
platform
• Many different smartphone and tablet
models available
• Full built-in test suite
• Integration with custom frameworks
(e.g. Appium, Calabash etc.)
AWS Device
Farm
29.
30. Instrumentation
UI Automation
UI Automator
Your app
Improve the quality of your apps by testing against real devices in the AWS cloud
Automated testing on AWS Device Farm
(native, hybrid, web)
XCTest
XCTest UI
31. Select a device View historical sessionsInteract with the device
Introducing Device Farm: Remote access (beta)
34. Amazon Mobile Analytics
• Allows to collect, visualize and
understand your mobile app
usage
• Scales seamlessly to billions of
events per day
• You retain full control and
ownership of the data
Amazon Mobile
Analytics
36. Get insights into app
specific actions that
your users take
Examples
Track the number of
Likes/Shares in a
news app
Player abort rates
per level in a game
Number of songs
playedin a music app
In-app purchase item
popularity
Custom Events
37. Final thoughts
• Leverage Mobile SDKs to directly talk to
AWS, effectively removing servers
• Reduce efforts to maintain and scale your
platform by using managed services
• Use event-driven logic wherever possible to
react upon events and avoid pulling
• AWS Global Regions for global apps
• Test, test, test! – with Device Farm
• Analyze and understand your users