How can I Increase CosmosDb RU and cost implication

Saverio Veltri 0 Reputation points
2025-02-14T15:32:46.74+00:00

Hello,

I would like to ask how can I increase the max RU available in our cosmosDb account.

Also, I would like to have some insights about the cost implications of have this number increased.

Thank you

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,766 questions
{count} votes

1 answer

Sort by: Most helpful
  1. NIKHILA NETHIKUNTA 4,520 Reputation points Microsoft Vendor
    2025-02-14T17:36:42.88+00:00

    @Saverio Veltri
    Thank you for the question and for using Microsoft Q&A platform.

    As per my understanding, you are trying to increase the maximum Request Units (RUs) available in your Azure Cosmos DB account.

    You can increase the throughput by navigating to your Cosmos DB account in the Azure portal. Under the "Settings" section, select "Scale" and adjust the RU/s to your desired throughput.

    User's image

    Consider enabling Autoscale for your containers, which allows the RU to automatically adjust based on demand, up to a specified maximum.

    Cost Implications of Increasing RU:

    • The cost of your Cosmos DB account is directly proportional to the number of provisioned RUs. Increasing the maximum RU will lead to higher monthly charges. You are billed on an hourly basis for the number of RUs provisioned. The cost is calculated based on the number of RUs per second you have provisioned.
    • When you increase the max RU in your account, you will be charged based on the provisioned throughput. So, increasing the max RU will result in higher costs. You can use the Azure CosmosDB pricing calculator to estimate the cost implications of increasing the max RU for your specific usage scenario.
    • It's important to measure the RU charge of your requests to understand their actual cost. Efficient indexing and query optimization can help manage and reduce costs.

    For more information, please refer to the below links:
    https://learn.microsoft.com/en-us/azure/cosmos-db/scaling-provisioned-throughput-best-practices
    https://learn.microsoft.com/en-us/azure/cosmos-db/partitioning-overview
    https://learn.microsoft.com/en-us/azure/cosmos-db/concepts-limits
    https://learn.microsoft.com/en-us/azure/cosmos-db/request-units
    https://learn.microsoft.com/en-us/azure/cosmos-db/optimize-cost-reads-writes
    https://turbo360.com/blog/azure-cosmos-db-cost-optimization

    Hope this helps. Please let us know if you have any further queries.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.