This document provides an overview and agenda for a workshop on building mobile apps with AWS Mobile Hub. The workshop will introduce AWS Mobile Hub and guide participants through configuring a project, building a sample app, and working with AWS resources like Amazon Cognito, S3, DynamoDB, and Lambda. AWS Mobile Hub automatically provisions mobile services and generates code to help developers integrate authentication, data storage, analytics and other functionality without having to configure individual AWS services. The document also covers setting up Facebook login for the sample app and includes instructions for getting started with AWS Mobile SDKs on platforms like iOS, Android, Unity and Xamarin.
2. Overview of Mobile on AWS
Introduction to AWS Mobile Hub
Hands on Workshop
Configure a Project
Build/Demo Sample App
Work with AWS Resources
Agenda
5. “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
8. Authenticate users
Authorize access
Analyze User Behavior
Store and share media
Synchronize data
AWS Mobile SDK
Amazon Mobile
Analytics
Deliver media
Amazon Cognito
(Sync)
AWS Identity and
Access Management
Amazon Cognito
(Identity)
Amazon S3
Transfer Manager
Amazon CloudFront
(Device Detection)
Store shared data
Amazon DynamoDB
(Object Mapper)
Stream real-time data
Amazon Kinesis
(Recorder)
Track Retention
Amazon Mobile
Analytics
Send push notifications
Amazon SNS
Mobile Push
Your
Mobile
App
11. Other IAM Roles
Mobile App Users
projectname_unauth_MOBILEHUB_12345
projectname_auth_MOBILEHUB_12345
AWS Lambda Execution
projectname_lambdaexecutionrole_MOBILEHUB_12345
Mobile Push from SNS Console
projectname_consolepush_MOBILEHUB_12345
12. 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
Overview: Talk about the AWS Mobile Customers, AWS Mobile Service offerings, SDKs and connectors, and a couple Use Cases. 3 minutes
Introduction to Mobile Hub: How Mobile Hub makes it easier to get started building a backend and connecting a mobile application to your AWS resources. 10 minutes
Build/Demo: Launch the Mobile Hub console, create a project, enable a few services, build, and launch on an Android device or emulator. 10 minutes
Overview of SDKs: Talk again about the commonly used AWS Services for mobile applications. Describe the mobile SDKs and the advantage of connectors such as TransferUtility. Explain that all our mobile SDKs are open source and available through Github. 7 minutes
Tinder: AWS supports 1.7 Billion users 'swiping right' every day!
AWS Mobile Hub lets you easily add and configure features for your mobile apps, including user authentication, data storage, backend logic, push notifications, content delivery, and analytics.
Use Cases
Advance Development
Cognito Identity – Social – CognitoIdentityProvider
Cognito Sync – Data Synchronization- Sync Manager
Store Data – S3/DynamoDB – Transfer utility & DynamoDB Object Mapper
Analyze User Behavior/Track Retention – Mobile Analytics – Mobile Analytics Manager
Send Push Notification – SNS
Stream Media e.g Photo/Video - Cloudfront
Capture Device Logs – Kinesis – Kinesis Recorder.
Mobile Hub builds a fully functional iOS Swift, iOS Objective-C, or Android Java sample application that connects directly to your AWS resources configured in the Mobile Hub project.
5 platforms.
4 of them are targeted towards Android i.e Android SDK for native android development & Cross platform solutions Unity, Xamarin & React Native (developer preview)