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:
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:
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP