Warm tip: This article is reproduced from serverfault.com, please click

What does CosmosDB option "production" vs "non-production" really do?

发布于 2020-11-30 21:52:51

When you create CosmosDB account in Azure Portal you are provided the choice of "Account Type", with options:

  • Production
  • Non-Production

The info button in creation wizard in portal just mentions:

Controls UI experience offered in the portal and Cosmos Explorer. Does not impact runtime behavior of the service. Can be changed later.

The documentation does is just as vague:

This is an Azure resource tag setting that tunes the Portal experience but does not affect the underlying Azure Cosmos DB account. You can change this value anytime.

What exactly are those "tuned" UI experience differences? No notable differences catch my eye, nor can I find this setting anywhere after creation, nor do I see a way to change this later..

Questioner
Imre Pühvel
Viewed
0
Joy Wang 2020-12-01 11:48:28

Looks there are not some obvious differences, if you select the Production/Non-Production when creating the account, it will enable/disable Geo-Redundancy and Multi-region Writes for you automatically, but you can still set them manually.

When you creating two accounts that just have different account types, the difference in the portal is the tag named CosmosAccountType, it will be Production or Non-Production, this is the value you can change anytime mentioned in the doc.

Actually, don't worry about this, just select the corresponding type depends on the actual scenario e.g. production or non-production, because it will not affect the underlying Cosmos DB account.

enter image description here