Skip to content

Commit 9583246

Browse files
Merge pull request #108842 from Blackmist/azureml-firewall
azureml-firewall
2 parents 668664f + 83f6701 commit 9583246

File tree

4 files changed

+76
-17
lines changed

4 files changed

+76
-17
lines changed

articles/machine-learning/concept-enterprise-security.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,7 @@ Here are the details:
380380

381381
* [Secure Azure Machine Learning web services with TLS](how-to-secure-web-service.md)
382382
* [Consume a Machine Learning model deployed as a web service](how-to-consume-web-service.md)
383-
* [How to run batch predictions](how-to-use-parallel-run-step.md)
384-
* [Monitor your Azure Machine Learning models with Application Insights](how-to-enable-app-insights.md)
385-
* [Collect data for models in production](how-to-enable-data-collection.md)
386-
* [Azure Machine Learning SDK](https://docs.microsoft.com/python/api/overview/azure/ml/intro?view=azure-ml-py)
383+
* [Use Azure Machine Learning with Azure Firewall](how-to-access-azureml-behind-firewall.md)
387384
* [Use Azure Machine Learning with Azure Virtual Network](how-to-enable-virtual-network.md)
388385
* [Best practices for building recommendation systems](https://github.com/Microsoft/Recommenders)
389386
* [Build a real-time recommendation API on Azure](https://docs.microsoft.com/azure/architecture/reference-architectures/ai/real-time-recommendation)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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)

articles/machine-learning/how-to-enable-virtual-network.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -505,19 +505,7 @@ To use ACI in a virtual network to your workspace, use the following steps:
505505
506506
## Use Azure Firewall
507507
508-
When using Azure Firewall, you must configure a network rule to allow traffic to and from the following addresses:
509-
510-
- `*.batchai.core.windows.net`
511-
- `ml.azure.com`
512-
- `*.azureml.ms`
513-
- `*.experiments.azureml.net`
514-
- `*.modelmanagement.azureml.net`
515-
- `mlworkspace.azure.ai`
516-
- `*.aether.ms`
517-
518-
When adding the rule, set the __Protocol__ to any, and the ports to `*`.
519-
520-
For more information on configuring a network rule, see [Deploy and configure Azure Firewall](/azure/firewall/tutorial-firewall-deploy-portal#configure-a-network-rule).
508+
For information on using Azure Machine Learning with Azure Firewall, see [Use Azure Machine Learning workspace behind Azure Firewall](how-to-access-azureml-behind-firewall.md).
521509
522510
## Use Azure Container Registry
523511

articles/machine-learning/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@
158158
href: how-to-use-azure-ad-identity.md
159159
- name: Regenerate storage access keys
160160
href: how-to-change-storage-access-key.md
161+
- name: Use Azure Firewall
162+
href: how-to-access-azureml-behind-firewall.md
161163
- name: Set up authentication
162164
displayName: authentication, auth, oauth
163165
href: how-to-setup-authentication.md

0 commit comments

Comments
 (0)