May 21st, 2025
2 reactions

Now in Preview: Azure Cosmos DB Fleets

Deborah Chen
Principal Product Manager

We’re excited to announce the preview of Azure Cosmos DB fleets.

Azure Cosmos DB fleets address common challenges that developers face when building and managing multi-tenant or Software as a Service (SaaS) applications.

Today, many SaaS providers using Azure Cosmos DB isolate each tenant in a separate database account to meet strict performance and security requirements—for example, supporting customer-managed keys. While this approach ensures tenant isolation, it creates operational complexity at scale. Managing thousands of RU/s settings becomes difficult, and provisioning dedicated capacity for every tenant can be costly—especially when many tenants are inactive. Monitoring performance and usage across thousands of accounts also adds to the overhead.

Azure Cosmos DB fleets introduce two key capabilities—pools and fleet analytics and monitoring—to simplify capacity management and provide at-scale visibility across your tenant environments.

 

Fleet hierarchy, with top level fleet, 2nd level fleetspaces with optional RU/s pooling

Pools

Fleets let you organize the database accounts in your multi-tenant application into sub-groups called fleetspaces.

Within each fleetspace, you can create an optional throughput pool (RU/s) that all accounts in the group can share.

Each resource still gets dedicated RU/s that are guaranteed and always available to that resource. When a resource needs more than its dedicated RU/s—such as during a traffic spike—it can draw from the shared pool. This approach allows you to provision each tenant based on typical usage instead of over-provisioning for peak load, significantly simplifying capacity management. You maintain the performance and security isolation benefits of separate database accounts per tenant while optimizing for cost by using the pool.

In the below example, we’ve set up a fleetspace with 10 database accounts and a pool of RU/s. Each database account has 1 container with dedicated autoscale 100-1000 RU/s. We see that for spikes beyond 1000 RU/s, which otherwise would have been rate-limited, the requests are now served by the pool.

FleetAccounts image

RU/s consumed by 10 tenants

Pool RU/s autoscale by default. You can configure custom minimum and maximum limits with up to a 10x scaling range. Billing is based on the highest RU/s the pool reaches within each hour.

Learn more: https://aka.ms/CosmosDBFleetPools

Fleet analytics / monitoring

Fleets include built-in monitoring tools that give you visibility across all your database accounts at scale. With the new At-scale Azure Monitor view, you can track performance, traffic, and usage across your entire fleet. Use this view to quickly identify specific accounts or tenants experiencing issues, and drill in for deeper analysis.

Azure Monitor at-scale view fleet metrics

You can also enable optional fleet analytics to collect hourly data on cost, performance, and usage. This data streams to a Microsoft Fabric workspace or an Azure Storage account, making it easy to perform long-term trend analysis. Use the built-in visualizations or run custom queries to answer key questions such as:

  • What are my most active accounts / tenants?
  • What resources should I scale up or scale down?
  • When were my account keys last rotated?
  • And more

FleetAnalyticsDashboardView image

Learn more: https://aka.ms/CosmosDBFleetAnalytics

Getting started

To register for the preview, enable the Preview Feature, AzureCosmosDBFleets in the Azure Portal. Only the subscription where the fleet will be created is required.

After the registration is approved, you can create a fleet and add database accounts you have access to from any other subscriptions.

Fleet analytics will be available in June 2025.

Leave a review

Tell us about your Azure Cosmos DB experience! Leave a review on PeerSpot and we’ll gift you $50. Get started here.

About Azure Cosmos DB

Azure Cosmos DB is a fully managed and serverless NoSQL and vector database for modern app development, including AI applications. With its SLA-backed speed and availability as well as instant dynamic scalability, it is ideal for real-time NoSQL and MongoDB applications that require high performance and distributed computing over massive volumes of NoSQL and vector data.

To stay in the loop on Azure Cosmos DB updates, follow us on X, YouTube, and LinkedIn.

Author

Deborah Chen
Principal Product Manager

Deborah Chen is a Product Manager on Azure Cosmos DB. She focuses on building a great partitioning and elasticity experience to enable customers to get the best cost/performance in Cosmos DB, as well as investments to improve Cosmos DB for customers building multi-tenant apps. In her free time, she enjoys building demos to show the capabilities of

0 comments