|
| 1 | +--- |
| 2 | +title: Use Azure Machine Learning behind a firewall |
| 3 | +titleSuffix: Azure Machine Learning |
| 4 | +description: 'Securely use Azure Machine Learning behind Azure Firewall. Learn about the hosts that you must allow through the firewall for Azure Machine Learning to function correctly.' |
| 5 | +services: machine-learning |
| 6 | +ms.service: machine-learning |
| 7 | +ms.subservice: core |
| 8 | +ms.topic: conceptual |
| 9 | +ms.author: aashishb |
| 10 | +author: aashishb |
| 11 | +ms.reviewer: larryfr |
| 12 | +ms.date: 04/27/2020 |
| 13 | +--- |
| 14 | + |
| 15 | +# Use Azure Machine Learning workspace behind Azure Firewall |
| 16 | + |
| 17 | +This article contains information on configuring Azure Firewall for use with Azure Machine Learning. |
| 18 | + |
| 19 | +Azure Firewall can be used to control access to your Azure Machine Learning workspace and the public internet. If not configured correctly, the firewall can cause problems using your workspace. |
| 20 | + |
| 21 | +## Network rules |
| 22 | + |
| 23 | +On your firewall, create a network rule allowing traffic to and from the addresses in this article. |
| 24 | + |
| 25 | +> [!TIP] |
| 26 | +> When adding the network rule, set the __Protocol__ to any, and the ports to `*`. |
| 27 | +> |
| 28 | +> For more information on configuring Azure Firewall, see [Deploy and configure Azure Firewall](../firewall/tutorial-firewall-deploy-portal.md#configure-a-network-rule). |
| 29 | +
|
| 30 | +## Microsoft hosts |
| 31 | + |
| 32 | +The hosts in this section are owned by Microsoft, and provide services required for the proper functioning of your workspace. |
| 33 | + |
| 34 | +| **Host name** | **Purpose** | |
| 35 | +| ---- | ---- | |
| 36 | +| **\*.batchai.core.windows.net** | Training clusters | |
| 37 | +| **ml.azure.com** | Azure Machine Learning studio | |
| 38 | +| **\*.azureml.ms** | Used by Azure Machine Learning APIs | |
| 39 | +| **\*.experiments.azureml.net** | Used by experiments running in Azure Machine Learning| |
| 40 | +| **\*.modelmanagement.azureml.net** | Used to register and deploy models| |
| 41 | +| **mlworkspace.azure.ai** | Used by the Azure portal when viewing a workspace | |
| 42 | +| **\*.aether.ms** | Used when running Azure Machine Learning pipelines | |
| 43 | +| **\*.instances.azureml.net** | Azure Machine Learning compute instances | |
| 44 | +| **windows.net** | Azure Blob Storage | |
| 45 | +| **vault.azure.net** | Azure Key Vault | |
| 46 | +| **microsoft.com** | Base docker images | |
| 47 | +| **azurecr.io** | Azure Container Registry | |
| 48 | + |
| 49 | +## Python hosts |
| 50 | + |
| 51 | +The hosts in this section are used to install Python packages. They are required during development, training, and deployment. |
| 52 | + |
| 53 | +| **Host name** | **Purpose** | |
| 54 | +| ---- | ---- | |
| 55 | +| **anaconda.com** | Used when installing conda packages | |
| 56 | +| **pypi.org** | Used when installing pip packages | |
| 57 | + |
| 58 | +## R hosts |
| 59 | + |
| 60 | +The hosts in this section are used to install R packages. They are required during development, training, and deployment. |
| 61 | + |
| 62 | +> [!IMPORTANT] |
| 63 | +> Internally, the R SDK for Azure Machine Learning uses Python packages. So you must also allow Python hosts through the firewall. |
| 64 | +
|
| 65 | +| **Host name** | **Purpose** | |
| 66 | +| ---- | ---- | |
| 67 | +| **cloud.r-project.org** | Used when installing CRAN packages. | |
| 68 | + |
| 69 | +Next steps |
| 70 | + |
| 71 | +* [[Deploy and configure Azure Firewall](../firewall/tutorial-firewall-deploy-portal.md)] |
| 72 | +* [Secure Azure ML experimentation and inference jobs within an Azure Virtual Network](how-to-enable-virtual-network.md) |
0 commit comments