Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Hyperconverged deployments of Azure Local
This article describes how to enable Azure Arc gateway on an existing Azure Local instance. Arc gateway reduces the number of outbound endpoints that you need to allow by providing a common entry point for Azure Arc traffic to allowed endpoints.
Important
This feature is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
For an overview of the architecture and traffic flows, see About Azure Arc gateway for Azure Local.
Key considerations
- Your Azure Local instance must run solution version 2610 or later.
- You can't disable Arc gateway after you enable it in this preview.
- Existing AKS clusters don't automatically receive proxy changes made during gateway enablement. Record and validate their current proxy and bypass configuration separately.
- Keep the existing endpoint allow list available until gateway enablement and all validation checks succeed.
How the configuration changes traffic flow
After you enable Arc gateway:
- Each Azure Local machine sends HTTPS traffic through the Arc proxy at
http://localhost:40343, except for destinations in the local bypass list. The gateway tunnel handles traffic to allowed endpoints unless the endpoint is configured ingatewayBypass. - HTTP traffic doesn't tunnel through Arc gateway. Its configured proxy first hop and its onward path through the enterprise proxy or firewall are separate from gateway tunnel eligibility.
- Azure Arc resource bridge uses the cluster IP as its forward proxy, which sends HTTPS traffic to allowed endpoints through the Arc proxy on the Azure Local machine that owns the cluster IP, subject to the bypass configuration.
- HTTPS traffic to endpoints that Arc gateway doesn't allow uses the fallback path through your enterprise proxy or firewall.
The configuration workflow associates the Azure Local machines and Azure Arc resource bridge with the gateway, configures their proxy settings, and updates the instance configuration used by subsequent lifecycle operations.
Prerequisites
Before you begin, confirm the following requirements:
- All machines show Connected, Azure Arc resource bridge shows Running, and the instance is healthy.
- An Arc gateway resource already exists in the same tenant and subscription as the Azure Local instance.
- You have permissions to view the existing Arc gateway resource and configure the Azure Local resource.
- You coordinated the change with your network and security teams.
- You recorded the current local bypass lists, the gateway's
gatewayBypassentries, and the proxy configuration and connectivity requirements of any existing AKS clusters. Don't assume that a successful infrastructure configuration job verifies or updates every existing AKS cluster or application.
Review the existing Arc gateway resource
Before you configure the Azure Local instance:
Important
Create and provision the Arc gateway resource before you begin this procedure.
- In the Azure portal, go to Azure Arc > Azure Arc gateway.
- Open the Arc gateway resource that you plan to use.
- On the gateway resource Overview page, record the gateway URL in the form
<gateway-id>.gw.arc.azure.com.
Prepare your firewall and proxy
Before you configure Arc gateway:
- Allow outbound HTTPS traffic on TCP port 443 from every Azure Local machine to your gateway URL,
<gateway-id>.gw.arc.azure.com. - If you use a forward proxy, disable TLS inspection for the gateway URL. Arc gateway doesn't support TLS-terminating proxies.
- Keep all currently allowed Azure Local required endpoints open during the configuration operation.
- Confirm that the Azure Local endpoints not redirected through Arc gateway remain allowed.
Important
Don't remove or restrict existing Azure Local endpoints until the configuration completes and you validate Arc gateway end to end. Removing endpoints during the operation can cause the job to fail and leave the instance partially configured.
Enable Arc gateway
In the Azure portal, go to your Azure Local resource.
On the Overview page, find Arc gateway under Networking. The status shows Not configured.
Select Configure.
Select the existing Arc gateway resource that you want to use. The portal only lists eligible gateways from the same tenant and subscription as the Azure Local instance.
Select Configure to start the operation.
The Azure portal displays the configuration job after the operation starts.
The configuration operation performs the following steps:
- Associates each Azure Local machine and Azure Arc resource bridge with the selected gateway.
- Configures the Azure Connected Machine agent on each machine to use Arc gateway.
- Configures Azure Arc resource bridge to use the cluster IP as its forward proxy.
- Updates WinINet, WinHTTP, and the instance lifecycle configuration so HTTPS traffic uses the local Arc proxy, except for destinations in the local bypass list.
- Establishes and validates the HTTPS tunnel to the Arc gateway URL.
Expand the configuration job to monitor the individual Arc agent, Azure Arc resource bridge, and machine configuration steps.
The agent configuration typically takes approximately 15 minutes. Allow 30–60 minutes for the complete operation on a multimachine instance. Duration varies with instance size, agent health, and network conditions.
Monitor the operation from the Azure Local resource in the Azure portal. Don't change firewall or proxy rules while the operation is running. When every step succeeds, the job status changes to Success.
Validate the configuration
After the operation succeeds, complete all the following validation steps before you reduce your firewall or proxy allow list.
Validate each Azure Connected Machine agent
Open an elevated PowerShell session on each Azure Local machine and run:
azcmagent show
azcmagent check
Confirm the following values:
- Agent Status is Connected.
- Using HTTPS Proxy is
http://localhost:40343. - Upstream Proxy shows your enterprise proxy when you configure one. Otherwise, it's empty.
- Gateway URL is your
<gateway-id>.gw.arc.azure.comURL. - The connectivity check reports
Reachable = truefor each required tested URL. Expectconnection.type = gatewayfor traffic intended to traverse the gateway; verify the intended non-gateway path for bypassed and non-allowed endpoints.
Validate WinINet and WinHTTP settings
Verify the WinHTTP and WinINet proxy server and complete bypass list on each Azure Local machine:
Get-WinHttpProxyConfiguration | Format-List ConnectionURI, @{Label="BypassList"; Expression={$_.BypassList -join ","}}
Get-WinInetProxyConfiguration | Format-List ConnectionURI, @{Label="BypassList"; Expression={$_.BypassList -join ","}}
Each command displays ConnectionURI and BypassList on separate lines. Confirm the following values:
ConnectionURIcontains the expected HTTP and HTTPS proxy addresses.- HTTPS uses the local Arc proxy at
http://localhost:40343. BypassListcontains all expected entries.
Validate Azure Arc resource bridge
View the Azure Arc resource bridge proxy configuration:
Get-ARBProxyConfiguration
Confirm the following values and behavior:
HTTPSuses the cluster IP on port40343.ByPasscontains all expected entries.HTTPis reviewed separately. The following example shows bothHTTPandHTTPSset to the cluster IP on port40343.- The values identify the configured proxy first hop, not the protocols carried by the Arc gateway tunnel.
- HTTP traffic isn't tunneled through Arc gateway. Validate its actual onward path with proxy and firewall logs rather than manually changing the appliance settings to match another topology's example.
Validate existing AKS clusters
For each existing AKS cluster, verify:
- The control plane and worker proxy and bypass settings.
- Required endpoint connectivity.
- Image pulls and workload health.
- Application-defined pod proxy settings.
Keep the previous connectivity path available until these checks pass.
If a proxy update is needed, use Update proxy settings after deployment. That preview operation doesn't automatically apply the new settings to existing AKS clusters; review Apply the change to existing AKS clusters before changing their network path. Don't treat infrastructure job success as proof that the AKS proxy configuration has changed.
Validate your firewall or proxy
Use your firewall or proxy logs to confirm that:
- HTTPS traffic to allowed endpoints uses the Arc gateway URL unless the destination is in a local bypass list or
gatewayBypass. - Endpoints that Arc gateway doesn't redirect remain allowed and reachable.
- Destinations in the local bypass lists or
gatewayBypassremain reachable over their intended non-tunneled paths, including from the AKS subnet where required. - Traffic to the gateway URL isn't blocked or subjected to TLS inspection.
Safely reduce the endpoint allow list
Only reduce the allow list after all validation checks pass. Use the following approach:
- Save a baseline copy of the allow list so that you can restore it.
- Keep the Arc gateway URL and all endpoints not redirected through Arc gateway allowed.
- Keep firewall and proxy rules for destinations in local bypass lists or
gatewayBypass, and for existing AKS clusters that still use their previous path. Gateway enablement doesn't make these rules redundant. - Remove endpoints in stages, one category at a time.
- Wait 24–48 hours between stages while you monitor machine connectivity, Azure Arc resource bridge, extensions, and workloads.
- Run
azcmagent checkand review resource and extension health after each change. - Restore the most recently removed endpoints immediately if any component becomes unhealthy.
Troubleshoot Arc gateway configuration
| Symptom | Resolution |
|---|---|
| The job fails while configuring the agents | Verify outbound TCP 443 access from every machine to the gateway URL, gbl.his.arc.azure.com, and <region>.his.arc.azure.com. Confirm that TLS inspection is disabled for the gateway URL. |
| The job fails while configuring Azure Arc resource bridge | Confirm that Azure Arc resource bridge is running and can reach the cluster IP. Review the Arc proxy log collected from the machine that serves the appliance traffic. |
| The job fails while configuring the machines | Check whether Group Policy or another management tool resets WinINet or WinHTTP settings. Pause the conflicting policy before you retry. |
azcmagent check reports Reachable = false |
Allow the reported endpoint through the enterprise firewall or proxy. Not every Azure Local endpoint is redirected through Arc gateway. |
| A machine or extension becomes unhealthy after allow list changes | Restore the most recently removed endpoints and repeat the validation steps. |
To collect Azure Connected Machine agent and Arc proxy logs, run:
azcmagent logs
The generated archive includes arcproxy.log from %ProgramData%\AzureConnectedMachineAgent\Log.