> For the complete documentation index, see [llms.txt](https://dhavaln.gitbook.io/serverless-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dhavaln.gitbook.io/serverless-docs/signup-signin/amazon-cognito.md).

# Amazon Cognito

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. It can scale to millions of users and supports sign-in with social identity providers, such as Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0.

In this case, I am using Cognito as it is very easy to start with and integrate, plus I am using a bunch of features that can integrate with Lambda where I can put my custom logic.&#x20;

For more details check out the [documentation](https://aws.amazon.com/cognito/).&#x20;

## Pricing

If you are using Amazon Cognito Identity to create a User Pool, you pay based on your monthly active users (MAUs) only. **A user is counted as a MAU if, within a calendar month, there is an identity operation related to that user, such as sign-up, sign-in, token refresh, or password change**. You are not charged for subsequent sessions or for inactive users within that calendar month.

| Pricing Tier (MAUs) | Price per MAU |
| ------------------- | ------------- |
| First 50,000        | Free          |
| Next 50,000         | $0.00550      |
| Next 900,000        | $0.00460      |
| Next 9,000,000      | $0.00325      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dhavaln.gitbook.io/serverless-docs/signup-signin/amazon-cognito.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
