Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An organization can use software as a service (SaaS) to efficiently deliver software to its customers. Typically, a SaaS vendor operates and manages the software for their customers. Many independent software vendors (ISVs) are moving away from providing software that customers must install and manage by themselves to using a SaaS model because it improves customer experience and reduces overhead. This article is an introduction to a series of articles that provide guidance and resources for organizations, including startups, that build SaaS solutions. The linked series provides extensive guidance about how to architect multitenant solutions on Azure.
Key concepts
The key concepts in this article are SaaS, startups, and multitenancy. These terms are related, so they're often mistakenly used interchangeably. It's important to understand how these terms are different. SaaS and startups are business concepts, and multitenancy is an architecture concept.
SaaS is a business model. An organization can choose to provide its software product as a service to its customers. SaaS products are sold either to businesses in a business-to-business (B2B) model or directly to consumers in a business-to-consumer (B2C) model. SaaS products are different from products that customers install and manage by themselves because the solution vendor hosts and maintains SaaS products. Many SaaS solutions use a multitenant architecture. SaaS solutions might also use different multitenancy models or approaches.
Startups are businesses in an early stage of their life cycle. Many software startups build SaaS solutions, but some might provide software in other ways. Startups often have specific concerns, including rapid innovation, finding a product and market fit, and anticipating scale and growth.
Multitenancy is a way of architecting a solution to share components between multiple tenants, which usually correspond to customers. You usually use multitenant architectures in SaaS solutions. However, it is also possible to use multitenant architectures outside of SaaS, such as in organizations that build a platform for multiple business units to share. Multitenancy doesn't imply that every component in a solution is shared. Instead, it implies that at least some components are shared across multiple tenants. When you share components, you still need to isolate tenants to prevent unauthorized access to another tenant's data and resources.
How you define a tenant and choose a tenancy model depends on whether your business model is B2C SaaS or B2B SaaS or you're a large organization.
Note
This series uses the term tenant to refer to your tenants, which might be your customers or groups of users. The guidance can help you build your own multitenant software solutions on top of the Azure platform.
In Microsoft Entra ID, a tenant refers to individual directories, and multitenancy refers to interactions between multiple Microsoft Entra tenants. The terms are the same, but the concepts aren't. For clarity, this series uses the full term, Microsoft Entra tenant, when referring to the Microsoft Entra ID concept of a tenant.
Multitenant architecture for SaaS and non-SaaS business models
Although multitenancy is typically associated with SaaS solutions, it is also possible to use multitenant architectures in non-SaaS scenarios. The underlying multitenant architecture might be similar, but the business model affects how you define a tenant and your design choices.
In the following diagram, you can see an example multitenant architecture that's designed to serve a SaaS business model for both consumers (B2C) and business customers (B2B). In this example, B2C tenants represent user groups, such as families, with one or more users in each group. B2B tenants represent businesses, with their employees as users.
The following diagram illustrates how you can use a multitenant architecture in a business model that isn't a SaaS. For example, suppose you're designing a system for a large organization that has multiple business units and departments that wish to share a centralized application or platform. Each business unit is represented as a tenant, and has its own set of users.
The key difference between the two diagrams is the business model, which affects how you define a tenant in the context of your organization. Your business model also affects your design choices for the underlying multitenant architecture, but the principles of multitenancy always remain the same.
Related resources
- Understand how startups architect their solutions. Use this guidance to choose architectural approaches that match your startup's stage of growth.
- Learn about multitenant architectural approaches. Use this guidance to design and implement multitenant solutions on Azure.
- Use the Azure Well-Architected Framework guidance for SaaS workloads to design and operate a SaaS workload across technical and operational design areas.