@@ -31,13 +31,29 @@ Azure Cosmos DB for MongoDB vCore allows continuous data streaming to a replica
31
31
32
32
## Enable cross-region replication
33
33
34
- To enable cross-region replication on a new cluster, follow these steps:
34
+ To enable cross-region replication on a new cluster * during cluster creation * , follow these steps:
35
35
36
36
1 . Follow the steps to [ create a new Azure Cosmos DB for MongoDB vCore cluster] ( ./quickstart-portal.md#create-a-cluster ) .
37
37
1 . On the ** Basics** tab, select ** Enable global distribution (preview)** flag.
38
- 1 . Once cluster is created, on the cluster sidebar, under ** Settings** , select ** Global distribution** .
39
- 1 . Select ** Add replica** and select a region for cluster replica to be created in.
40
- 1 . Verify your selection and select ** Save** to confirm your selection.
38
+ 1 . On the ** Global distribution (preview)** tab, select ** Enable** for the ** Read replica in another region (preview)** .
39
+ 1 . Provide a replica cluster name in the ** Read replica name** field.
40
+ 1 . Select a region in the ** Read replica region** . This is the Azure region where replica cluster will be hosted.
41
+ 1 . (optionally) Select desired network access settings for the cluster on the ** Networking** tab.
42
+ 1 . On the ** Review + create** tab, review cluster configuration details, and then select ** Create** .
43
+
44
+ > [ !NOTE]
45
+ > The replica cluster is created in the same Azure subscirption and resource group as its primary cluster.
46
+
47
+ To enable cross-region replication on a new cluster * at any time after cluster creation* , follow these steps:
48
+
49
+ 1 . Follow the steps to [ create a new Azure Cosmos DB for MongoDB vCore cluster] ( ./quickstart-portal.md#create-a-cluster ) .
50
+ 1 . On the ** Basics** tab, select ** Enable global distribution (preview)** flag.
51
+ 1 . Skip ** Global distribution (preview)** tab. This tab is used to create a cluster replica during primary cluster provisioning.
52
+ 1 . Once cluster is created, on the cluster sidebar, under ** Settings** , select ** Global distribution (preview)** .
53
+ 1 . Select ** Add new read replica** .
54
+ 1 . Provide a replica cluster name in the ** Read replica name** field.
55
+ 1 . Select a region in the ** Read replica region** . This is the Azure region where replica cluster will be hosted.
56
+ 1 . Verify your selection and select the ** Save** button to confirm replica creation.
41
57
42
58
## Promote a replica
43
59
0 commit comments