You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Tutorial: Connect to an Azure Cosmos account using an Azure Private Endpoint
14
14
15
-
Azure Private endpoint is the fundamental building block for Private Link in Azure. It enables Azure resources, like virtual machines (VMs), to communicate with Private Link resources privately.
15
+
Azure Private endpoint is the fundamental building block for Private Link in Azure. It enables Azure resources, like virtual machines (VMs), to privately and securely communicate with Private Link resources such as Azure Cosmos DB.
16
16
17
17
In this tutorial, you learn how to:
18
18
@@ -173,12 +173,12 @@ In this section, you'll create a Cosmos DB account and configure the private end
| Integrate with private DNS zone | Leave the default **Yes**|
178
+
| Virtual network | Select **myVNet**.|
179
+
| Subnet | Select **mySubnet**.|
180
+
|**Private DNS integration**||
181
+
| Integrate with private DNS zone | Leave the default **Yes**.|
182
182
| Private DNS Zone | Leave the default **(New) privatelink.documents.azure.com**. |
183
183
184
184
7. Select **OK**.
@@ -201,18 +201,18 @@ In this section, you'll create a Cosmos DB account and configure the private end
201
201
| ------- | ----- |
202
202
| Database id | Leave the default of **Create new**. </br> Enter **mydatabaseid** in the box. |
203
203
| Database throughput (400 - unlimited RU/s) | Select **Manual**. </br> Enter **400** in the box. |
204
-
| Container id | Enter **mycontainerid**|
205
-
| Partition key | Enter **/mykey**|
204
+
| Container id | Enter **mycontainerid**.|
205
+
| Partition key | Enter **/mykey**.|
206
206
207
207
5. Select **OK**.
208
208
209
-
6. In the **Settings** section of the CosmosDB account, select **Keys**.
209
+
6. In the **Settings** section of the Cosmos DB account, select **Keys**.
210
210
211
211
7. Select copy on the **PRIMARY CONNECTION STRING**. A valid connection string is in the format: `AccountEndpoint=https://<cosmosdb-account-name>.documents.azure.com:443/;AccountKey=<accountKey>;`
212
212
213
213
## Test connectivity to private endpoint
214
214
215
-
In this section, you'll use the virtual machine you created in the previous step to connect to the Cosmos DB account across the private endpoint.
215
+
In this section, you'll use the virtual machine you created in the previous steps to connect to the Cosmos DB account across the private endpoint using **Azure Cosmos DB Explorer**.
216
216
217
217
1. Select **Resource groups** in the left-hand navigation pane.
218
218
@@ -243,7 +243,7 @@ In this section, you'll use the virtual machine you created in the previous step
243
243
244
244
1. Go to https://cosmos.azure.com/. Select **Connect to your account with connection string**, then paste the connection string that you copied in the previous steps and select **Connect**.
245
245
246
-
1. Under the SQL API left-hand menu, you see the database id and container id that you previously created in your CosmosDB account.
246
+
1. Under the SQL API left-hand menu, you see **mydatabaseid** and **mycontainerid** that you previously created in **mycosmosdb**.
247
247
248
248
1. Close the connection to **myVM**.
249
249
@@ -271,4 +271,4 @@ In this tutorial, you learned how to create:
271
271
272
272
Learn how to connect to a web app using an Azure Private Endpoint:
273
273
> [!div class="nextstepaction"]
274
-
> [Connect to a web app](tutorial-private-endpoint-webapp-portal.md)
274
+
> [Connect to a web app using Private Endpoint](tutorial-private-endpoint-webapp-portal.md)
0 commit comments