Cloud Architecture : Multi-tenant SaaS based architecture

Kamran Ghyan
1 min readJan 23, 2021

In the previous article, I have built multi-tier single tenant architecture. Now we will use the same architecture and built a multi tenant architecture and build a Software as a Service (SaaS).

You might be know that multi-tenant SaaS providers own everything from the hardware to the software, SaaS-based products offload an organization’s responsibilities to the maintenance and updates of the application, as this is taken care by the SaaS provider. Each customer (tenant) can customize their user interface using a configuration without any code changes.

Some of the most popular SaaS providers are Netflix, JIRA, and Amazon Web Services.

As shown in the following architecture diagram, there are two organizations
(tenants) using the same software and infrastructure. The SaaS vendor provides access to the application layer by allocating a unique tenant ID to
each organization. Each tenant can customize their user interface as per their
business needs using a simple configuration.

As shown in the above architecture design, the presentation layer
provides a user interface and the application layer holds the business logic.
At the data access layer, each tenant will have data level isolation with following strategy.

  1. Database Level Isolation
  2. Table Level Isolation
  3. Row Level Isolation

--

--

Kamran Ghyan

Software Engineer, System Architecture, Cloud Architecture, AI enthusiastic