Top Banner
45

Raleigh DevDay 2017: AWS Mobile Services

Jan 22, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Raleigh DevDay 2017: AWS Mobile Services
Page 2: Raleigh DevDay 2017: AWS Mobile Services

WIFI: awsDevDay | PASS: CodeHappy

U P N E X T :

AWS Mobile Services

Page 3: Raleigh DevDay 2017: AWS Mobile Services

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

Page 4: Raleigh DevDay 2017: AWS Mobile Services

© 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

Page 5: Raleigh DevDay 2017: AWS Mobile Services

State of Mobile

Identity and Engagement

Artificial Intelligence

Serverless backends

AWS Mobile Hub

Build and test your Mobile App on AWS

Agenda

Page 6: Raleigh DevDay 2017: AWS Mobile Services

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

Page 7: Raleigh DevDay 2017: AWS Mobile Services

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

Page 8: Raleigh DevDay 2017: AWS Mobile Services

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

Page 9: Raleigh DevDay 2017: AWS Mobile Services

User and data security

User engagement and analytics

Engagement and quality are essential

Intelligent multimodal user experiences

Frictionless scaling

Page 10: Raleigh DevDay 2017: AWS Mobile Services

User and data security

Page 11: Raleigh DevDay 2017: AWS Mobile Services

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

Page 12: Raleigh DevDay 2017: AWS Mobile Services

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

Page 13: Raleigh DevDay 2017: AWS Mobile Services

Amazon Cognito – How it works

Page 14: Raleigh DevDay 2017: AWS Mobile Services

User engagement and analytics

Page 15: Raleigh DevDay 2017: AWS Mobile Services

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

Page 16: Raleigh DevDay 2017: AWS Mobile Services

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

Page 17: Raleigh DevDay 2017: AWS Mobile Services

AI and Bots

Intelligent multimodal user experiences

Page 18: Raleigh DevDay 2017: AWS Mobile Services

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

Page 19: Raleigh DevDay 2017: AWS Mobile Services

Simplify complex UX flows

Understand user intents better and personalize experiences

Automate complex business processes

How bots can make your apps more engaging

Page 20: Raleigh DevDay 2017: AWS Mobile Services

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

Page 21: Raleigh DevDay 2017: AWS Mobile Services

Frictionless scaling

Page 22: Raleigh DevDay 2017: AWS Mobile Services

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

Page 23: Raleigh DevDay 2017: AWS Mobile Services

How serverless happened

Page 24: Raleigh DevDay 2017: AWS Mobile Services

Web/API Server

Page 25: Raleigh DevDay 2017: AWS Mobile Services

Cloud identity Cloud logic Cloud storage and messaging

The anatomy of serverless

Page 26: Raleigh DevDay 2017: AWS Mobile Services

Amazon Cognito

AWS Device Farm

AWS Lambda

API Gateway

Simple Email Service

SNS

Leading Apps Run on AWS

Page 27: Raleigh DevDay 2017: AWS Mobile Services

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

Page 28: Raleigh DevDay 2017: AWS Mobile Services

UnitySwift Xamarin React Native(preview)

Objective-C Android Java

AWS Mobile SDKs

Page 29: Raleigh DevDay 2017: AWS Mobile Services

“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

Page 30: Raleigh DevDay 2017: AWS Mobile Services

Mobile Hub Auto-Provisions Mobile Services

AMAZONIDENTITY & ACCESS

MANAGEMENT

AMAZONS3

AMAZONCLOUDFRONT

AMAZONCOGNITO

AMAZONPINPOINT

AMAZONSNS

AWSDEVICE FARM

AMAZONDYNAMODB

AWS LAMBDA

Page 31: Raleigh DevDay 2017: AWS Mobile Services

Cloud Identity

AWS Mobile Hub follows best practices

Page 32: Raleigh DevDay 2017: AWS Mobile Services

AWS Mobile Hub features

Page 33: Raleigh DevDay 2017: AWS Mobile Services

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

Page 34: Raleigh DevDay 2017: AWS Mobile Services

34

Page 35: Raleigh DevDay 2017: AWS Mobile Services
Page 36: Raleigh DevDay 2017: AWS Mobile Services

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

Page 37: Raleigh DevDay 2017: AWS Mobile Services

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

Page 38: Raleigh DevDay 2017: AWS Mobile Services

Select a device View historical sessionsInteract with the device

Remote Access

Page 39: Raleigh DevDay 2017: AWS Mobile Services

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

Page 40: Raleigh DevDay 2017: AWS Mobile Services

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

Page 41: Raleigh DevDay 2017: AWS Mobile Services

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)

Page 42: Raleigh DevDay 2017: AWS Mobile Services

The Mobile App virtuous cycle with AWS

Page 43: Raleigh DevDay 2017: AWS Mobile Services

AWS Mobile Hub

Demo

Page 44: Raleigh DevDay 2017: AWS Mobile Services

Thank You!

Get started at

aws.amazon.com/mobile

Page 45: Raleigh DevDay 2017: AWS Mobile Services

Don’t Forget Evaluations!