Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set the RU/s for my CosmosDb container lower than 400?

I've read pricing for a CosmosDb and the docs (https://azure.microsoft.com/en-us/pricing/details/cosmos-db/) say ~$5.84/month for the simplest configuration (no redundancy etc) for 100 RU/s.

Now I tried to set my number of RU's for my container to 100, but it only let me set 400 or more, in which case my bill is ~$23/month, which looks a lot to me, for a database which gets 1 document per 5 minutes.

Is the 100 RU/s not possible?

like image 780
Michel Avatar asked Oct 16 '25 20:10

Michel


1 Answers

From billing perspective, the minimum amount we have to pay for a single cosmos database is for 400 RU/s throughput. (It does not matter whether we have single container or multiple containers within that database).

In Cosmos DB, We can provision throughput either
1) at database level (This throughput is shared across all the containers in the database - it could be one or more containers).
(Or)
2) at container level (This throughput provisioned on an Azure Cosmos container is exclusively reserved for that container).

If the throughput is provisioned at database level (minimum required is 400 RU/s), then individual containers within that database can be configured to a dedicated throughput at a minimum of 100 RU/s.

If the throughput is NOT provisioned at database level, then individual containers within that database has to be configured for a minimum throughput of 400 RU/s.

like image 107
Bob Ash Avatar answered Oct 18 '25 13:10

Bob Ash