November 19th, 2024

Autoscale in public preview for vCore-based Azure Cosmos DB for MongoDB

Sudhanshu Vishodia
Senior Product Manager

Image autoscale title

Managing workloads with unpredictable spikes can be a real challenge, especially when it comes to ensuring your database can handle sudden surges in traffic. Often, this leads to overprovisioning resources to play it safe, resulting in higher costs and wasted capacity. But what if there was a better way? We’re excited to introduce Autoscale for vCore-based Azure Cosmos DB for MongoDB, a feature designed to take the guesswork out of scaling. With Autoscale, your database seamlessly adjusts to meet peak demand, eliminating the need for overprovisioning, cutting costs, and maintaining peak performance effortlessly.

What is Autoscale?

The vCore-based MongoDB in Azure Cosmos DB now includes a new cluster tier called Autoscale, designed to provide clusters that automatically scale up or down based on application usage.

Image vCore tiers autoscale

Unlike other managed MongoDB solutions that suffer from significant delays when adjusting capacity—where scaling up can take hours and scaling down may exceed 24 hours—these limitations often result in missed peak usage windows and compromised performance. Autoscale ensures real-time responsiveness. This means your database adjusts dynamically as workload demands shift, so you aren’t stuck paying for larger machines unnecessarily. This approach offers few key benefits:

Instant Scale

Autoscale ensures your database scales instantly to handle peak demand without downtime or performance loss, adapting seamlessly to sudden or periodic workload spikes.

Budget-Friendly

Avoid overprovisioning and reduce expenses with Autoscale’s pay-as-you-use model, maximizing resource utilization and cutting unnecessary costs.

Predictable Pricing

With core-based pricing, Autoscale provides transparent and manageable costs, making it easier to budget and plan for database operations.

Pricing model

Autoscale follows a core-based pricing model, charging based on the higher of CPU or memory usage in the last hour, compared to a 35% threshold. If utilization is below 35%, the minimum price applies; above 35%, the maximum price applies. Autoscale clusters carry a 50% premium over the base tier, with costs billed hourly, ensuring you only pay for what you use.

Image Pricing Model

The chart above illustrates an application that experienced usage spikes for 10% of its total runtime. In this scenario, a user with a regularly overprovisioned M200 cluster would have paid $1,185.24. However, with the M200-Autoscale cluster, the cost would drop to $968.41, resulting in a savings of 18.29% while still giving you instant performance, so your users are happy.

Conclusion

In conclusion, Autoscale for vCore-based Azure Cosmos DB for MongoDB offers a powerful, cost-efficient solution that automatically adjusts to your workload demands. With its flexible pricing model and instant scalability, you get the performance users need instantly while avoiding overprovisioning by paying for only what you use.

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 distributed database for modern app development, with SLA-backed speed and availability, automatic and instant scalability, and support for open-source PostgreSQL, MongoDB, and Apache Cassandra. Try Azure Cosmos DB for free here. To stay in the loop on Azure Cosmos DB updates, follow us on X, YouTube, and LinkedIn.

Author

Sudhanshu Vishodia
Senior Product Manager

Sudhanshu is a Program Manager on the Azure Cosmos DB team, specializing in MongoDB offerings.

0 comments