Enabling Availability Zones for Azure Cosmos DB for NoSQL Database with Serverless Capacity Mode

$@chin 200 Reputation points
2024-02-07T16:59:25.1166667+00:00

Is it possible to enable availability zone for an existing Azure Cosmos DB for NoSQL database that is running in serverless capacity mode ? If so, what is the process to achieve this ?

Additionally, how can one determine the availability zone region is enabled or not for Azure Cosmos DB for NoSQL ?

Furthermore, how can one calculate the estimated cost of Azure Cosmos DB for NoSQL serverless with availability zones, as the pricing calculator does not seem to offer this option?

Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
3,612 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2024-02-07T18:06:08.0066667+00:00

    Hi Sachin,

    Is it possible to enable availability zone for an existing Azure Cosmos DB for NoSQL database that is running in serverless capacity mode ? If so, what is the process to achieve this ?

    A: No, you cannot change an existing account to use availability zone. You can only do this when creating the account.

    Additionally, how can one determine the availability zone region is enabled or not for Azure Cosmos DB for NoSQL ?

    A: You can use below commands in Cloud Shell powershell:

    $db = Get-AzCosmosDBAccount -ResourceGroupName myresourcegroup -Name myserverlesscosmosacct
    $db.Locations
    

    Look for IsZoneRedundant in the output, as shown below:

    qna cosmos zone redundant

    Furthermore, how can one calculate the estimated cost of Azure Cosmos DB for NoSQL serverless with availability zones, as the pricing calculator does not seem to offer this option?

    A: For serverless, Request Units are multiplied by a factor of 1.25. See excerpt from pricing page:

    qna cosmos az pricing

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

    Thanks.

    -TP

    2 people found this answer helpful.

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.