Skip to main content

Command Palette

Search for a command to run...

Multi-Tenancy Architecture

Published
2 min read
Multi-Tenancy Architecture

With MicroServices Environment

Complex Software Architectures

Summary

  1. Multi-Tenancy Architecture Introduction
  2. SaaS — Software as a Service
  3. AWS Multi-Tenant Strategy
  4. Key Differences
  5. Multi-Tenancy Cases
  6. 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

Compare Multi x Single Tenancy

SaaS Multi-Tenancy x Single Tenancy

Cases Multi-Tenancy I

Cases Multi-Tenancy II

Single Tenancy

WHAT ORACLE MULTI-TENANCY MEANS FOR PLM PROVIDERS?

2. SaaS — Software as a Service

Maturity Models

  • Fledgling
  • Adopting
  • Integrating
  • Optimizing

SaaS & Multi-Tenancy Models

SaaS with Mul-Tenancy vs Single-Tenancy

KPIs SaaS

  • Cost
  • Set-Up
  • Configuration
  • Scalability
  • Efficiency
  • Security
  • Insights
  • Updates
  • Upgrades
  • Resilience

Benefits Architecture Multi-Tenant

Benefits

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

[Building a Multi-Tenant SaaS Solution Using AWS Serverless Services | Amazon Web Services
The move to a SaaS delivery model is accompanied by a desire to maximize cost and operational efficiency. This can be…aws.amazon.com](https://aws.amazon.com/pt/blogs/apn/building-a-multi-tenant-saas-solution-using-aws-serverless-services/ "https://aws.amazon.com/pt/blogs/apn/building-a-multi-tenant-saas-solution-using-aws-serverless-services/")

[GitHub - Cloud-Edge-Computing/aws-saas-factory-ref-solution-serverless-saas
UPDATE - 12/01/2021] We have now also created a workshop that you can use as a reference to understand this reference…github.com](https://github.com/Cloud-Edge-Computing/aws-saas-factory-ref-solution-serverless-saas "https://github.com/Cloud-Edge-Computing/aws-saas-factory-ref-solution-serverless-saas")

Deploying the Baseline Environment

Baseline deployment footprint.

Notion of Serverless Microservices

Serverless microservices

Tenant Registration and Onboarding

Tenant registration flow

Tenant Deployment Pipeline

Tenant CodePipeline

Final View of the Architecture

Final deployment footprint

API Authorization and Tenant Isolation

Authorization flow.

Applying Tenant Isolation

Tenant isolation — pooled model.

Tenant isolation — silo model

4. Key Differences

5. Multi-Tenancy Cases

References