TAMIL AWS COGNITO | What is AWS Cognito ? | Explain AWS Cognito ? | InterviewDOT
Channel: Interview DOT
Date: 2019-05-18

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications.

AWS COGNITO TAMIL

What is Amazon Cognito?
Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly with a username and password, or through a third party such as Facebook, Amazon or Google.

The two major components of Amazon Cognito are user pools and identity pools. User pools are user directories that provide registration and login options for your app users. Identity pools allow you to give your users access to other AWS services. You can use identity pools and user pools separately or together.

An Amazon Cognito user pool and an identities pool shared

For more information, see the chart for a typical Amazon Cognito scenario. This is about authenticating your user and then giving him access to another AWS service.

In the first step, your app user logs in via a user pool and, after successful authentication, gets user pool tokens.

Your app then swaps the user pool tokens against AWS credentials through an identity pool.

Finally, your app user can use these AWS credentials to access other AWS services, such as Amazon S3 or DynamoDB.

Amazon Cognito

Amazon Cognito is a product of Amazon Web Services (AWS) that enables developers to add registration and authentication capabilities to their mobile and stationary web applications. The service stores and synchronizes end-user data, helping accelerate application development. This allows the application developer to focus on writing code instead of building and managing the backend infrastructure required.

Amazon Cognito consolidates user data into so-called identity pools that can be used by client access platforms, devices, and operating systems. They ensure the correct translation of the application information.

The data can also be stored locally on a SQLite database in offline mode. The applications of the developer can thus be used on the devices even if they are offline. In addition, data can be synchronized across all users' devices to ensure a consistent app experience independent of the device being used. The data is synchronized with AWS when a device is online so that one end user can access the same information on a different device.

Amazon Cognito assigns identities to records and stores the encrypted information as key-value pairs in the Amazon Cognito Sync Store. Each user can store a maximum of 20 MB of data, with each individual record containing up to 1 MB.

Amazon Cognito can be configured to accept event streams while the data is being updated and synchronized. This allows software developers to query the data through other Amazon services, such as an Amazon Redshift database, Relational Database Service (RDS) instance, or Amazon Simple Storage Service (S3).

A mobile developer integrates the AWS Mobile Software Development Kit (SDK) with Amazon Cognito or direct server-side API access to store data through API calls.

For an end user, unique identifiers are created. they can be generated by public-identity providers, an OpenID Connect-compatible provider, or on a user-specific identity system. Unauthorized guests are supported and can be added to the system at a later time when the guest creates a profile.

Amazon Cognito also allows the developer to authenticate users through social identity providers such as Facebook, Twitter or Amazon. Developers can also use their own identity provider and provide temporary, secure credentials to access their apps' AWS resources .

Amazon Cognito accepts Amazon, Facebook, Twitter, Digits and Google as public identity providers. An end user is authenticated by a public identity provider who submits an OAuth or OpenID Connect token to Amazon Cognito. The user is then created a new Cognito ID that grants temporary limited access AWS credentials.

The synchronization charges are based on the amount of data stored in the Amazon Cognito Sync Store and the number of sync operations performed. A synchronization operation compares the local data store on a device to the Amazon Cognito Sync Store in the cloud and synchronizes the two datastores.

As part of AWS's free quota, eligible AWS customers receive 10GB Sync Store in the cloud and 1,000,000 sync operations per month during the first 12 months. After exceeding the free quota, Amazon Cognito costs $ 0.15 per 10 000 sync transactions and $ 0.15 per GB sync store per month.