AWS Cloud Kata for Start-Ups and Developers Hong Kong Everything You Need to Develop Apps Faster And Scale to Millions of Users KJ Wu, Solutions Architect
Apr 06, 2017
AWS Cloud Kata for Start-Ups and Developers
Hong
Kong
Everything You Need to Develop Apps Faster And Scale to Millions of Users
KJ Wu, Solutions Architect
AWS Cloud Kata for Start-Ups and Developers
Key Messages
Don’t Re-invent the Wheel
Take advantage of free and inexpensive solutions that meet
your needs with minimum investment
Your (and your company’s) time is your greatest asset.
Invest it developing a great experience for your Customers
AWS Cloud Kata for Start-Ups and Developers
Mobile Lifecycle
New
FeaturesApp Specification
Dev & Test
Analytics
Engagement
AWS Cloud Kata for Start-Ups and Developers
Authenticate users
Authorize access
Synchronize data
Manage users and identity providers
Securely access cloud resources
Sync user preferences across devices
Store and Deliver media
Send Push Notifications
Store user-generated photos Media and share them
Bring users back to your app by sending messages reliably
Store shared dataStore and query fast NoSQL data across users
and devices
Analyze User BehaviorTrack active users, engagement
AWS Cloud Kata for Start-Ups and Developers
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
Mobile back-end architecture on AWS
Mobile SDK
Amazon API Gateway
AWS Cloud Kata for Start-Ups and Developers
“AWS has what I need, but…I am new here”
1. Which services should I use? 2. How do I connect them?
Identity Provider SDKs+
<Example>
Login screen & integration code
+
SDK
AWS Cloud Kata for Start-Ups and Developers
Mobile Hub as a Starting Point
• Generates Working Code to Explore in your
Development Environment
• Introduction to SDK-based Development with AWS
• Demonstrates code for a variety of AWS Services in iOS,
Android, and JavaScript
AWS Cloud Kata for Start-Ups and Developers
Identity / Access Management
”Table Stakes” in Mobile Security are high
• Mobile Apps handle finances, payment, medical…
There are very few developers who can build low-level
security services good enough for public internet apps
Fortunately, there are very good existing solutions
AWS Cloud Kata for Start-Ups and Developers
Manage authenticated and
guest users’ access to
your AWS resources
Federated Identities
Synchronize user’s data
across devices and
platforms via the cloud
Data Synchronization
Add sign-up and sign-in
with a fully managed user
directory
Your User Pool*NEW
GuestYour own auth
Amazon Cognito Identity Amazon Cognito Sync
Amazon Cognito Identity and Sync
k/v data
AWS Cloud Kata for Start-Ups and Developers
Sign in with
Or
Username
Password
Sign In
Or
Start as a guest
Authenticate via 3rd
party Identity Providers
Amazon Cognito Identity and User Experience
Guest Access
Your User Pool in
Amazon Cognito
Amazon Cognito
Identity provides
temporary credentials
to securely access
Your resources
DynamoDB
S3
API Gateway
AWS Cloud Kata for Start-Ups and Developers
Amazon Cognito Now Supports A Fully Managed Identity Solution
Add sign-up and sign-in easily
to your mobile and web apps
Easy User Management
Verify phone numbers and
email addresses and offer
multi-factor authentication
Enhanced Security FeaturesManaged User Directory
Launch a simple, secure, low-cost,
and fully managed service to create
and maintain a user directory that
scales to 100s of millions of users
AWS Cloud Kata for Start-Ups and Developers
• Cross-Platform Development usually focuses on
Frameworks and Tools:
• PhoneGap/Cordova, Xamarin, React Native, Unity
• But what if we reduced API calling to syntax?
• Most mobile devices can issue an HTTP/S request
• JSON handling is equally ubiquitous
• Developers already know how to do this!
Quickly Developing for Multiple Platforms
AWS Cloud Kata for Start-Ups and Developers
API Gateway
API Gateway
AWS Lambda
CloudFront
Any other publicly
accessible endpoint
Amazon EC2
AWS Cloud Kata for Start-Ups and Developers
Key Messages• Don’t Re-invent the Wheel
• For simple interactions with AWS, use Mobile Hub to see how the SDKs work on Mobile Platforms.
• Use REST API driven logic with JSON payloads to level the playing field across platforms and devices. Use API Gateway + Lambda for Scalability
• For Security and other ”Table Stakes” Mobile Features, use User Pools and IAM Security.
• Take advantage of free and inexpensive solutions that meet your needs with minimum investment
• For QA, use Device Farm to get the benefit of automated testing across many devices inexpensively.
• Your (and your company’s) time is your greatest asset. Invest it developing a great experience for your Customers