Skip to content

Cognito Startup

-1

Hello to the Community !

We have been recommended Amazon Cognito Authentication Authorization for our startup project ...

If I provide a use case for this service would anyone in the Community be able to suggest how we could implement the service within the "always free" free tier on AWS ???

Thanks for your help !!!

yours

Douglas Westbury

1 Answer
0

Amazon Cognito offers a generous free tier that allows you to get started without incurring costs. The free tier includes up to 50,000 monthly active users for Cognito User Pools or 50 monthly federated users (for social logins like Azure AD, Google, Facebook, Apple, and Amazon).

To implement Cognito within the free tier for your startup, you have several options:

  1. Managed Login Approach: This is the lowest-effort integration with Cognito user pools. It provides ready-to-use web-based sign-in pages that handle authentication flows, including third-party sign-in and multi-factor authentication. Your application only needs to process the authentication outcome.

  2. AWS SDK Integration: You can use AWS SDKs to create a more customized authentication experience. This involves:

  • Creating a user pool in the Amazon Cognito console
  • Setting up an app client for your application
  • Implementing the authentication workflow in your application
  1. API Gateway Integration: If your startup involves APIs, you can use Cognito user pools as authorizers for your API Gateway endpoints. This requires:
  • Creating a user pool
  • Creating an API Gateway authorizer with the chosen user pool
  • Enabling the authorizer on selected API methods

The implementation typically involves:

  • Setting up your user pool in the Cognito console
  • Creating an app client within that user pool
  • Integrating authentication into your application using either the managed login pages or custom UI with SDK support
  • Using the tokens (identity or access tokens) returned by Cognito to authorize access to your application resources

Without knowing your specific use case, these general approaches should help you get started with Cognito while staying within the free tier limits.
Sources
Community | Amazon Cognito - Function over form
Integrating Amazon Cognito authentication and authorization with web and mobile apps - Amazon Cognito
Module 2 - Build the authentication workflow
Control access to REST APIs using Amazon Cognito user pools as an authorizer - Amazon API Gateway
Choose an Amazon Cognito authentication flow for enterprise applications - AWS Prescriptive Guidance

answered a year ago

EXPERT

reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.