Home icon

Building hybrid multi-tenant architecture for stateful services on AWS

Architecture Blog



This article describes a hybrid multi-tenant architecture for stateful services on AWS, specifically designed for large-scale ad-serving infrastructure.

  • Replaced inefficient cellular architecture (one AWS account per tenant) with shared infrastructure model
  • Reduced tenant onboarding time from 52 days to 7 days (86% reduction)
  • Implemented three-level hierarchy: tiers, cells, and infra groups for scalable multi-tenancy
  • Used Route 53 weighted routing to distribute traffic across multiple load balancers transparently
  • Deployed dedicated ECS clusters per tenant within shared accounts for isolation
  • Pre-wired AWS PrivateLink connections at tier creation, reducing setup steps by 80%
  • Achieved up to 100 tenants per AWS account with strong cluster-level isolation
  • Improved CPU utilization from 3% to significantly higher through efficient resource sharing

The architecture solves multi-tenancy challenges by decoupling dependency setup from tenant onboarding, enabling configuration-driven scaling without per-tenant infrastructure provisioning.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 21
2026
Building multi-tenant agents with Amazon Bedrock AgentCore
May 20
2026
Centralized third-party connectivity in AWS: Architecture patterns for highly regulated environments
Jun 22
2026
Architecting distributed agentic AI workloads across AWS hybrid cloud services
Nov 20
2025
Building multi-tenant SaaS applications with AWS Lambda’s new tenant isolation mode

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.