building secure and scalable mobile apps on aws of mobile –but also challenges 4 mm + apps...
TRANSCRIPT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dennis HillsMobile Developer Advocate, Amazon Web Services
April 20, 2017
Building Secure and Scalable Mobile Apps on AWS
v State of Mobile Appsv Serverless/Microservices (functions)v Overview of AWS Mobile Servicesv Artificial Intelligencev Build and test your Mobile App on AWSv Questions?
Agenda
State of Mobile – but also challenges
4 MM + AppsPublished to global app stores that you need to compete with mindshare
18 WeeksAverage time to build a mobile app
25%Apps abandoned after first use
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
Cloud identity Cloud logic Cloud storage and messaging
THE ANATOMY OF “SERVERLESS”The anatomy of serverless
“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
UserIdentity
PushNotifications
ContentData, Media, Files
Analytics
Mobile Backend
ApplicationLogic On-Device
Testing
AWS for Mobile App Development
User AuthN and AuthZ
Analyze user behavior
Store and share media
Synchronize data
Deliver media
Amazon Cognito (Sync)
Amazon CognitoAmazon IAM
(access control)
Amazon S3
Amazon CloudFront
Store dataAmazon DynamoDBAmazon RDS
Track retentionAmazon Pinpoint
Send push notifications
Amazon SNS Mobile Push
Run server-side logicAWS LambdaAmazon API Gateway
Amazon Lex
Accept conversational input
Amazon Pinpoint
AWS Mobile SDKs
AWS Mobile Hub
Your Mobile App
Mobile Hub Auto-Provisions Mobile Services
AMAZONIDENTITY & ACCESS
MANAGEMENT
AMAZONS3
AMAZONCLOUDFRONT
AMAZONCOGNITO
AMAZONPINPOINT
AMAZONSNS
AWSDEVICE FARM
AMAZONDYNAMODB
AWS LAMBDA
Working Mobile App project includes:ü Xcode or Android Studio Projectü Uses your AWS Resourcesü Example Application Codeü Helper “Glue” Codeü Software Development Kitsü Developer Integration InstructionsSwift
Obj-C
Java
AWS Mobile Hub Quickstart App
Introducing AWS Artificial Intelligence Services
Amazon Lex
Amazon Rekognition
Amazon Polly
Amazon Machine Learning
Build conversational interfaces using voice and text, powered by the same deep learning technologies as Alexa
A scalable machine learning service for developers
Turn text into lifelike speech using deep learning
Deep learning-based image recognition
Sources: The Economist, KPCB Internet Trends 2016, Accenture – Why AI is the future
33% of all customer support interactions still need human interaction
2.5 billion messaging app users
Over a thousand Alexa skills developed
The exploding market for voice and chat bots
Simplify complex UX flows
Understand user intents better and personalize experiences
Automate complex business processes
How bots can make your apps more engaging
Automated testing Remote access
Gesture, swipe, and interact with devices in real time, directly from
your web browser
Test your app in parallel against a large collection of physical devices
in the AWS Cloud
AWS Device Farm – test on real devices
InstrumentationUI AutomationUI 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
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
Pricing
$0.17 / device minute(First 250 minutes free)
or
$250 / device slot / month(Differentiated on Android and iOS)