Skip to content

Commit 116873b

Browse files
Merge pull request #271750 from Blackmist/239722-cleanup
cleanup of terms and text
2 parents 08bf4e8 + df72528 commit 116873b

File tree

1 file changed

+57
-55
lines changed

1 file changed

+57
-55
lines changed

articles/ai-studio/how-to/configure-private-link.md

Lines changed: 57 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
---
2-
title: How to configure a private link for Azure AI
2+
title: How to configure a private link for Azure AI hub
33
titleSuffix: Azure AI Studio
4-
description: Learn how to configure a private link for Azure AI
4+
description: Learn how to configure a private link for Azure AI hub. A private link is used to secure communication with the AI hub.
55
manager: scottpolly
66
ms.service: azure-ai-studio
77
ms.custom: ignite-2023, devx-track-azurecli
88
ms.topic: how-to
9-
ms.date: 02/13/2024
9+
ms.date: 04/10/2024
1010
ms.reviewer: jhirono
1111
ms.author: larryfr
1212
author: Blackmist
13+
# Customer intent: As an admin, I want to configure a private link for Azure AI hub so that I can secure my Azure AI hub resources.
1314
---
1415

15-
# How to configure a private link for Azure AI
16+
# How to configure a private link for Azure AI hub
1617

1718
[!INCLUDE [Azure AI Studio preview](../includes/preview-ai-studio.md)]
1819

19-
We have two network isolation aspects. One is the network isolation to access an Azure AI. Another is the network isolation of computing resources in your Azure AI and Azure AI projects such as Compute Instance, Serverless and Managed Online Endpoint. This document explains the former highlighted in the diagram. You can use private link to establish the private connection to your Azure AI and its default resources. This article is for Azure AI. For information on Azure AI Services, see the [Azure AI Services documentation](/azure/ai-services/cognitive-services-virtual-networks).
20+
We have two network isolation aspects. One is the network isolation to access an Azure AI hub. Another is the network isolation of computing resources in your Azure AI hub and Azure AI projects such as compute instances, serverless, and managed online endpoints. This article explains the former highlighted in the diagram. You can use private link to establish the private connection to your Azure AI hub and its default resources. This article is for Azure AI Studio (AI hub and AI projects). For information on Azure AI Services, see the [Azure AI Services documentation](/azure/ai-services/cognitive-services-virtual-networks).
2021

21-
:::image type="content" source="../media/how-to/network/azure-ai-network-inbound.svg" alt-text="Diagram of Azure AI network isolation." lightbox="../media/how-to/network/azure-ai-network-inbound.png":::
22+
:::image type="content" source="../media/how-to/network/azure-ai-network-inbound.svg" alt-text="Diagram of Azure AI hub network isolation." lightbox="../media/how-to/network/azure-ai-network-inbound.png":::
2223

23-
You get several Azure AI default resources in your resource group. You need to configure following network isolation configurations.
24+
You get several Azure AI hub default resources in your resource group. You need to configure following network isolation configurations.
2425

25-
- Disable public network access flag of Azure AI default resources such as Storage, Key Vault, Container Registry.
26-
- Establish private endpoint connection to Azure AI default resource. Note that you need to have blob and file PE for the default storage account.
26+
- Disable public network access of Azure AI hub default resources such as Azure Storage, Azure Key Vault, and Azure Container Registry.
27+
- Establish private endpoint connection to Azure AI hub default resources. You need to have both a blob and file private endpoint for the default storage account.
2728
- [Managed identity configurations](#managed-identity-configuration) to allow Azure AI hub resources access your storage account if it's private.
28-
- Azure AI services and Azure AI Search should be public.
29+
- Azure AI Services and Azure AI Search should be public.
2930

3031

3132
## Prerequisites
3233

33-
* You must have an existing virtual network to create the private endpoint in.
34+
* You must have an existing Azure Virtual Network to create the private endpoint in.
3435

3536
> [!IMPORTANT]
3637
> We do not recommend using the 172.17.0.0/16 IP address range for your VNet. This is the default subnet range used by the Docker bridge network or on-premises.
@@ -41,6 +42,13 @@ You get several Azure AI default resources in your resource group. You need to c
4142

4243
Use one of the following methods to create an Azure AI hub resource with a private endpoint. Each of these methods __requires an existing virtual network__:
4344

45+
# [Azure portal](#tab/azure-portal)
46+
47+
1. From the [Azure portal](https://portal.azure.com), go to Azure AI Studio and choose __+ New Azure AI__.
48+
1. Choose network isolation mode in __Networking__ tab.
49+
1. Scroll down to __Workspace Inbound access__ and choose __+ Add__.
50+
1. Input required fields. When selecting the __Region__, select the same region as your virtual network.
51+
4452
# [Azure CLI](#tab/cli)
4553

4654
Create your Azure AI hub resource with the Azure AI CLI. Run the following command and follow the prompts. For more information, see [Get started with Azure AI CLI](cli-install.md).
@@ -49,7 +57,7 @@ Create your Azure AI hub resource with the Azure AI CLI. Run the following comma
4957
ai init
5058
```
5159

52-
After creating the Azure AI, use the [Azure networking CLI commands](/cli/azure/network/private-endpoint#az-network-private-endpoint-create) to create a private link endpoint for the Azure AI.
60+
After creating the Azure AI hub, use the [Azure networking CLI commands](/cli/azure/network/private-endpoint#az-network-private-endpoint-create) to create a private link endpoint for the Azure AI.
5361

5462
```azurecli-interactive
5563
az network private-endpoint create \
@@ -103,22 +111,25 @@ az network private-endpoint dns-zone-group add \
103111
--zone-name privatelink.notebooks.azure.net
104112
```
105113

106-
# [Azure portal](#tab/azure-portal)
114+
---
107115

108-
1. From the [Azure portal](https://portal.azure.com), go to Azure AI Studio and choose __+ New Azure AI__.
109-
1. Choose network isolation mode in __Networking__ tab.
110-
1. Scroll down to __Workspace Inbound access__ and choose __+ Add__.
111-
1. Input required fields. When selecting the __Region__, select the same region as your virtual network.
116+
## Add a private endpoint to an Azure AI hub
112117

113-
---
118+
Use one of the following methods to add a private endpoint to an existing Azure AI hub:
114119

115-
## Add a private endpoint to an Azure AI
120+
# [Azure portal](#tab/azure-portal)
116121

117-
Use one of the following methods to add a private endpoint to an existing Azure AI:
122+
1. From the [Azure portal](https://portal.azure.com), select your Azure AI hub.
123+
1. From the left side of the page, select __Networking__ and then select the __Private endpoint connections__ tab.
124+
1. When selecting the __Region__, select the same region as your virtual network.
125+
1. When selecting __Resource type__, use `azuremlworkspace`.
126+
1. Set the __Resource__ to your workspace name.
127+
128+
Finally, select __Create__ to create the private endpoint.
118129

119130
# [Azure CLI](#tab/cli)
120131

121-
Use the [Azure networking CLI commands](/cli/azure/network/private-endpoint#az-network-private-endpoint-create) to create a private link endpoint for the Azure AI.
132+
Use the [Azure networking CLI commands](/cli/azure/network/private-endpoint#az-network-private-endpoint-create) to create a private link endpoint for the Azure AI hub.
122133

123134
```azurecli-interactive
124135
az network private-endpoint create \
@@ -172,27 +183,23 @@ az network private-endpoint dns-zone-group add \
172183
--zone-name 'privatelink.notebooks.azure.net'
173184
```
174185

175-
# [Azure portal](#tab/azure-portal)
176-
177-
1. From the [Azure portal](https://portal.azure.com), select your Azure AI.
178-
1. From the left side of the page, select __Networking__ and then select the __Private endpoint connections__ tab.
179-
1. When selecting the __Region__, select the same region as your virtual network.
180-
1. When selecting __Resource type__, use azuremlworkspace.
181-
1. Set the __Resource__ to your workspace name.
182-
183-
Finally, select __Create__ to create the private endpoint.
184-
185186
---
186187

187188
## Remove a private endpoint
188189

189-
You can remove one or all private endpoints for an Azure AI. Removing a private endpoint removes the Azure AI from the VNet that the endpoint was associated with. Removing the private endpoint might prevent the Azure AI from accessing resources in that VNet, or resources in the VNet from accessing the workspace. For example, if the VNet doesn't allow access to or from the public internet.
190+
You can remove one or all private endpoints for an Azure AI hub. Removing a private endpoint removes the Azure AI hub from the Azure Virtual Network that the endpoint was associated with. Removing the private endpoint might prevent the Azure AI hub from accessing resources in that virtual network, or resources in the virtual network from accessing the workspace. For example, if the virtual network doesn't allow access to or from the public internet.
190191

191192
> [!WARNING]
192-
> Removing the private endpoints for a workspace __doesn't make it publicly accessible__. To make the workspace publicly accessible, use the steps in the [Enable public access](#enable-public-access) section.
193+
> Removing the private endpoints for an AI hub __doesn't make it publicly accessible__. To make the AI hub publicly accessible, use the steps in the [Enable public access](#enable-public-access) section.
193194
194195
To remove a private endpoint, use the following information:
195196

197+
# [Azure portal](#tab/azure-portal)
198+
199+
1. From the [Azure portal](https://portal.azure.com), select your Azure AI hub.
200+
1. From the left side of the page, select __Networking__ and then select the __Private endpoint connections__ tab.
201+
1. Select the endpoint to remove and then select __Remove__.
202+
196203
# [Azure CLI](#tab/cli)
197204

198205
When using the Azure CLI, use the following command to remove the private endpoint:
@@ -203,50 +210,44 @@ az network private-endpoint delete \
203210
--resource-group <resource-group-name> \
204211
```
205212

206-
# [Azure portal](#tab/azure-portal)
207-
208-
1. From the [Azure portal](https://portal.azure.com), select your Azure AI.
209-
1. From the left side of the page, select __Networking__ and then select the __Private endpoint connections__ tab.
210-
1. Select the endpoint to remove and then select __Remove__.
211-
212213
---
213214

214215
## Enable public access
215216

216-
In some situations, you might want to allow someone to connect to your secured Azure AI over a public endpoint, instead of through the VNet. Or you might want to remove the workspace from the VNet and re-enable public access.
217+
In some situations, you might want to allow someone to connect to your secured Azure AI hub over a public endpoint, instead of through the virtual network. Or you might want to remove the workspace from the virtual network and re-enable public access.
217218

218219
> [!IMPORTANT]
219-
> Enabling public access doesn't remove any private endpoints that exist. All communications between components behind the VNet that the private endpoint(s) connect to are still secured. It enables public access only to the Azure AI, in addition to the private access through any private endpoints.
220+
> Enabling public access doesn't remove any private endpoints that exist. All communications between components behind the virtual network that the private endpoint(s) connect to are still secured. It enables public access only to the Azure AI hub, in addition to the private access through any private endpoints.
220221
221222
To enable public access, use the following steps:
222223

223-
# [Azure CLI](#tab/cli)
224-
225-
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-configure-private-link.md#enable-public-access). Use your Azure AI name as workspace name in Azure Machine Learning CLI.
226-
227224
# [Azure portal](#tab/azure-portal)
228225

229-
1. From the [Azure portal](https://portal.azure.com), select your Azure AI.
226+
1. From the [Azure portal](https://portal.azure.com), select your Azure AI hub.
230227
1. From the left side of the page, select __Networking__ and then select the __Public access__ tab.
231228
1. Select __Enabled from all networks__, and then select __Save__.
232229

230+
# [Azure CLI](#tab/cli)
231+
232+
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-configure-private-link.md#enable-public-access). Use your Azure AI hub name as workspace name in Azure Machine Learning CLI.
233+
233234
---
234235

235236
## Managed identity configuration
236237

237-
This is required if you make your storage account private. Our services need to read/write data in your private storage account using [Allow Azure services on the trusted services list to access this storage account](../../storage/common/storage-network-security.md#grant-access-to-trusted-azure-services) with below managed identity configurations. Enable system assigned managed identity of Azure AI Service and Azure AI Search, configure role-based access control for each managed identity.
238+
A manged identity configuration is required if you make your storage account private. Our services need to read/write data in your private storage account using [Allow Azure services on the trusted services list to access this storage account](../../storage/common/storage-network-security.md#grant-access-to-trusted-azure-services) with following managed identity configurations. Enable the system assigned managed identity of Azure AI Service and Azure AI Search, then configure role-based access control for each managed identity.
238239

239240
| Role | Managed Identity | Resource | Purpose | Reference |
240241
|--|--|--|--|--|
241-
| `Storage File Data Privileged Contributor` | Azure AI project | Storage Account | Read/Write prompt flow data. | [Prompt flow doc](../../machine-learning/prompt-flow/how-to-secure-prompt-flow.md#secure-prompt-flow-with-workspace-managed-virtual-network) |
242+
| `Storage File Data Privileged Contributor` | Azure AI project | Storage Account | Read/Write prompt flow data. | [Prompt flow doc](../../machine-learning/prompt-flow/how-to-secure-prompt-flow.md#secure-prompt-flow-with-workspace-managed-virtual-network) |
242243
| `Storage Blob Data Contributor` | Azure AI Service | Storage Account | Read from input container, write to preprocess result to output container. | [Azure OpenAI Doc](../../ai-services/openai/how-to/managed-identity.md) |
243-
| `Storage Blob Data Contributor` | Azure AI Search | Storage Account | Read blob and write knowledge store | [Search doc](../../search/search-howto-managed-identities-data-sources.md)|
244+
| `Storage Blob Data Contributor` | Azure AI Search | Storage Account | Read blob and write knowledge store | [Search doc](../../search/search-howto-managed-identities-data-sources.md). |
244245

245246
## Custom DNS configuration
246247

247-
See [Azure Machine Learning custom dns doc](../../machine-learning/how-to-custom-dns.md#example-custom-dns-server-hosted-in-vnet) for the DNS forwarding configurations.
248+
See [Azure Machine Learning custom DNS](../../machine-learning/how-to-custom-dns.md#example-custom-dns-server-hosted-in-vnet) article for the DNS forwarding configurations.
248249

249-
If you need to configure custom dns server without dns forwarding, the following is the required A records.
250+
If you need to configure custom DNS server without DNS forwarding, use the following patterns for the required A records.
250251

251252
* `<AI-STUDIO-GUID>.workspace.<region>.cert.api.azureml.ms`
252253
* `<AI-PROJECT-GUID>.workspace.<region>.cert.api.azureml.ms`
@@ -265,17 +266,18 @@ If you need to configure custom dns server without dns forwarding, the following
265266
266267
* `<managed online endpoint name>.<region>.inference.ml.azure.com` - Used by managed online endpoints
267268

268-
See [this documentation](../../machine-learning/how-to-custom-dns.md#find-the-ip-addresses) to check your private IP addresses for your A records. To check AI-PROJECT-GUID, go to Azure portal > Your Azure AI Project > JSON View > workspaceId.
269+
To find the private IP addresses for your A records, see the [Azure Machine Learning custom DNS](../../machine-learning/how-to-custom-dns.md#find-the-ip-addresses) article.
270+
To check AI-PROJECT-GUID, go to the Azure portal, select your Azure AI project, settings, properties, and the workspace ID is displayed.
269271

270272
## Limitations
271273

272-
* Private Azure AI services and Azure AI Search aren't supported.
274+
* Private Azure AI Services and Azure AI Search aren't supported.
273275
* The "Add your data" feature in the Azure AI Studio playground doesn't support private storage account.
274-
* You might encounter problems trying to access the private endpoint for your Azure AI if you're using Mozilla Firefox. This problem might be related to DNS over HTTPS in Mozilla Firefox. We recommend using Microsoft Edge or Google Chrome.
276+
* You might encounter problems trying to access the private endpoint for your Azure AI hub if you're using Mozilla Firefox. This problem might be related to DNS over HTTPS in Mozilla Firefox. We recommend using Microsoft Edge or Google Chrome.
275277

276278
## Next steps
277279

278-
- [Create a project](create-projects.md)
280+
- [Create an Azure AI project](create-projects.md)
279281
- [Learn more about Azure AI Studio](../what-is-ai-studio.md)
280282
- [Learn more about Azure AI hub resources](../concepts/ai-resources.md)
281283
- [Troubleshoot secure connectivity to a project](troubleshoot-secure-connection-project.md)

0 commit comments

Comments
 (0)