Member-only story

Multi-Tenancy architecture using AWS Cognito : Part 1

Eric Anicet
3 min readNov 9, 2021

--

In this story, we will explore how to implement multi-tenancy architecture using Amazon Cognito.

Suppose you are building a Saas web application and would like to share it with all of your customers. Each customer should access only their own data layers.

AWS Cognito Multi-Tenancy Models

AWS Cognito propose different models for building multi-tenant applications.

1. User pool-based multi-tenancy

This design allows a user pool to be created for each tenant. This approach provides a high level of isolation for each tenant and allows different configurations to be implemented for each tenant. This isolation of tenants by User pool allows flexibility in user-tenant mapping.

User pool-based multi-tenancy

2. Application client-based multi-tenancy

--

--

No responses yet