Mobile app development can be complex and time-consuming. Learn how to rapidly deliver engaging, high quality mobile apps with AWS Mobile Hub. We will demonstrate how AWS Mobile Hub abstracts the undifferentiated heavy lifting of common mobile app development use cases 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. Quickly onboard users and manage identities, authorization, and access controls. Engage and increase user retention with push notification, messaging, analytics, and campaigns. Manage access to your APIs with a serverless back-end architecture. Test your app(s) on a broad array of real devices to ensure quality releases.
2. State of Mobile – there’s the good
51.3%
Global share of Internet traffic from mobile devices
50%
Percentage of time spent in mobile apps vs all
other digital media
3. State of Mobile – but also challenges
4 MM + Apps
Published to global app stores that you need to compete
with mindshare
18 Weeks
Average time to build a mobile app
25%
Apps abandoned after first use
6. User and data security
Multi form factor testing on real devices
Building Successful Apps – how to do it
User engagement and analytics
Rapid development and frictionless scaling
8. Identity is where many applications start
Authentication User ManagementAuthorization
Manage user lifecycles
Store and manage
user profile data
Monitor engagement
Protect data and
operations
Provide fine-grained
access control
Sign in users
Enable federation with
enterprise identities
Enable federation with
social identities
User Identity
9. New Features in Amazon Cognito User Pools
Built-in, Customizable
User Interface for Sign up
/ Sign in
OAuth 2.0 SupportFederation with Facebook,
Login with Amazon,
Google, and SAML
providers
1 2 3
10. Amazon Cognito for Authentication and Access
Get AWS
credentials
Cognito
Identity PoolDynamoDB S3
Access AWS Services
Federating
IdP
Cognito
User Pool• User Pools authenticate
users and returns standard
tokens
• User Pool tokens are used
to access backend
resources
• Identity Pools provide
AWS credentials to access
AWS services
Authenticate
3
CUP
Token1
IdP
Token
2
Redirect /
Post back
CUP
Token
5
6
Access Serverless BackendCUP
Token
API GW
4
Lambda
35. Sign In and Sign Out in Demo App
public void onButtonPress(boolean signIn) {
if (signIn) {
//Open a Chrome custom tab and sign in the user
this.auth.getSession();
} else {
//Sign out the user
this.auth.signOut();
}
}
37. Save development time; Host logic shared across apps
in the cloud
Focus on building features; minimize operations efforts
Deliver a reliable app experience with high availability
and low latency
Pay as you scale; Infrastructure costs proportional to your
growth
The benefits of a serverless approach
38. Cloud identity Cloud logic Cloud storage
and messaging
The anatomy of serverless
39. “AWS has what we need, but…it’s complex”
1. Which services should I use? 2. How do I connect them?
Identity provider SDKs
+
=
Example:
Login screen & integration code
+
SDK
40. Mobile App Development enabled by Mobile Hub
User AuthN and AuthZ
Analyze user behavior
Store and share media
Synchronize data
Deliver media
Amazon Cognito
(Sync)
Amazon Cognito
Amazon IAM
Amazon S3
Amazon CloudFront
Store data
Amazon DynamoDB
Amazon RDS
Track retention
Amazon Pinpoint
Send push, email and
SMS messages
Amazon Pinpoint
Run server-side logic
AWS Lambda
Amazon API Gateway
Amazon Lex
Accept conversational input
Amazon Pinpoint
AWS Mobile SDKs
AWS Mobile Hub
Your Mobile App
Test application
AWS Device Farm
44. Remote access
Gesture, swipe, and interact with
devices in real time, directly from
your web browser
AWS Device Farm – test on real devices
Automated testing
Test your app in parallel against a
large collection of physical devices
in the AWS Cloud
46. Instrumentation
UI Automation
UI Automator
Your App
Improve the quality of your apps by testing against real devices in the AWS Cloud
Automated Testing
(native, hybrid, web)
XCTest
XCTest UI
47. AWS Device Farm
• Android and iOS (Native, hybrid, web)
• Scale: Over 300 of unique devices, many instances
• Pay for what you use
• Integration: Jenkins, Android Studio, SDKs, CLI
• Reports: Results, screenshots, logs, performance, video
• Flexibility: Support for many popular frameworks
• Security: Full HW and SW isolation
48. Private devices
• Private, dedicated HW device instances (including
dedicated data center infrastructure)
• Support for specific devices not supported in our public
fleet today
• Device configuration customization including custom OS
versions and mods (e.g. rooted devices)
50. Keeping users engaged is challenging, ~75% do not
return to an app second time
Acquiring customers is expensive ~$10 per
customer
Understanding user behavior is key to defining the
right engagement experience and to improve
monetization
Why user engagement is important
51. Effective user messaging critical for engagement
Multiple messaging channels…
and Multiple messaging use cases,
across Multiple business use cases
Transactional / Direct Targeted
Marketing Operations Customer service
52. Amazon Pinpoint - integrated messaging & targeting
Understand Users
Measure user behavior
across applications and
platforms
Target Audience
Define segmentation criteria
based on user events and
custom attributes
Message & Engage
Targeted and Direct
Messages across Email,
SMS, and Mobile Push