Upload
amazon-web-services
View
58
Download
2
Embed Size (px)
Citation preview
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Andrew Chud, Senior Engineer, AWS Mobile Hub @AndrewChud
April 19, 2017
Deep Dive on Mobile Application Development with AWS
What to Expect from the Session
• AWS Mobile services overview
• Accelerating app development with AWS Mobile Hub
• What’s New: Amazon Cognito, Amazon Pinpoint & AWS Device Farm
• Building hybrid apps with Ionic and AWS Mobile Hub
Max Lynch – Co-founder and CEO @ Ionic
AWS Services for Mobile App Development
Cognito Identity
Device Farm AWS Lambda
API Gateway SES
Mobile Hub
Android SDK
iOS SDK
JavaScript SDK
DynamoDB
Amazon RDS
S3
CloudFront
Amazon EMR
Amazon Kinesis
Amazon Redshift
Pinpoint Analytics
Mobile App Development
Serverless Backend
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
Leading Mobile Apps Run on AWS
Amazon Cognito
AWS Device Farm
AWS Lambda
API Gateway
SES
SNS
Accelerating app development with AWS Mobile Hub
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 bots Amazon Pinpoint Analytics
AWS Mobile SDKs
AWS Mobile Hub
Amazon Pinpoint Messaging Amazon SNS
Test on real devices AWS Device Farm
Mobile Hub Auto-Provisions Mobile Services
AWS IDENTITY & ACCESS
MANAGEMENT
AMAZON S3
AMAZON CLOUDFRONT
AMAZON COGNITO
AMAZON PINPOINT
AMAZON SNS
AWS DEVICE FARM
AMAZON DYNAMODB
AWS LAMBDA
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
AWS Mobile SDKs
Unity Xamarin React Native (Beta)
iOS Android Windows JavaScript
Simple mobile backend
Use Mobile Hub to quickly store and retrieve app data in Amazon DynamoDB. Example: Build a backend to update game scores
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
Secure Enterprise App
Use Mobile Hub to develop employee– and customer-facing mobile apps Example: Build an inventory management application
Conversational bot interfaces
Amazon Pinpoint
Amazon DynamoDB
Mobile Hub – What’s New
• Conversational bots GA
• Mobile web skeleton app • aws-config.js <= Constants/endpoints for Mobile Hub backend • index.html <= Demonstrates Amazon Cognito guest access • AWS JavaScript SDK
• Import / export of projects
• Componentization of auth UX in quickstart app
Mobile Hub Demo
More What’s New
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
Map
to d
iffer
ent I
AM
role
s
API Gateway
DynamoDB
S3
Con
trol a
cces
s
Amazon Pinpoint – integrated messaging and analytics to drive effective user engagement
Segment and target
Message and engage
Measure improvement
Analyze user behavior
Increase engagement, monetization, and retention
Amazon Kinesis streams
Monetization dashboards
User-based segmentation and user attributes
AWS Device Farm – What’s New
• Limited time promotions • 1000 device minutes as part of your one-time free trial, four
times more than the usual 250 • 3 months for the price of 1 on your first device slot (unlimited
testing) purchase
• Simulate real-world network connections
• Run longer tests & control test duration
• Use Appium 1.6.3 test automation framework
Ionic Demo Max Lynch, CEO & Co-Founder at Ionic ([email protected])
Harnessing the Power of the Open Web
• Top 25 most popular JavaScript project on GitHub. • 100% open source, backed by passionate community. • Powerful native & progressive web apps with open web. • Making it easy (and fun) to build amazing mobile apps.
+
Thank You
Appendix
Mobile SDK – What’s New
• Updates to AI services (Lex GA, Polly, Rekognition)
• Support for new services: CloudWatch Logs, KMS
• Custom log adapters to route SDK logs to desired target
• iOS: Swift 3 code generation for API Gateway
• Android: Client-side encryption for S3