Azure cosmos DB cost on price calculator and Azure Portal

Muhammad Adil - IIG 20 Reputation points
2024-08-01T08:32:05.0566667+00:00

Hello,

I am using Azure cosmos for mongo (vCore). I want to estimate the cost of cosmos. The price of M25 instance is $111.544/month with 30GB storage $3.68/month. When I am creating the same M25 instance, then the portal is showing me 230 USD/month. The image is attached. The region is east us. Why is there difference in the cost? which one is more authentic.

cosmoscoso

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,906 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2024-08-01T12:25:23.87+00:00

    Hi,

    The portal has a bug right now that is causing it to have High Availability (HA) enabled with M25, which increases the price. HA isn't supported with M25 tier, so even if you attempted to create M25 via the portal it will fail.

    What you could do instead is create it using CLI or PowerShell instead. That way you could use M25 pricing tier without HA so the price would be as you expect.

    Below is sample CLI command that you could use in Azure Cloud Shell to create M25 cluster:

    az cosmosdb mongocluster create --cluster-name my-mongodb-cluster --resource-group my-resource-group --location eastus --administrator-login mongoadmin --administrator-login-password Password+321 --server-version 7.0 --shard-node-tier "M25" --shard-node-ha false --shard-node-disk-size-gb 32 --shard-node-count 1
    
    

    Once you use above command to create the cluster, you may navigate to the Settings -- Scale blade and you should see price similar to below screenshot:

    qna mongodb cluster m25

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.