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/how-to-access-on-premises-resources.md
+27-8Lines changed: 27 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ author: Blackmist
16
16
17
17
To access your non-Azure resources located in a different virtual network or located entirely on-premises from your Azure Machine Learning workspace's managed virtual network, an Application Gateway must be configured. Through this Application Gateway, full end to end access can be configured to your resources.
18
18
19
-
Azure Application Gateway is a load balancer that makes routing decisions based on the URL of an HTTPS request. Azure Machine Learning supports using an application gateway to securely communicate with the following resources. For more on Application Gateway, see [What is Azure Application Gateway](/azure/application-gateway/overview).
19
+
Azure Application Gateway is a load balancer that makes routing decisions based on the URL of an HTTPS request. Azure Machine Learning supports using an application gateway to securely communicate with non-Azure resources. For more on Application Gateway, see [What is Azure Application Gateway](/azure/application-gateway/overview).
20
20
21
21
To access on-premises or custom virtual network resources from the managed virtual network, you configure an Application Gateway on your Azure virtual network. The application gateway is used for inbound access to the workspace. Once configured, you then create a private endpoint from the workspace's managed virtual network to the Application Gateway. With the private endpoint, the full end to end path is secured and not routed through the Internet.
22
22
@@ -30,7 +30,7 @@ To access on-premises or custom virtual network resources from the managed virtu
30
30
31
31
## Supported resources
32
32
33
-
Application Gateway is verified to support a private connection from the managed virtual network to:
33
+
Application Gateway supports any backend target resource that uses HTTP or HTTPS protocol. It's verified to support a private connection from the managed virtual network to:
34
34
- Jfrog Artifactory
35
35
- Snowflake Database
36
36
- Private APIs
@@ -43,7 +43,7 @@ Follow the [Quickstart: Direct web traffic using the portal](/azure/application-
43
43
44
44
- Ensure your Application Gateway is in the same region as the selected Azure Virtual Network.
45
45
- Azure Machine Learning only supports IPv4 for Application Gateway.
46
-
- With your Azure Virtual Network, one subnet can only be associated with one Application Gateway.
46
+
- With your Azure Virtual Network, select one dedicated subnet for your Application Gateway. No other resources can be deployed in this subnet.
47
47
48
48
1. From the __Frontends__ tab, Application Gateway doesn’t support private Frontend IP address only so Public IP addresses need to be selected or a new one created. Private IP addresses for the resources that the gateway connects to can be added within the range of the subnet you selected on the Basics tab.
49
49
@@ -56,7 +56,15 @@ Follow the [Quickstart: Direct web traffic using the portal](/azure/application-
56
56
- If you want end-to-end TLS encryption, select HTTPS listener and upload your own certificate for Application Gateway to decrypt request received by listener. For more information, see [Enabling end to end TLS on Azure Application Gateway](/azure/application-gateway/ssl-overview#end-to-end-tls-encryption).
57
57
- If you want a fully private backend target without any public network access, DO NOT setup a listener on the public frontend IP address and its associated routing rule. Application Gateway only forwards requests that listeners receive at the specific port. If you want to avoid adding public frontend IP listener by mistake, see [Network security rules](/azure/application-gateway/configuration-infrastructure#network-security-groups) to fully lock down public network access.
58
58
59
-
- In the __Backend targets__ section, if you want to use HTTPS and Backend server’s certificate is NOT issued by a well-known CA, you must upload the Root certificate (.CER) of the backend server. For more on configuring with a root certificate, see Configure end-to-end TLS encryption using the portal.
59
+
- In the __Backend targets__ section, if you want to use HTTPS and Backend server’s certificate is NOT issued by a well-known CA, you must upload the Root certificate (.CER) of the backend server. For more on configuring with a root certificate, see [Configure end-to-end TLS encryption using the portal](/azure/application-gateway/end-to-end-ssl-portal).
60
+
61
+
1. Once the Application Gateway resource is created, navigate to the new Application Gateway resource in the Azure portal. Under __Settings__, select, __Private link__ to enable the a virtual network to privately access the Application Gateway through a private endpoint connection. The Private link configuration is not created by default.
62
+
63
+
- Select __+ Add__ to add the Private Link configuration, and then use the following values to create the configuration:
64
+
- Name: Provide a name for your private link configuration
65
+
- Private link subnet: Select a subnet in your virtual network.
66
+
- Frontend IP Configuration: `appGwPrivateFrontendIpIPv4`
67
+
- To verify the Private link is set up correctly, navigate to the __Private endpoint connections__ tab and select __+ Private endpoint__. On the __Resource__ tab, the __Target sub-resource__ should be the name of your private Frontend IP configuration, `appGwPrivateFrontendIpIPv4`. If no value appears in the __Target sub-resource__ then the Application Gateway listener was not configured correctly.
60
68
61
69
## Configure private link
62
70
@@ -67,19 +75,21 @@ Follow the [Quickstart: Direct web traffic using the portal](/azure/application-
67
75
- Destination Type: Private Endpoint
68
76
- Subscription and Resource Group: Select the Subscription and Resource Group where your Application Gateway is deployed
- Resource name: The name of your Application Gateway resource
79
+
- Sub resource: `appGwPrivateFrontendIpIPv4`.
72
80
- FQDNs: These FQDNs are the aliases that you want to use inside the Azure Machine Learning workspace. They're resolved to the managed private endpoint’s private IP address targeting Application Gateway. You might include multiple FQDNs depending on how many resources you would like to connect to with the Application Gateway.
73
81
74
82
> [!NOTE]
75
83
> If you are using HTTPS listener with certificate uploaded, make sure the FQDN alias matches with the certificate's CN (Common Name) or SAN (Subject Alternative Name) otherwise HTTPS call will fail with SNI (Server Name Indication).
76
-
> The Application Gateway subresource name comes from the Application Gateway Listener which can be deleted after creation. ***
84
+
> The provided FQDNs must have at least three labels in the name to properly create the private DNS zone of thee private endpoint for Application Gateway.
85
+
> The FQDNs field is editable after the private endpoint creation through SDK or CLI. The field is not editable in the Azure portal.
86
+
> Dyname sub-resource naming is not supported for the private Frontend IP configuration. The Frontend IP name must be `appGwPrivateFrontendIpIPv4`.
77
87
78
88
### Configure using Python SDK and Azure CLI
79
89
80
90
To create a private endpoint to Application Gateway with SDK, see [Azure SDK for Python](/python/api/azure-ai-ml/azure.ai.ml.entities.privateendpointdestination).
81
91
82
-
To create a private endpoint to Application Gateway with the Azure CLI, see [Configure a managed network](how-to-managed-network.md?tabs=azure-cli).
92
+
To create a private endpoint to Application Gateway with the Azure CLI, use the `az ml workspace outbound-rule set` command. Set additional properties as needed for your configuration. For more information, see [Configure a managed network](how-to-managed-network.md?tabs=azure-cli).
83
93
84
94
## Limitations
85
95
@@ -88,6 +98,15 @@ To create a private endpoint to Application Gateway with the Azure CLI, see [Con
88
98
- The Snowflake JDBC driver uses HTTPS calls, but different drivers might have different implementations. Check if your resource uses HTTP(S) protocol or not.
89
99
- For more information on limitations, see [Frequently asked questions about Application Gateway](/azure/application-gateway/application-gateway-faq).
90
100
101
+
## Application Gateway Errors
102
+
103
+
For errors related to the Application Gateway connection to your backend resources, follow the existing Application Gateway documentation based on the errors you receive:
104
+
105
+
-[Troubleshoot backend health issues in Application Gateway](/azure/application-gateway/application-gateway-backend-health-troubleshooting)
106
+
-[Troubleshooting bad gateway errors in Application Gateway](/azure/application-gateway/application-gateway-troubleshooting-502)
107
+
-[HTTP response codes in Application Gateway](/azure/application-gateway/http-response-codes)
0 commit comments