Skip to content

Commit f9f5cb9

Browse files
Merge pull request #270729 from eric-urban/patch-1
Clarify Azure AI hub
2 parents e2ab541 + a1fb4f5 commit f9f5cb9

File tree

1 file changed

+34
-32
lines changed

1 file changed

+34
-32
lines changed

articles/ai-studio/how-to/configure-managed-network.md

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
---
2-
title: How to configure a managed network for Azure AI
2+
title: How to configure a managed network for Azure AI hubs
33
titleSuffix: Azure AI Studio
4-
description: Learn how to configure a managed network for Azure AI
4+
description: Learn how to configure a managed network for Azure AI hubs
55
manager: scottpolly
66
ms.service: azure-ai-studio
77
ms.custom:
88
- ignite-2023
99
ms.topic: how-to
10-
ms.date: 02/13/2024
10+
ms.date: 3/30/2024
1111
ms.reviewer: jhirono
1212
ms.author: larryfr
1313
author: Blackmist
1414
---
1515

16-
# How to configure a managed network for Azure AI
16+
# How to configure a managed network for Azure AI hubs
1717

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

20-
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 latter highlighted in the diagram. You can use Azure AI built-in network isolation to protect your computing resources.
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 instance, serverless and managed online endpoint. This document explains the latter highlighted in the diagram. You can use Azure AI hub built-in network isolation to protect your computing resources.
2121

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

2424
You need to configure following network isolation configurations.
2525

2626
- Choose network isolation mode. You have two options: allow internet outbound mode or allow only approved outbound mode.
27-
- Create private endpoint outbound rules to your private Azure resources. Note that private Azure AI Services and Azure AI Search are not supported yet.
27+
- Create private endpoint outbound rules to your private Azure resources. Note that private Azure AI services and Azure AI Search are not supported yet.
2828
- If you use Visual Studio Code integration with allow only approved outbound mode, create FQDN outbound rules described in the [use Visual Studio Code](#scenario-use-visual-studio-code) section.
2929
- If you use HuggingFace models in Models with allow only approved outbound mode, create FQDN outbound rules described in the [use HuggingFace models](#scenario-use-huggingface-models) section.
3030

3131
## Network isolation architecture and isolation modes
3232

33-
When you enable managed virtual network isolation, a managed virtual network is created for the Azure AI. Managed compute resources you create for the Azure AI automatically use this managed VNet. The managed VNet can use private endpoints for Azure resources that are used by your Azure AI, such as Azure Storage, Azure Key Vault, and Azure Container Registry.
33+
When you enable managed virtual network isolation, a managed virtual network is created for the Azure AI hub. Managed compute resources you create for the Azure AI hub automatically use this managed VNet. The managed VNet can use private endpoints for Azure resources that are used by your Azure AI hub, such as Azure Storage, Azure Key Vault, and Azure Container Registry.
3434

3535
There are three different configuration modes for outbound traffic from the managed VNet:
3636

3737
| Outbound mode | Description | Scenarios |
3838
| ----- | ----- | ----- |
3939
| Allow internet outbound | Allow all internet outbound traffic from the managed VNet. | You want unrestricted access to machine learning resources on the internet, such as python packages or pretrained models.<sup>1</sup> |
4040
| Allow only approved outbound | Outbound traffic is allowed by specifying service tags. | * You want to minimize the risk of data exfiltration, but you need to prepare all required machine learning artifacts in your private environment.</br>* You want to configure outbound access to an approved list of services, service tags, or FQDNs. |
41-
| Disabled | Inbound and outbound traffic isn't restricted. | You want public inbound and outbound from the Azure AI. |
41+
| Disabled | Inbound and outbound traffic isn't restricted. | You want public inbound and outbound from the Azure AI hub. |
4242

4343
<sup>1</sup> You can use outbound rules with _allow only approved outbound_ mode to achieve the same result as using allow internet outbound. The differences are:
4444

@@ -47,7 +47,7 @@ There are three different configuration modes for outbound traffic from the mana
4747
* Adding FQDN outbound rules __increase your costs__ as this rule type uses Azure Firewall.
4848
* The default rules for _allow only approved outbound_ are designed to minimize the risk of data exfiltration. Any outbound rules you add might increase your risk.
4949

50-
The managed VNet is preconfigured with [required default rules](#list-of-required-rules). It's also configured for private endpoint connections to your Azure AI, Azure AI's default storage, container registry and key vault __if they're configured as private__ or __the Azure AI isolation mode is set to allow only approved outbound__. After choosing the isolation mode, you only need to consider other outbound requirements you might need to add.
50+
The managed VNet is preconfigured with [required default rules](#list-of-required-rules). It's also configured for private endpoint connections to your Azure AI hub, Azure AI hub's default storage, container registry and key vault __if they're configured as private__ or __the Azure AI hub isolation mode is set to allow only approved outbound__. After choosing the isolation mode, you only need to consider other outbound requirements you might need to add.
5151

5252
The following diagram shows a managed VNet configured to __allow internet outbound__:
5353

@@ -56,7 +56,7 @@ The following diagram shows a managed VNet configured to __allow internet outbou
5656
The following diagram shows a managed VNet configured to __allow only approved outbound__:
5757

5858
> [!NOTE]
59-
> In this configuration, the storage, key vault, and container registry used by the Azure AI are flagged as private. Since they are flagged as private, a private endpoint is used to communicate with them.
59+
> In this configuration, the storage, key vault, and container registry used by the Azure AI hub are flagged as private. Since they are flagged as private, a private endpoint is used to communicate with them.
6060
6161
:::image type="content" source="../media/how-to/network/only-approved-outbound.svg" alt-text="Diagram of managed VNet isolation configured for allow only approved outbound." lightbox="../media/how-to/network/only-approved-outbound.png":::
6262

@@ -67,23 +67,24 @@ The following diagram shows a managed VNet configured to __allow only approved o
6767
6868
# [Azure CLI](#tab/azure-cli)
6969

70-
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#configure-a-managed-virtual-network-to-allow-internet-outbound). Use your Azure AI name as workspace name in Azure Machine Learning CLI.
70+
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#configure-a-managed-virtual-network-to-allow-internet-outbound). Use your Azure AI hub name as workspace name in Azure Machine Learning CLI.
7171

7272
# [Python SDK](#tab/python)
7373

7474
Not available.
7575

7676
# [Azure portal](#tab/portal)
7777

78-
* __Create a new Azure AI__:
78+
* __Create a new Azure AI hub__:
7979

80-
1. Sign in to the [Azure portal](https://portal.azure.com), and choose Azure AI from Create a resource menu.
80+
1. Sign in to the [Azure portal](https://portal.azure.com), and choose Azure AI Studio from Create a resource menu.
81+
1. Select **+ New Azure AI**.
8182
1. Provide the required information on the __Basics__ tab.
8283
1. From the __Networking__ tab, select __Private with Internet Outbound__.
8384
1. To add an _outbound rule_, select __Add user-defined outbound rules__ from the __Networking__ tab. From the __Workspace outbound rules__ sidebar, provide the following information:
8485

8586
* __Rule name__: A name for the rule. The name must be unique for this workspace.
86-
* __Destination type__: Private Endpoint is the only option when the network isolation is private with internet outbound. Azure AI managed VNet doesn't support creating a private endpoint to all Azure resource types. For a list of supported resources, see the [Private endpoints](#private-endpoints) section.
87+
* __Destination type__: Private Endpoint is the only option when the network isolation is private with internet outbound. Azure AI hub managed VNet doesn't support creating a private endpoint to all Azure resource types. For a list of supported resources, see the [Private endpoints](#private-endpoints) section.
8788
* __Subscription__: The subscription that contains the Azure resource you want to add a private endpoint for.
8889
* __Resource group__: The resource group that contains the Azure resource you want to add a private endpoint for.
8990
* __Resource type__: The type of the Azure resource.
@@ -96,7 +97,7 @@ Not available.
9697

9798
* __Update an existing workspace__:
9899

99-
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI that you want to enable managed VNet isolation for.
100+
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI hub that you want to enable managed VNet isolation for.
100101
1. Select __Networking__, then select __Private with Internet Outbound__.
101102

102103
* To _add_ an _outbound rule_, select __Add user-defined outbound rules__ from the __Networking__ tab. From the __Workspace outbound rules__ sidebar, provide the same information as used when creating a workspace in the 'Create a new workspace' section.
@@ -114,17 +115,18 @@ Not available.
114115
115116
# [Azure CLI](#tab/azure-cli)
116117

117-
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#configure-a-managed-virtual-network-to-allow-only-approved-outbound). Use your Azure AI name as workspace name in Azure Machine Learning CLI.
118+
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#configure-a-managed-virtual-network-to-allow-only-approved-outbound). Use your Azure AI hub name as workspace name in Azure Machine Learning CLI.
118119

119120
# [Python SDK](#tab/python)
120121

121122
Not available.
122123

123124
# [Azure portal](#tab/portal)
124125

125-
* __Create a new Azure AI__:
126+
* __Create a new Azure AI hub__:
126127

127-
1. Sign in to the [Azure portal](https://portal.azure.com), and choose Azure AI from Create a resource menu.
128+
1. Sign in to the [Azure portal](https://portal.azure.com), and choose Azure AI Studio from Create a resource menu.
129+
1. Select **+ New Azure AI**.
128130
1. Provide the required information on the __Basics__ tab.
129131
1. From the __Networking__ tab, select __Private with Approved Outbound__.
130132

@@ -142,7 +144,7 @@ Not available.
142144
* __Sub Resource__: The sub resource of the Azure resource type.
143145

144146
> [!TIP]
145-
> Azure AI managed VNet doesn't support creating a private endpoint to all Azure resource types. For a list of supported resources, see the [Private endpoints](#private-endpoints) section.
147+
> Azure AI hub managed VNet doesn't support creating a private endpoint to all Azure resource types. For a list of supported resources, see the [Private endpoints](#private-endpoints) section.
146148
147149
If the destination type is __Service Tag__, provide the following information:
148150

@@ -163,7 +165,7 @@ Not available.
163165

164166
* __Update an existing workspace__:
165167

166-
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI that you want to enable managed VNet isolation for.
168+
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI hub that you want to enable managed VNet isolation for.
167169
1. Select __Networking__, then select __Private with Approved Outbound__.
168170

169171
* To _add_ an _outbound rule_, select __Add user-defined outbound rules__ from the __Networking__ tab. From the __Workspace outbound rules__ sidebar, provide the same information as when creating a workspace in the previous 'Create a new workspace' section.
@@ -179,15 +181,15 @@ Not available.
179181

180182
# [Azure CLI](#tab/azure-cli)
181183

182-
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#manage-outbound-rules). Use your Azure AI name as workspace name in Azure Machine Learning CLI.
184+
Not available in AI CLI, but you can use [Azure Machine Learning CLI](../../machine-learning/how-to-managed-network.md#manage-outbound-rules). Use your Azure AI hub name as workspace name in Azure Machine Learning CLI.
183185

184186
# [Python SDK](#tab/python)
185187

186188
Not available.
187189

188190
# [Azure portal](#tab/portal)
189191

190-
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI that you want to enable managed VNet isolation for.
192+
1. Sign in to the [Azure portal](https://portal.azure.com), and select the Azure AI hub that you want to enable managed VNet isolation for.
191193
1. Select __Networking__. The __Azure AI Outbound access__ section allows you to manage outbound rules.
192194

193195
* To _add_ an _outbound rule_, select __Add user-defined outbound rules__ from the __Networking__ tab. From the __Azure AI outbound rules__ sidebar, provide the following information:
@@ -204,8 +206,8 @@ Not available.
204206
> These rules are automatically added to the managed VNet.
205207
206208
__Private endpoints__:
207-
* When the isolation mode for the managed VNet is `Allow internet outbound`, private endpoint outbound rules are automatically created as required rules from the managed VNet for the Azure AI and associated resources __with public network access disabled__ (Key Vault, Storage Account, Container Registry, Azure AI).
208-
* When the isolation mode for the managed VNet is `Allow only approved outbound`, private endpoint outbound rules are automatically created as required rules from the managed VNet for the Azure AI and associated resources __regardless of public network access mode for those resources__ (Key Vault, Storage Account, Container Registry, Azure AI).
209+
* When the isolation mode for the managed VNet is `Allow internet outbound`, private endpoint outbound rules are automatically created as required rules from the managed VNet for the Azure AI hub and associated resources __with public network access disabled__ (Key Vault, Storage Account, Container Registry, Azure AI hub).
210+
* When the isolation mode for the managed VNet is `Allow only approved outbound`, private endpoint outbound rules are automatically created as required rules from the managed VNet for the Azure AI hub and associated resources __regardless of public network access mode for those resources__ (Key Vault, Storage Account, Container Registry, Azure AI hub).
209211

210212
__Outbound__ service tag rules:
211213

@@ -244,7 +246,7 @@ To allow installation of __Python packages for training and deployment__, add ou
244246
Visual Studio Code relies on specific hosts and ports to establish a remote connection.
245247

246248
#### Hosts
247-
If you plan to use __Visual Studio Code__ with Azure AI, add outbound _FQDN_ rules to allow traffic to the following hosts:
249+
If you plan to use __Visual Studio Code__ with the Azure AI hub, add outbound _FQDN_ rules to allow traffic to the following hosts:
248250

249251
> [!WARNING]
250252
> FQDN outbound rules are implemented using Azure Firewall. If you use outbound FQDN rules, charges for Azure Firewall are included in your billing. For more information, see [Pricing](#pricing).
@@ -269,7 +271,7 @@ You must allow network traffic to ports 8704 to 8710. The VS Code server dynamic
269271

270272
### Scenario: Use HuggingFace models
271273

272-
If you plan to use __HuggingFace models__ with Azure AI, add outbound _FQDN_ rules to allow traffic to the following hosts:
274+
If you plan to use __HuggingFace models__ with the Azure AI hub, add outbound _FQDN_ rules to allow traffic to the following hosts:
273275

274276
> [!WARNING]
275277
> FQDN outbound rules are implemented using Azure Firewall. If you use outbound FQDN rules, charges for Azure Firewall are included in your billing. For more information, see [Pricing](#pricing).
@@ -285,7 +287,7 @@ If you plan to use __HuggingFace models__ with Azure AI, add outbound _FQDN_ rul
285287

286288
Private endpoints are currently supported for the following Azure services:
287289

288-
* Azure AI
290+
* Azure AI hub
289291
* Azure Machine Learning
290292
* Azure Machine Learning registries
291293
* Azure Storage (all sub resource types)
@@ -306,24 +308,24 @@ Private endpoints are currently supported for the following Azure services:
306308

307309
When you create a private endpoint, you provide the _resource type_ and _subresource_ that the endpoint connects to. Some resources have multiple types and subresources. For more information, see [what is a private endpoint](/azure/private-link/private-endpoint-overview).
308310

309-
When you create a private endpoint for Azure AI dependency resources, such as Azure Storage, Azure Container Registry, and Azure Key Vault, the resource can be in a different Azure subscription. However, the resource must be in the same tenant as the Azure AI.
311+
When you create a private endpoint for Azure AI hub dependency resources, such as Azure Storage, Azure Container Registry, and Azure Key Vault, the resource can be in a different Azure subscription. However, the resource must be in the same tenant as the Azure AI hub.
310312

311313
A private endpoint is automatically created for a connection if the target resource is an Azure resource listed above. A valid target ID is expected for the private endpoint. A valid target ID for the connection can be the ARM ID of a parent resource. The target ID is also expected in the target of the connection or in `metadata.resourceid`. For more on connections, see [How to add a new connection in Azure AI Studio](connections-add.md).
312314

313315
## Pricing
314316

315-
The Azure AI managed VNet feature is free. However, you're charged for the following resources that are used by the managed VNet:
317+
The Azure AI hub managed VNet feature is free. However, you're charged for the following resources that are used by the managed VNet:
316318

317319
* Azure Private Link - Private endpoints used to secure communications between the managed VNet and Azure resources relies on Azure Private Link. For more information on pricing, see [Azure Private Link pricing](https://azure.microsoft.com/pricing/details/private-link/).
318-
* FQDN outbound rules - FQDN outbound rules are implemented using Azure Firewall. If you use outbound FQDN rules, charges for Azure Firewall are included in your billing. Azure Firewall SKU is standard. Azure Firewall is provisioned per Azure AI.
320+
* FQDN outbound rules - FQDN outbound rules are implemented using Azure Firewall. If you use outbound FQDN rules, charges for Azure Firewall are included in your billing. Azure Firewall SKU is standard. Azure Firewall is provisioned per Azure AI hub.
319321

320322
> [!IMPORTANT]
321323
> The firewall isn't created until you add an outbound FQDN rule. If you don't use FQDN rules, you will not be charged for Azure Firewall. For more information on pricing, see [Azure Firewall pricing](https://azure.microsoft.com/pricing/details/azure-firewall/).
322324
323325
## Limitations
324326

325327
* Azure AI Studio currently doesn't support bring your own virtual network, it only supports managed VNet isolation.
326-
* Azure AI services provisioned with Azure AI and Azure AI Search attached with Azure AI should be public.
328+
* Azure AI services provisioned with Azure AI hub and Azure AI Search attached with Azure AI hub should be public.
327329
* The "Add your data" feature in the Azure AI Studio playground doesn't support private storage account.
328330
* Once you enable managed VNet isolation of your Azure AI, you can't disable it.
329331
* Managed VNet uses private endpoint connection to access your private resources. You can't have a private endpoint and a service endpoint at the same time for your Azure resources, such as a storage account. We recommend using private endpoints in all scenarios.

0 commit comments

Comments
 (0)