AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS...

25
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Andrew Chud Sr. Software Development Engineer AWS Mobile Developer Experience December 2, 2016 MBL403 AWS Mobile Hub Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub

Transcript of AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS...

Page 1: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

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

Andrew ChudSr. Software Development Engineer

AWS Mobile Developer Experience

December 2, 2016

MBL403

AWS Mobile HubDeep Dive: Building and Delivering Mobile

Apps for the Enterprise Using AWS Mobile Hub

Page 2: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

What to expect from the session

• Quick overview of AWS Mobile Hub

• Building enterprise mobile apps using AWS Mobile Hub

• Scenarios

• Key features

• Demos and code walkthrough

• Building an employee-facing app

• Building a consumer-facing app

Page 3: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Overview of AWS Mobile Hub

Page 4: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Amazon Cognito

AWS Device Farm

AWS Lambda

API Gateway

Simple Email Service

SNS

Leading mobile apps run on AWS

Page 5: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

“The combination of Cognito, DynamoDB, and

Lambda provides everything needed to build an

enterprise-ready mobile or web application with

secure content management from Box Platform.”

Jeetu Patel, CSO & SVP of Platform at Box

Page 6: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

AWS for mobile app development

User authN and authZ

Analyze user behavior

Store and share media

Synchronize data

Deliver media

Amazon Cognito

(Sync)

Amazon Cognito

IAM

(access control)

Amazon S3

Amazon CloudFront

Store data

Amazon DynamoDB

Amazon RDS

Track retentionAmazon Pinpoint

Send push notificationsAmazon SNS Mobile Push

Amazon Pinpoint

Run server-side logic

AWS Lambda

Amazon API Gateway

Amazon Lex

Accept conversational input

Amazon Pinpoint

AWS Mobile SDKs

AWS Mobile Hub

Your mobile app

Page 7: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Mobile Hub auto-provisions mobile services

AWS

IDENTITY AND ACCESS

MANAGEMENT

AMAZON

S3

AMAZON

CLOUDFRONT

AMAZON

COGNITO

AMAZON

PINPOINT

AMAZON

SNS

AWS

DEVICE FARM

AMAZON

DYNAMODB

AWS

LAMBDA

AMAZON

API GATEWAY

Page 8: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)
Page 9: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

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

Page 10: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

AWS Mobile SDKs

UnityXamarin React Native (Beta)

iOS Android Windows

Page 11: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Building enterprise mobile

apps using AWS Mobile Hub

Page 12: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Enterprise mobile apps – Overview

Empower mobile workforces and customers to easily

complete tasks via their mobile devices that span multiple

line of business applications

New supporting Mobile Hub features

Email/password sign-in

SAML-based sign-in

SaaS connectors

Custom connectorsConversational bots

Page 13: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Mobile workforce use case – Sales

Manage the customer pipeline with mobile apps integrating

customer data spanning multiple applications

Amazon API

Gateway

Mobile applications

offering 360° view of

customerSaaS connectors

<AWS Lambda>

Customer

data

spanning

CRM,

marketing,

and help

desk

applications

Page 14: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Mobile workforce use case – Field services

Automate previously manual interactions between in-office

customer service reps and on-the-road service technicians

ENTERPRISE IDENTITY

Amazon API

GatewayCustom

connector

<AWS Lambda>

On-premises

systems of

record

CORPORATE NETWORKVPC

In-office

customer

service rep

On-the-road

field service

rep

INTERNET VPN

ACCESS

CONTROL

(IAM)

Page 15: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Consumer user case – Use voice for booking

Amazon API

GatewayCustom

connector

<AWS Lambda>

On-premises

booking system

CORPORATE NETWORKVPC

INTERNET VPN

Amazon Lex

Page 16: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

New features in AWS Mobile

Hub for enterprise mobile apps

Page 17: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

New sign-in choices in AWS Mobile Hub

Federated user identities

Support for SAML (new) and social

identity providers (existing) for

access control.

Amazon Cognito user pools

Secure sign-up and sign-in that

scales to 100s of millions of users.

Fully managed.

GuestYour own

Auth

SAML

Powered by

Amazon Cognito

Page 18: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

User sign-in and sign-up in AWS Mobile Hub

Enable sign-in/sign-up and access control with a few clicks

Page 19: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

SaaS connectors – Overview

Amazon API

Gateway

Mobile applications

SaaS connectors

<Lambda Microservices>

Lambda-based connectors for SaaS applications

CRM

Marketing

Finance

Help desk

Page 20: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

SaaS connectors – Benefits

API Gateway-based call flow

• Auditing

• Metering

• Caching

• Throttling

• Testability

Normalized APIs and docs

• Swagger 2.0 API definition

• Generated documentation

• Consistent paging and filtering

• Consistent objects

Quickstart app

• E2E example, including auth

• No SaaS provider SDK required

• SDK updated without republishing app

Page 21: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Custom connectorsBuild your own connector to connect to AWS or corporate/on-premises resources

Amazon API

GatewayCustom

connector

<AWS Lambda>

On-premises

systems of

record

CORPORATE NETWORKVPC

INTERNET VPN

ACCESS

CONTROL

(IAM)

Page 22: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Let’s build an app

Page 23: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Thank you!

Page 24: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Remember to complete

your evaluations!

Page 25: AWS re:Invent 2016: Deep Dive: Building and Delivering Mobile Apps for the Enterprise Using AWS Mobile Hub (MBL403)

Related sessions

• MBL201 - Cloud-Enabled Mobile Apps Powered by AWS - State of

the Union

• MBL205 - Test and Debug Your Mobile Apps on Real Android and

iOS Devices in the Cloud with AWS Device Farm

• MBL305 - Developing Mobile Apps and Serverless Microservices for

Enterprises using AWS

• MBL307 - Enhance Your Mobile Apps with AI Using Amazon Lex

• MBL404 - Deep-Dive: Native, Hybrid and Web patterns with

Serverless and AWS Mobile Services