azure-docs
azure-docs copied to clipboard
Configure multi-region writes in Azure Cosmos DB for MongoDB: No such option on portal
Hi,
I've tried following the instructions on the page, but there is no "Replicate data globally" option on the menu on the portal for "Azure Cosmos DB for MongoDB" resource.
Are these instructions indeed relevant to MongoDB?
Thanks.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 223d16c4-837a-3658-0b7c-90d922e4a10f
- Version Independent ID: de3e44ae-092e-1dde-c044-34ffc54db3e3
- Content: Configure multi-region writes in your Azure Cosmos DB for MongoDB database
- Content Source: articles/cosmos-db/mongodb/how-to-configure-multi-region-write.md
- Service: cosmos-db
- Sub-service: cosmosdb-mongo
- GitHub Login: @gahl-levy
- Microsoft Alias: gahllevy
@yoshigev Thanks for your feedback! We will investigate and update as appropriate.
@yoshigev,
I just created a new Azure Cosmos DB for MongoDB account using the Try Azure Cosmos DB free.
I was able to see the Replicate data globally menu option within the Settings section.
Can you share a screenshot of the missing setting?
#reassign:seesharprun
Thanks @seesharprun for the quick response.
This is the screenshot with the missing option:
If it's helpful, this is the Resource JSON:
Resource JSON
{
"id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.DocumentDB/databaseAccounts/xxx",
"name": "xxx",
"location": "Germany West Central",
"type": "Microsoft.DocumentDB/databaseAccounts",
"kind": "MongoDB",
"tags": {},
"systemData": {
"createdAt": "2022-02-11T07:54:08.2218443Z"
},
"properties": {
"provisioningState": "Succeeded",
"documentEndpoint": "https://xxx.documents.azure.com:443/",
"sqlEndpoint": "https://xxx.documents.azure.com:443/",
"mongoEndpoint": "https://xxx.mongo.cosmos.azure.com:443/",
"enableAutomaticFailover": false,
"enableMultipleWriteLocations": false,
"enablePartitionKeyMonitor": false,
"isVirtualNetworkFilterEnabled": false,
"virtualNetworkRules": [],
"EnabledApiTypes": "MongoDB",
"disableKeyBasedMetadataWriteAccess": false,
"enableFreeTier": false,
"enableAnalyticalStorage": false,
"analyticalStorageConfiguration": null,
"instanceId": "xxx",
"databaseAccountOfferType": "Standard",
"ipRangeFilter": "",
"consistencyPolicy": {
"defaultConsistencyLevel": "Session",
"maxIntervalInSeconds": 5,
"maxStalenessPrefix": 100
},
"apiProperties": {
"serverVersion": "4.0"
},
"configurationOverrides": {
"EnableBsonSchema": "True"
},
"writeLocations": [
{
"id": "xxx-germanywestcentral",
"locationName": "Germany West Central",
"documentEndpoint": "https://xxx-germanywestcentral.documents.azure.com:443/",
"provisioningState": "Succeeded",
"failoverPriority": 0,
"isZoneRedundant": true
}
],
"readLocations": [
{
"id": "xxx-germanywestcentral",
"locationName": "Germany West Central",
"documentEndpoint": "https://xxx-germanywestcentral.documents.azure.com:443/",
"provisioningState": "Succeeded",
"failoverPriority": 0,
"isZoneRedundant": true
}
],
"locations": [
{
"id": "xxx-germanywestcentral",
"locationName": "Germany West Central",
"documentEndpoint": "https://xxx-germanywestcentral.documents.azure.com:443/",
"provisioningState": "Succeeded",
"failoverPriority": 0,
"isZoneRedundant": true
}
],
"failoverPolicies": [
{
"id": "xxx-germanywestcentral",
"locationName": "Germany West Central",
"failoverPriority": 0
}
],
"cors": [],
"capabilities": [
{
"name": "EnableMongo"
},
{
"name": "EnableServerless"
}
],
"backupPolicy": {
"type": "Continuous"
}
}
}
@nayakshweta, can you help with this issue? I'm unable to reproduce it.
#reassign:nayakshweta
Hello @yoshigev!
While Azure Cosmos DB is available in the Germany West Central region, Azure Germany is physically isolated from other instances of Azure. This means that you will not be able to globally replicate your data from that region to other Azure regions.
Thanks for your patience while we sought an answer.
#please-close