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
Copy file name to clipboardExpand all lines: articles/machine-learning/service/how-to-enable-virtual-network.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Run experiments and inference in a virtual network
3
3
titleSuffix: Azure Machine Learning service
4
-
description: Run machine learning experiments and inference securing within an Azure virtual network.
4
+
description: Run machine learning experiments and inference securing within an Azure virtual network. Learn how to create compute targets for model training and how to run inference within a virtual network. Learn about requirements for secured virtual networks, such as requiring inbound and outbound ports.
5
5
services: machine-learning
6
6
ms.service: machine-learning
7
7
ms.subservice: core
@@ -15,7 +15,7 @@ ms.date: 08/05/2019
15
15
16
16
# Run experiments and inference securely within an Azure virtual network
17
17
18
-
In this article, you learn how to run experiments and inference, or model scoring, within a virtual network. A virtual network acts as a security boundary, isolating your Azure resources from the public internet. You can also join an Azure virtual network to your on-premises network. By joining networks, you can securely train your models and access your deployed models for inference. Inference is the phase during which the deployed model is used for prediction, most commonly on production data.
18
+
In this article, you learn how to run experiments and inference, or model scoring, within a virtual network. A virtual network acts as a security boundary, isolating your Azure resources from the public internet. You can also join an Azure virtual network to your on-premises network. By joining networks, you can securely train your models and access your deployed models for inference. Inference, or model scoring, is the phase during which the deployed model is used for prediction, most commonly on production data.
19
19
20
20
The Azure Machine Learning service relies on other Azure services for compute resources. Compute resources, or compute targets, are used to train and deploy models. The targets can be created within a virtual network. For example, you can use Microsoft Data Science Virtual Machine to train a model and then deploy the model to Azure Kubernetes Service (AKS). For more information about virtual networks, see [Azure Virtual Network overview](https://docs.microsoft.com/azure/virtual-network/virtual-networks-overview).
21
21
@@ -99,7 +99,7 @@ To use an Azure Machine Learning Compute instance in a virtual network, consider
99
99
100
100
- The subnet that's specified for the compute cluster must have enough unassigned IP addresses to accommodate the number of VMs that are targeted for the cluster. If the subnet doesn't have enough unassigned IP addresses, the cluster will be partially allocated.
101
101
102
-
- If you plan to secure the virtual network by restricting traffic, leave some ports openfor the compute service. For more information, see the "Required ports" section.
102
+
- If you plan to secure the virtual network by restricting traffic, leave some ports openfor the compute service. For more information, see the [Required ports](#mlcports) section.
103
103
104
104
- Check to see whether your security policies or locks on the virtual network's subscription or resource group restrict permissions to manage the virtual network.
105
105
@@ -115,7 +115,7 @@ To use an Azure Machine Learning Compute instance in a virtual network, consider
115
115
116
116
These resources are limited by the subscription's [resource quotas](https://docs.microsoft.com/azure/azure-subscription-service-limits).
117
117
118
-
### Required ports
118
+
### <a id="mlcports"></a> Required ports
119
119
120
120
Machine Learning Compute currently uses the Azure Batch service to provision VMs in the specified virtual network. The subnet must allow inbound communication from the Batch service. You use this communication to schedule runs on the Machine Learning Compute nodes and to communicate with Azure Storage and other resources. The Batch service adds network security groups (NSGs) at the level of network interfaces (NICs) that are attached to VMs. These NSGs automatically configure inbound and outbound rules to allow the following traffic:
121
121
@@ -139,7 +139,7 @@ The NSG rule configuration in the Azure portal is shown in the following images:
139
139
140
140

141
141
142
-
### Limit outbound connectivity from the virtual network
142
+
### <a id="limiting-outbound-from-vnet"></a> Limit outbound connectivity from the virtual network
143
143
144
144
If you don't want to use the default outbound rules and you do want to limit the outbound access of your virtual network, do the following:
145
145
@@ -255,7 +255,7 @@ To use a virtual machine or Azure HDInsight cluster in a virtual network with yo
255
255
256
256
Keep the default outbound rules for the network security group. For more information, see the default security rules in [Security groups](https://docs.microsoft.com/azure/virtual-network/security-overview#default-security-rules).
257
257
258
-
If you don't want to use the default outbound rules and you do want to limit the outbound access of your virtual network, see the "Limit outbound connectivity from the virtual network" section.
258
+
If you don't want to use the default outbound rules and you do want to limit the outbound access of your virtual network, see the [Limit outbound connectivity from the virtual network](#limiting-outbound-from-vnet) section.
259
259
260
260
1. Attach the VMor HDInsight cluster to your Azure Machine Learning service workspace. For more information, see [Set up compute targets for model training](how-to-set-up-training-targets.md).
0 commit comments