> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to other networks

> Connect an e6data CloudPrem deployment on Azure to a hub-and-spoke landing zone, peered VNets, on-premises networks and BI tools.

How-to guideApplies to: CloudPrem on Azure

e6data works with the usual ways of joining networks: VNet peering, an Azure hub-and-spoke landing zone, site-to-site VPN and Azure ExpressRoute. e6data needs no permissions in your hub or network account. Your network team does a short list of hub-side tasks.

## Requirements

* The workspace ranges must not overlap any network they connect to. This includes the Kubernetes service range and the pod range.
* Routes are needed in both directions.
* Users and tools reach the workspace endpoint on TCP 443 and 5432.
* The workspace hostname must resolve to the private address from wherever users connect.

## Spoke VNet in a landing zone

This layout is supported: a private AKS cluster in a spoke, all egress forced through a hub firewall, and DNS answered by the hub. e6data needs no permissions in the hub.

| Area | Hub-side task for your network team |
| - | - |
| Peering | Peer the spoke with the hub, forwarded traffic allowed. If users arrive over a VPN or ExpressRoute gateway in the hub, allow gateway transit on the hub side and use remote gateways on the spoke side (per Microsoft documentation) |
| Routing | Default route from the AKS subnet to the firewall. The route table can stay under your network team |
| DNS | Spoke DNS points at your hub resolver. Link private DNS zones for the registry and storage where the resolver runs |
| Private endpoint records | Create records in the hub zones for e6data's private endpoints |
| AKS API server DNS | Use a private cluster with `--private-dns-zone none` (API name in public DNS, private IP), or a private DNS zone your team links to the hub |
| Firewall | Microsoft's `AzureKubernetesService` FQDN tag, NTP, and the hosts on [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md). If you use AKS extensions such as Flux, also the region's extension endpoint (for example `eastus.dp.kubernetesconfiguration.azure.com`) |

> [!WARNING]
>
> With AKS's default private DNS zone, nodes behind a hub DNS proxy can't resolve the API server, and cluster creation fails. Choose the DNS option with your network team before install.

> [!WARNING]
>
> Azure Firewall policy edits can take 2 to 6.5 minutes to apply. Plan rule changes before the install window.

## On-premises: VPN and ExpressRoute

e6data needs no special settings. Site-to-site VPN with Azure VPN Gateway on both sides works end to end: a query runs and appears in Query History. The ExpressRoute and own-device values below come from Microsoft documentation. Tunnels carry smaller packets, so check packet size:

| Path | What to set |
| - | - |
| Azure VPN Gateway | Nothing extra; it already lowers TCP MSS. For your own devices, Microsoft's values are MSS 1350 and tunnel MTU 1400 |
| Your own VPN device or firewall in Azure | TCP MSS clamping 1350 |
| ExpressRoute | Carries packets up to 1400 bytes and doesn't pass fragments. Keep MSS clamping at 1350 or lower on your edge |
| Any path | Don't block ICMP "fragmentation needed" (IPv4 type 3 code 4) or "packet too big" (ICMPv6) |

Test from a machine on your network:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
ping -M do -s 1372 <WORKSPACE_PRIVATE_IP>      # Linux. 1372 + 28 header bytes = 1400
```

```powershell theme={"theme":{"light":"github-light","dark":"github-dark"}}
ping -f -l 1372 <WORKSPACE_PRIVATE_IP>         # Windows
```

If this fails while smaller sizes work, lower MSS clamping on the VPN device.

## BI tools

| Tool | How it connects | Network |
| - | - | - |
| Power BI (Premium or Fabric capacity) | VNet data gateway in a small delegated subnet, in the e6data VNet or a peered one | Gateway to the endpoint on 5432 (and 443) |
| Power BI (any licence) | On-premises data gateway on Windows VMs in your VNet (two or more for high availability) | Outbound 443 to Microsoft; VM to the endpoint on 5432 (and 443) |
| Tableau Cloud | Tableau Bridge on a Windows VM or Linux container in your VNet | Outbound 443 to Tableau Cloud (80 for certificate checks); Bridge to the endpoint on 5432 (and 443) |
| Desktop tools and drivers | Over your VPN or private network | 443 and 5432 to the endpoint |

* Use each tool's built-in PostgreSQL connector. The Power BI VNet data gateway doesn't support generic ODBC.
* With a private CA, install it on the gateway or Bridge hosts. The Microsoft-managed VNet gateway may need a publicly trusted certificate.
* Tableau Bridge live queries time out after 15 minutes. Each Bridge client runs 16 live queries at once by default.

The Power BI and Tableau details come from each vendor's documentation.

Your own NGINX ingress with TCP passthrough of 443 and 5432 in front of the endpoint works. Move NGINX's own HTTPS port off 443. A layer 7 gateway or WAF in front of the endpoint is not supported today.

## Choose a connection method

| You need | Use |
| - | - |
| Azure landing zone | Spoke VNet peered to the hub, hub firewall and DNS |
| One other VNet to reach the endpoint | Peering |
| Users in offices | Site-to-site VPN or ExpressRoute |
| SaaS BI tool on a private endpoint | Vendor gateway (Power BI, Tableau Bridge) |

## Preflight check

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
az network vnet peering list -g <RG> --vnet-name <SPOKE_VNET> \
  --query "[].{name:name,state:peeringState,forwarded:allowForwardedTraffic}"
```

Expected: every workspace range has a return route; peering is `Connected` with forwarded traffic allowed.

## Verify

1. From your network, the workspace hostname resolves to the private address.
2. `curl https://<WORKSPACE_HOSTNAME>/` returns HTTP 200; port 5432 is open.
3. The central firewall log shows only allowed hosts from the workspace.
4. A cluster resumes and a query runs from the e6data console.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Private AKS cluster create fails with an API server DNS error | Default private DNS zone behind a hub DNS proxy | Use `--private-dns-zone none` or a hub-linked zone |
| Small queries work over VPN; large results stall | Packet size on the tunnel | MSS clamping and ICMP, as above |

## Limitations

* Private connectivity to the e6data control plane: Not offered today.

## See also

* [Network requirements](https://docs.e6data.com/platform/deploy/azure-cloudprem/network-requirements.md)
* [Private-only deployment](https://docs.e6data.com/platform/deploy/azure-cloudprem/private-only-deployment.md)
* [Egress firewall, proxy and TLS inspection](https://docs.e6data.com/platform/deploy/azure-cloudprem/proxy-and-tls-inspection.md)
* [Hardened reference architecture](https://docs.e6data.com/platform/deploy/azure-cloudprem/reference-architecture-hardened.md)
* [Hostnames and ports](https://docs.e6data.com/platform/deploy/azure-cloudprem/hostnames-and-ports.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.