raleigh devday 2017: aws mobile services

45

Upload: amazon-web-services

Post on 22-Jan-2018

139 views

Category:

Technology


3 download

TRANSCRIPT

WIFI: awsDevDay | PASS: CodeHappy

U P N E X T :

AWS Mobile Services

T H A N K S T O O U R F R I E N D S A T :

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Xiang ShenSr. Solutions Architect

August 1, 2017

Building Secure and Scalable Mobile Apps on AWS

State of Mobile

Identity and Engagement

Artificial Intelligence

Serverless backends

AWS Mobile Hub

Build and test your Mobile App on AWS

Agenda

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

65% of the population uses smartphones while standing in grocery shops or in the market

BUSINESS-TO-CUSTOMER

BUSINESS-TO-EMPLOYEE

60.9% of apps built by enterprises target employees

State of Mobile – empower everyone

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

User and data security

User engagement and analytics

Engagement and quality are essential

Intelligent multimodal user experiences

Frictionless scaling

User and data security

Auth is mission critical to your app

Building a custom identity solution is hard

Duplicated development effort for enabling sign-in on each client

Authentication and access control is hard

Federated identities

Your users can sign in through third-party identity providers, such as Facebook, Google, and SAML

providers, and you can control access to AWS resources from your app.

Your user pools

Easily and securely add sign-up and sign-in functionality to your mobile and web apps with a fully managed service that scales to support

100s of millions of users.

Amazon Cognito – Fully managed auth & access control

Amazon Cognito – How it works

User engagement and analytics

Keeping users engaged is challenging

Acquiring customers is expensive ~$10 per customer

Understanding user behavior is key to defining the right product experience and to improve monetization

Why user engagement is important

Amazon Pinpoint – Drive user engagement

• Collect usage data from your app

• Target users by creating segments

• Run A/B tests

• Schedule one-time or recurring campaigns

• Analyze results from your campaign

• Create funnels

• Easily integrate external data

AI and Bots

Intelligent multimodal user experiences

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

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

Frictionless scaling

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

How serverless happened

Web/API Server

Cloud identity Cloud logic Cloud storage and messaging

The anatomy of serverless

Amazon Cognito

AWS Device Farm

AWS Lambda

API Gateway

Simple Email Service

SNS

Leading Apps Run on AWS

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 retention

Amazon 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

UnitySwift Xamarin React Native(preview)

Objective-C Android Java

AWS Mobile SDKs

“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

Mobile Hub Auto-Provisions Mobile Services

AMAZONIDENTITY & ACCESS

MANAGEMENT

AMAZONS3

AMAZONCLOUDFRONT

AMAZONCOGNITO

AMAZONPINPOINT

AMAZONSNS

AWSDEVICE FARM

AMAZONDYNAMODB

AWS LAMBDA

Cloud Identity

AWS Mobile Hub follows best practices

AWS Mobile Hub features

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

34

CC BY 2.0: https://www.flickr.com/photos/adactio/14202296106

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

Select a device View historical sessionsInteract with the device

Remote Access

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)

XCTestXCTest 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

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)

The Mobile App virtuous cycle with AWS

AWS Mobile Hub

Demo

Thank You!

Get started at

aws.amazon.com/mobile

Don’t Forget Evaluations!