Requirements
- An internal load balancer (or NodePort behind your own load balancer) for the workspace endpoint.
- A DNS record for the workspace hostname in a zone your users resolve, pointing at the private address.
- A private Kubernetes API, and an install host inside your network.
- One outbound path to the e6data control plane on TCP 443: NAT or your firewall.
- Private access to cloud services the cluster uses: service and private endpoints.
- The AKS cluster identity needs Network Contributor on the VNet, or subnet read and join on the AKS subnet. Without it the internal load balancer stays
<pending>(see Permissions reference). - If you filter inbound (NSG or network policy), allow the load balancer health-probe source
168.63.129.16(service tagAzureLoadBalancer) to the endpoint Service’s health-check node port. With the Local traffic policy (the operator default), Azure probes that port on the nodes, not 443 or 5432. Find it with Check the endpoint Service.
Steps
1
Make the workspace endpoint internal
The workspace endpoint Service must be an internal load balancer (or a NodePort behind your own private load balancer). By default the install creates a public, internet-facing load balancer open to all source addresses, so set this before install. In the Apply the QueryRouter step of Deploy workspace and e6data, add this line under For a workspace that is already running, add it to the live QueryRouter. The endpoint moves to a private address, so update your DNS record afterwards:The internal load balancer gets a private address from the AKS subnet in about 1 minute.Alternative: set
mergedService.annotations, next to the two annotations already there:type: NodePort and put your own load balancer in front. Also set externalTrafficPolicy: Cluster. With the default (Local), only the nodes running Envoy answer. The two node ports (for 443 and 5432) are random and can’t be set today, so read them after install. Your load balancer’s backend pool must include every node.2
Set up DNS
The workspace hostname must resolve to the private address for your users. For example, create the workspace hostname in an Azure private DNS zone, or your internal DNS, and point it at the internal load balancer.
3
Make the Kubernetes API private
The Kubernetes API must have no public endpoint. For a new cluster:For an existing cluster (one-way, restarts the cluster, changes the API server IP, needs AKS Standard tier):Behind a hub DNS proxy, the default private DNS zone fails. Use
--private-dns-zone none or a zone linked to the hub (see Connect to other networks).New nodes must resolve privatelink.<region>.azmk8s.io. With your own DNS servers, forward that zone to 168.63.129.16 or use Azure DNS Private Resolver. If nodes can’t resolve the API server, they never join and clusters don’t start. A private AKS cluster takes about 15 minutes to create.4
Run installs from inside your network
Use a bastion host, a CI runner in the VNet, a VPN, or Azure Bastion. You can also run commands with
az aks command invoke.5
Send egress through your firewall, with no NAT
Outbound traffic must route to your firewall. For example, route
0.0.0.0/0 from the AKS subnet to your firewall and create the cluster with --outbound-type userDefinedRouting. Allow the destinations on Hostnames and ports.6
Set up private data access
Storage must be reached over private or service endpoints. For example, create
dfs and blob private endpoints for each storage account. Make privatelink.dfs.core.windows.net and privatelink.blob.core.windows.net resolvable from the AKS subnet. Grant Storage Blob Data Reader to e6data’s engine identity at container scope. No account keys are needed.Cost impact
- Azure private endpoints are billed per hour and per GB. Azure Firewall is billed per hour and per GB.
- Removing the NAT gateway removes its hourly and per-GB charge.
Preflight check
Verify
From outside your network:az network public-ip list -g <NODE_RG> -o table returns nothing.
Troubleshooting
Limitations
- Private connectivity to the e6data control plane (Private Link): Not offered today. The cluster needs an outbound path on 443.
- A fully air-gapped network: Not supported today.