Skip to content

Commit 7611754

Browse files
authored
Merge pull request #94733 from SnehaGunda/master
Updating Private endpoint doc
2 parents 19e5e4d + 913fed1 commit 7611754

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

articles/cosmos-db/how-to-configure-private-endpoints.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Use the following steps to create a Private Link for an existing Azure Cosmos ac
4848
| Resource |Select your Azure Cosmos account |
4949
|Target sub-resource |Select the Cosmos DB API type you want to map. This defaults to only one choice for the SQL, MongoDB and Cassandra APIs. For the Gremlin and Table APIs, you can also choose *Sql* as these APIs are interoperable with the SQL API. |
5050
|||
51+
5152
1. Select **Next: Configuration**.
5253
1. In **Create a private endpoint (Preview) - Configuration**, enter or select this information:
5354

@@ -57,15 +58,27 @@ Use the following steps to create a Private Link for an existing Azure Cosmos ac
5758
| Virtual network| Select your virtual network. |
5859
| Subnet | Select your subnet. |
5960
|**Private DNS Integration**||
60-
|Integrate with private DNS zone |Select **Yes**. |
61-
|Private DNS Zone |Select *privatelink.documents.azure.com* |
61+
|Integrate with private DNS zone |Select **Yes**. <br><br/> To connect privately with your private endpoint, you need a DNS record. It’s recommended that you integrate your private endpoint with a private DNS zone. You can also utilize your own DNS servers or create DNS records using the host files on your virtual machines. |
62+
|Private DNS Zone |Select *privatelink.documents.azure.com* <br><br/> The Private DNS zone is determined automatically and can’t be changed currently by using the Azure portal.|
6263
|||
6364

6465
1. Select **Review + create**. You're taken to the **Review + create** page where Azure validates your configuration.
6566
1. When you see the **Validation passed** message, select **Create**.
6667

6768
When you have approved Private Links for an Azure Cosmos account, in the Azure portal the **All networks** option in the **Firewall and virtual networks** pane is greyed out.
6869

70+
The following table shows mapping between different Azure Cosmos account API types, supported sub resources and the corresponding private zone names. The Gremlin and Table API accounts are accessible through SQL API as well so there are 2 entries for these APIs:
71+
72+
|Azure Cosmos account API type |Supported sub-resources(or groupIds) |Private zone name |
73+
|---------|---------|---------|
74+
|Sql | Sql | privatelink.documents.azure.com |
75+
|Cassandra | Cassandra | privatelink.cassandra.cosmos.azure.com |
76+
|Mongo | MongoDB | privatelink.mongo.cosmos.azure.com |
77+
|Gremlin | Gremlin | privatelink.gremlin.cosmos.azure.com |
78+
|Gremlin | Sql | privatelink.documents.azure.com |
79+
|Table | Table | privatelink.table.cosmos.azure.com |
80+
|Table | Sql | privatelink.documents.azure.com |
81+
6982
### Fetch the private IP addresses
7083

7184
After the private endpoint is provisioned, you can query the IP addresses. To view the IP addresses from Azure portal. Select **All resources**, search for the private endpoint you created earlier in this case it's "dbPrivateEndpoint3" and select the Overview tab to see the DNS settings and IP addresses:
@@ -299,7 +312,7 @@ Adding or removing regions to an Azure Cosmos account requires you to add or rem
299312

300313
For example, if you deploy an Azure Cosmos account in 3 regions: "West US", "Central US", and "West Europe". When you create a private endpoint for your account, 4 private IPs are reserved in the subnet. One for each region, which counts to a total of 3, and one for the global/region-agnostic endpoint.
301314

302-
Later if you add a new region, for example "East US" to the Azure Cosmos account. By default, the new region is not accessible from the existing private endpoint. The Azure Cosmos account administrator should refresh the private endpoint connection before accessing it form the new region.
315+
Later if you add a new region, for example "East US" to the Azure Cosmos account. By default, the new region is not accessible from the existing private endpoint. The Azure Cosmos account administrator should refresh the private endpoint connection before accessing it form the new region.
303316

304317
When you run the ` Get-AzPrivateEndpoint -Name <your private endpoint name> -ResourceGroupName <your resource group name>` command, the output of the command contains the `ActionRequired` parameter, which is set to "Recreate". This value indicates that the private endpoint should be refreshed. Next the Azure Cosmos account administrator runs the `Set-AzPrivateEndpoint` command to trigger the private endpoint refresh.
305318

@@ -313,6 +326,8 @@ A new private IP is automatically reserved in the subnet under this private endp
313326

314327
You can use the same steps when you remove a region. The private IP of the removed region is automatically reclaimed, and the `ActionRequired` flag becomes `None`. If you don’t have any private DNZ zone integration, you must configure your private DNS to remove the DNS record for the removed region.
315328

329+
DNS records in the private DNS zone are not removed automatically when a private endpoint is deleted or a region from the Azure Cosmos account is removed. You must manually remove the DNS records.
330+
316331
## Current limitations
317332

318333
The following limitations apply when using the Private Link with an Azure Cosmos account:
@@ -333,6 +348,15 @@ The following limitations apply when using the Private Link with an Azure Cosmos
333348

334349
* A network administrator should be granted at least the "*/PrivateEndpointConnectionsApproval" permission at the Azure Cosmos account scope by an administrator to create automatically-approved private endpoints.
335350

351+
### Private DNS zone integration limitations
352+
353+
DNS records in the private DNS zone are not removed automatically when a private endpoint is deleted or a region from the Azure Cosmos account is removed. You must manually remove the DNS records before:
354+
355+
* Adding a new private endpoint linked to this private DNS zone.
356+
* Adding a new region to any database account that has private endpoints linked to this private DNS zone.
357+
358+
Without the above two steps, unexpected data plane issues such as data outage to the regions added after private endpoint removal may happen.
359+
336360
## Next steps
337361

338362
To learn more about the other Azure Cosmos DB security features, see the following article:

0 commit comments

Comments
 (0)