Edit

Multitenancy checklist on Azure

When you build your multitenant solution in Azure, there are many elements that you need to consider. Use this checklist as a starting point to help you design and build your multitenant solution. This checklist is a companion resource to the Architect multitenant solutions on Azure series of articles. The checklist is structured around the business and technical considerations and the five pillars of the Azure Well-Architected Framework.

Business considerations

Reliability considerations

Security considerations

  • Apply zero trust and least privilege principles in all layers of your solution.

  • If you operate resources in tenant environments, consider how you can support the resources. Use explicit, least-privileged, time-bound, and auditable support access. Remove provider access during offboarding.

  • Ensure that you can correctly map user requests to tenants. Consider including the tenant context as part of the identity system or via another method, like application-level tenant authorization.

  • Design for tenant isolation. Continuously test your isolation model.

  • Ensure that your application code prevents any cross-tenant access or data leakage.

  • Perform ongoing penetration testing and security code reviews.

  • Understand your tenants' compliance requirements, including data residency and any compliance or regulatory standards that they require you to meet.

  • Correctly manage domain names and avoid vulnerabilities like dangling Domain Name System and subdomain takeover attacks.

  • Follow service-specific guidance for multitenancy.

Cost Optimization considerations

Operational Excellence considerations

  • Use automation to manage the tenant life cycle, such as onboarding, deployment, provisioning, and configuration.

  • Understand the differences between control planes and data planes in your multitenant solution.

  • Design the control plane to reconcile commercial subscriptions, tenant state, entitlements, metering, and provisioning. Make external event processing idempotent.

  • Find the right balance for deploying service updates. Consider both your tenants' requirements and your own operational requirements.

  • For customer-hosted and hybrid deployments, provide health reporting, configuration validation, drift detection, diagnostic collection, and documented support boundaries.

  • Track the life cycles of external platforms, APIs, SDKs, services, and AI models that your solution depends on.

  • Monitor the health of the overall system and each tenant.

  • Configure and test alerts to notify you when specific tenants experience problems or exceed their consumption limits.

  • Organize your Azure resources for isolation and scale.

  • Avoid deployment and configuration antipatterns. Antipatterns include running separate versions of the solution for each tenant, hard-coding tenant-specific configurations or logic, and relying on manual deployments.

Performance Efficiency considerations

Contributors

Microsoft maintains this article. The following contributors wrote this article.

Principal authors:

Other contributor:

  • John Downs | Principal Software Engineer, Azure Patterns & Practices

To see nonpublic LinkedIn profiles, sign in to LinkedIn.