Top Banner
AWS Pop-up Loft London Developing Mobile Services on AWS Danilo Poccia, Technical Evangelist @danilop danilop
20

Developing Mobile Services on AWS

Jan 19, 2017

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: Developing Mobile Services on AWS

AWS Pop-up Loft LondonDeveloping Mobile Services on AWS

Danilo Poccia, Technical Evangelist

@danilop danilop

Page 2: Developing Mobile Services on AWS

The best mobile apps are built on AWS

Page 3: Developing Mobile Services on AWS

“Mobile” growing in all directions

Published mobile apps

continue to grow…

…As “mobile” platforms

expand to new domains

TV

Watch

Car

*Source: Vision Mobile

0

200

400

600

800

1000

1200

1400

1600

2011 2012 2013 2014

Published Apps in App Stores ('000s)*

iOS App Store Google Play

Page 4: Developing Mobile Services on AWS

Apps are also getting more complex

…To cloud-connected apps From basic client apps…

Sign-in/Social

Push notifications

Usage analytics

Cloud storage

Crash analytics

Ads

Attribution

analytics Config management

Custom back ends

Page 5: Developing Mobile Services on AWS

“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 6: Developing Mobile Services on AWS

There has to be a better way…

Page 7: Developing Mobile Services on AWS

Introducing: The AWS Mobile Hub

1. Single integrated console

2. Pre-built features

3. Auto-provisioned services

4. Auto-generated app

Result: Build apps on AWS in minutes

Page 8: Developing Mobile Services on AWS

Introducing: The AWS Mobile Hub

Page 9: Developing Mobile Services on AWS

Create a project and add features

Page 10: Developing Mobile Services on AWS

Configure how your users sign in:

• No sign-in, optional, or mandatory

Configure sign-in providers:

• Facebook, Google (Twitter, Amazon to follow)

• Your own system

Adds a sign-in screen to your quickstart app

Powered by Amazon Cognito Identity

User sign-in

Page 11: Developing Mobile Services on AWS

Send push notifications to your apps

• iOS or Android

• 1:1 or topic/subscription based

Quickstart app demonstrates features

• Enable/disable notifications

• Auto-registers push tokens with SNS

• Lets you select topic subscriptions

Powered by Amazon SNS

Push notifications

Page 12: Developing Mobile Services on AWS

Store application assets in the cloud

• Example: Resource files or media assets

Use a CDN for faster delivery (optional)

Quickstart app includes on-device cache logic

• Set max cache size

• Pin specific files to the cache

Powered by Amazon S3 and CloudFront

App content delivery

Page 13: Developing Mobile Services on AWS

Store user files such as photos

• User-only access or all-user access

Store user profile data

• Key-value pairs

• Syncs across devices where user signed in

Quickstart app includes usage examples

• Contains file browser and color selector

Powered by Amazon S3 and Amazon Cognito Sync

User data storage

Page 14: Developing Mobile Services on AWS

Monitor app usage with analytics

• Session, monetization, and custom events

• Monitor active users, monetization, retention

Quickstart app includes all three event types

Access your dashboard from the Mobile Hub

App analytics

Powered by Amazon Mobile Analytics

Page 15: Developing Mobile Services on AWS

Run back-end code in the cloud

• Share functions across apps

• Update on the fly without app submissions

Call directly from your mobile app

• You define inputs/outputs

Write in Java, JavaScript, or Python

You write code, we manage infrastructure

Powered by AWS Lambda

Cloud logic

Page 16: Developing Mobile Services on AWS

Download your starter app & start coding…

Page 17: Developing Mobile Services on AWS

Testing apps with Amazon Device Farm

Page 18: Developing Mobile Services on AWS

Monitoring usage with Mobile Analytics

Page 19: Developing Mobile Services on AWS

<demo>

...

</demo>

Page 20: Developing Mobile Services on AWS

Danilo Poccia

@danilop danilop

Thank You