Skip to content

Commit 2ada4bc

Browse files
Merge pull request #225368 from Blackmist/npip-update
Npip update
2 parents 2107324 + c7b4d9e commit 2ada4bc

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

articles/machine-learning/how-to-secure-training-vnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ In this article you learn how to secure the following training compute resources
100100
> If you have been using compute instances or compute clusters configured for no public IP without opting-in to the preview, you will need to delete and recreate them after January 20 (when the feature is generally available).
101101
>
102102
> If you were previously using the preview of no public IP, you may also need to modify what traffic you allow inbound and outbound, as the requirements have changed for general availability:
103-
> * Outbound requirements - Two additional outbounds:
103+
> * Outbound requirements - Two additional outbound, which are only used for the management of compute instances and clusters. The destination of these service tags are owned by Microsoft:
104104
> - `AzureMachineLearning` service tag on UDP port 5831.
105105
> - `BatchNodeManagement` service tag on TCP port 443.
106106

articles/machine-learning/v1/how-to-secure-training-vnet.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,49 @@ For more information on using Azure Databricks in a virtual network, see [Deploy
106106

107107
## Compute instance/cluster with no public IP
108108

109+
> [!IMPORTANT]
110+
> If you have been using compute instances or compute clusters configured for no public IP without opting-in to the preview, you will need to delete and recreate them after January 20 (when the feature is generally available).
111+
>
112+
> If you were previously using the preview of no public IP, you may also need to modify what traffic you allow inbound and outbound, as the requirements have changed for general availability:
113+
> * Outbound requirements - Two additional outbound, which are only used for the management of compute instances and clusters. The destination of these service tags are owned by Microsoft:
114+
> - `AzureMachineLearning` service tag on UDP port 5831.
115+
> - `BatchNodeManagement` service tag on TCP port 443.
116+
117+
The following configurations are in addition to those listed in the [Prerequisites](#prerequisites) section, and are specific to **creating** a compute instances/clusters configured for no public IP:
118+
119+
+ Your workspace must use a private endpoint to connect to the VNet. For more information, see [Configure a private endpoint for Azure Machine Learning workspace](how-to-configure-private-link.md).
120+
121+
+ In your VNet, allow **outbound** traffic to the following service tags or fully qualified domain names (FQDN):
122+
123+
| Service tag | Protocol | Port | Notes |
124+
| ----- |:-----:|:-----:| ----- |
125+
| `AzureMachineLearning` | TCP<br>UDP | 443/8787/18881<br>5831 | Communication with the Azure Machine Learning service.|
126+
| `BatchNodeManagement.<region>` | ANY | 443| Replace `<region>` with the Azure region that contains your Azure Machine learning workspace. Communication with Azure Batch. Compute instance and compute cluster are implemented using the Azure Batch service.|
127+
| `Storage.<region>` | TCP | 443 | Replace `<region>` with the Azure region that contains your Azure Machine learning workspace. This service tag is used to communicate with the Azure Storage account used by Azure Batch. |
128+
129+
> [!IMPORTANT]
130+
> The outbound access to `Storage.<region>` could potentially be used to exfiltrate data from your workspace. By using a Service Endpoint Policy, you can mitigate this vulnerability. For more information, see the [Azure Machine Learning data exfiltration prevention](../how-to-prevent-data-loss-exfiltration.md) article.
131+
132+
| FQDN | Protocol | Port | Notes |
133+
| ---- |:----:|:----:| ---- |
134+
| `<region>.tundra.azureml.ms` | UDP | 5831 | Replace `<region>` with the Azure region that contains your Azure Machine learning workspace. |
135+
| `graph.windows.net` | TCP | 443 | Communication with the Microsoft Graph API.|
136+
| `*.instances.azureml.ms` | TCP | 443/8787/18881 | Communication with Azure Machine Learning. |
137+
| `<region>.batch.azure.com` | ANY | 443 | Replace `<region>` with the Azure region that contains your Azure Machine learning workspace. Communication with Azure Batch. |
138+
| `<region>.service.batch.com` | ANY | 443 | Replace `<region>` with the Azure region that contains your Azure Machine learning workspace. Communication with Azure Batch. |
139+
| `*.blob.core.windows.net` | TCP | 443 | Communication with Azure Blob storage. |
140+
| `*.queue.core.windows.net` | TCP | 443 | Communication with Azure Queue storage. |
141+
| `*.table.core.windows.net` | TCP | 443 | Communication with Azure Table storage. |
142+
143+
144+
+ Create either a firewall and outbound rules or a NAT gateway and network service groups to allow outbound traffic. Since the compute has no public IP address, it can't communicate with resources on the public internet without this configuration. For example, it wouldn't be able to communicate with Azure Active Directory or Azure Resource Manager. Installing Python packages from public sources would also require this configuration.
145+
146+
For more information on the outbound traffic that is used by Azure Machine Learning, see the following articles:
147+
- [Configure inbound and outbound network traffic](../how-to-access-azureml-behind-firewall.md).
148+
- [Azure's outbound connectivity methods](/azure/load-balancer/load-balancer-outbound-connections#scenarios).
149+
150+
Use the following information to create a compute instance or cluster with no public IP address:
151+
109152
To create a compute instance or compute cluster with no public IP, use the Azure Machine Learning studio UI to create the resource:
110153

111154
1. Sign in to the [Azure Machine Learning studio](https://ml.azure.com), and then select your subscription and workspace.

0 commit comments

Comments
 (0)