In the past, content and preferences would be moved to the device. Now devices are just a window to content and services that live in the cloud. The cloud enables your content and preferences to follow you wherever you go. You have the ability to transition between your phone, tablet, and laptop and seamlessly pick up where you left off. With Amazon Cognito, you can synchronize user data across mobile OS/devices and bridge the web world with the mobile world. In this session, learn how you can implement sync in Android, iOS, and JavaScript so you can deliver a ''WOW'' customized user experience to your customers. We show you how to integrate with Amazon Cognito to sync with mobile devices and the web and delve into some of the nuances of syncing, such as conflict resolution and account merging.
5. Manage authenticated and guest users across identity providers
Guest
Identity Management
Synchronize user’s data across devices and platforms via the cloud
Data Synchronization
Securely access AWS services from mobile devices and platforms
Secure AWS Access
6. Manage authenticated and guest users across identity providers
Guest
Identity Management
Synchronize user’s data across devices and platforms via the cloud
Data Synchronization
Securely access AWS services from mobile devices and platforms
Secure AWS Access
MBL401
9. Concrete Software has been making hit mobile games like Jellyflop and PBA Bowling Challenge since 2003.
With Amazon Cognito, We can build games much faster and provide great user experience to our customers.
Keith A. Pichelman
CEO, Concrete Software
”
“
•Provide a seamless user experience across devices and platforms to our users.
•Store save games in the cloud and synchronize them across all of a user’s devices without creating or hosting a backend.
The Challenge
The solution
•Amazon Cognitohelps us securely access our AWS resources.
•CognitoSync gives us flexibility to save data in the cloud, and cache it on a user’s devices, without managing any backend infrastructure.
16. •Identity Pool: Pool of app users. Can be shared across apps.
•Identity: An individual user. Consistent across identity providers. Can be a guest user.
•Dataset: Per user grouping of data. The most granular level of sync. Up to 1 MB.
•Record: Key/Value pair.
AWS Account
Dataset
Identity
Identity
Identity
Dataset
Dataset
Identity
Pool
1:60
1:n
1:20
Dataset
Dataset
Record
1:1024
19. loadlast article list of subscriptionsnew subscription synchronizedopens an article synchronized
20.
21. End Users
App with AWS Mobile SDK
Access
to AWS Services
1. Login
2. Get Access Token
4. Cognito ID, Temp Credentials
3. Access Token, Pool ID, Role ARNs
Cognito ID
(Temp Credentials)
Cognito Identity/STS
1. Last open article
2. List of subscriptions
Cognito Sync
5. Sync Data
23. //Create credentials provider and set it as default for all AWS services
AWSCognitoCredentialsProvider
credentialsWithRegionType
accountIdidentityPoolId
unauthRoleArn
authRoleArn
AWSServiceConfigurationAWSServiceManager