Multi-Tenancy Architecture
Published in
4 min readJan 19, 2022
With MicroServices Environment
Summary
- Multi-Tenancy Architecture Introduction
- SaaS — Software as a Service
- AWS Multi-Tenant Strategy
- Key Differences
- Multi-Tenancy Cases
- References
1. Multi-Tenancy Architecture Introduction
Let’s start with the definition of tenancy and the differences:
- Single-tenancy is an architecture in which a single instance of a software application and supporting infrastructure serves one customer (i.e., tenant).
- Multi-tenancy is an architecture in which a single instance of a software application serves multiple customers (tenants).
- Hybrid-tenancy is where microservice architectures leverage services that are both single- and multi-tenant to optimize the balance of performance, scale, and security.
Multi-Tenancy vs Single Tenancy Architecture
2. SaaS — Software as a Service
Maturity Models
- Fledgling
- Adopting
- Integrating
- Optimizing
SaaS with Mul-Tenancy vs Single-Tenancy
KPIs SaaS
- Cost
- Set-Up
- Configuration
- Scalability
- Efficiency
- Security
- Insights
- Updates
- Upgrades
- Resilience
Benefits Architecture Multi-Tenant
Multi-Tenant Challenges
- Domain & Business Knowledge
- SubDomains
- Database Shared
- Storage
- Automation
- Resiliency
- Disaster Recovery
- Data Isolation
- Security
- Simulation & Testing
- Privacy
3. AWS Multi-Tenant Strategy
Deploying the Baseline Environment
Notion of Serverless Microservices
Tenant Registration and Onboarding
Tenant Deployment Pipeline
Final View of the Architecture
API Authorization and Tenant Isolation
Applying Tenant Isolation
4. Key Differences
5. Multi-Tenancy Cases
References
- https://archeyes.com/20-best-architecture-gifs/
- https://medium.com/@edytarcio/arquitetura-multi-tenancy-bb7b47d7ba
- https://www.cloudflare.com/learning/cloud/what-is-multitenancy/
- https://docs.microsoft.com/en-us/azure/azure-sql/database/saas-tenancy-app-design-patterns
- https://digitalguardian.com/blog/saas-single-tenant-vs-multi-tenant-whats-difference
- https://beyondplm.com/2012/10/09/what-oracle-multi-tenancy-means-for-plm-providers/
- https://aws.amazon.com/pt/blogs/apn/building-a-multi-tenant-saas-solution-using-aws-serverless-services/
- https://www.oodlestechnologies.com/blogs/choose-multitenant-architecture-for-saas-application-development/
- https://www.netsolutions.com/insights/multi-tenancy-testing-top-challenges-and-solutions/