Amazon Cognito is a service that allows us to implement customer identity and access management (CIAM) into our mobile and web applications. It provides support with creating users in a user pool or using a third-party identity provider like Google or Apple. Cognito also provides temporary credentials to users to give them access to other AWS services with limited rights.
In this Cloud Lab, you’ll create a user pool in Amazon Cognito. You’ll configure this pool to allow users to sign in using the Cognito user pool or through their Google accounts. You’ll also create an identity pool that will allow users to fetch items in a DynamoDB table. After this, you will create an EC2 instance and then create a React application using that instance. Finally, you will integrate this app with your user pool to allow users to sign in using Amazon Cognito and access a DynamoDB table.
After completing this Cloud Lab, you’ll be able to create and manage users through Amazon Cognito user pools and create temporary credentials to allow users to access AWS services. You’ll also be able to integrate Cognito user pools in a React application.
Following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab: