Multi-Tenancy Architecture

Andre Vianna
My Dev Zone
Published in
4 min readJan 19, 2022

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

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

--

--

Andre Vianna
My Dev Zone

Software Engineer & Data Scientist #ESG #Vision2030 #Blockchain #DataScience #iot #bigdata #analytics #machinelearning #deeplearning #dataviz