...

/

Adding Authentication with AWS Cognito

Adding Authentication with AWS Cognito

Learn how to configure AWS Cognito using AWS Amplify CLI.

Introduction to AWS Cognito

One advantage of AWS Cloud, like other cloud services, is that we’re in charge of the billing. It’s important to understand the pricing of each AWS product we want to use since the products we use determine our bill. As such, we should be diligent about managing our AWS account to ensure that our bill remains within budget. Most AWS products have free monthly tiers, which means we can enjoy low billing each month.

The Cognito, Your User Pool feature has a free tier of 50,000 MAUs for users who sign in directly to Cognito User Pools and 50 MAUs for users federated through SAML 2.0-based identity providers. 50,001-100,000 (after the 50,000 free tier) $0.0055

By the time you exhaust 100,000 users in your application, you’ve built a successful application, and bills will be easy to settle.

Getting started

Once you run the command below, you will be prompted to select the configuration you want in your application. Only select manual if you know what you are doing. Otherwise, select the default configuration.

After clicking the “Run” button, we will follow these steps to reach the desired output:

Step 1: Select the AWS access keys

Once the terminal is loaded, the below option will appear. Select AWS access keys:

 ...