> ## 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.

# Network requirements

> Every network setting e6data needs in your AWS VPC: layout, outbound rules, internal rules, ports and timeouts.

ReferenceApplies to: CloudPrem on AWS

e6data runs in a VPC that you own. It can be a new network or an existing one shared with your other workloads. Nothing connects in from e6data: your network needs outbound HTTPS (443) only, plus the internal rules on this page.

This page lists every network number for a CloudPrem deployment on AWS: sizes, ranges, ports and timeouts. IP address needs per cluster size are on [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md). Hostnames are on [Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md).

![Network diagram of a CloudPrem deployment on AWS. Your users reach the workspace load balancer on TCP 443 and 5432. Inside your VPC, the EKS cluster runs in two or more private subnets across two or more availability zones, reads your S3 buckets through the S3 gateway endpoint, and calls the e6data control plane and registries outbound only, on TCP 443, through a NAT gateway, your firewall or your proxy. e6data never connects in.](https://mintcdn.com/e6data/btk547UQntSoisHC/images/platform/in-vpc/aws-network.svg?fit=max\&auto=format\&n=btk547UQntSoisHC\&q=85\&s=5680d676b7ff2c207bc8ec53bcaeb46e)

## Requirements

* You can use an existing VPC that other teams also use. e6data creates no VPC, subnet, route table, NAT gateway or internet gateway in an existing network. It uses the IDs you give it.
* e6data never changes your network. You can prove this in CloudTrail (see [Verify](#verify)).
* The network has one outbound path for e6data: a NAT gateway, your central firewall, or your proxy plus VPC endpoints. A proxy as the only route out is not supported today (see [Proxy and TLS inspection](https://docs.e6data.com/platform/deploy/aws-cloudprem/proxy-and-tls-inspection.md)).
* No inbound rule from the internet or from e6data is needed.
* Your users and tools reach the workspace endpoint on TCP 443 (HTTPS) and TCP 5432 (PostgreSQL wire protocol, TLS).
* The data-access setup region must be the region of your data (see [Data region rule](#data-region-rule)).

## Network layout

| Item | AWS | Required? | Why |
| - | - | - | - |
| Network | Existing or new VPC. New VPC: /16 recommended. No minimum is enforced: a /24 in total works with tuned pod networking (see [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md)), for IPAM-allocated or scarce ranges | Yes | Holds the cluster nodes and the pods |
| DNS | `enableDnsSupport` and `enableDnsHostnames` both on | Yes | Nodes resolve the Kubernetes API, endpoints and private zones |
| Availability zones | At least 2 | Yes | Workloads spread across zones |
| Node subnets | At least 2 private subnets, in different AZs. Size: see [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md) | Yes | Every node takes one address |
| Public subnets | Only for an internet-facing load balancer or a NAT gateway. /24 each | Optional | Not needed for a private deployment |
| Pod addresses | Amazon VPC CNI: every pod takes a VPC address. Optional: pods in a secondary `100.64.0.0/16` range (custom networking) | Yes | Decides how fast subnets fill |
| Kubernetes service range | EKS default `172.20.0.0/16` or `10.100.0.0/16`. Any private range from /12 to /24 | Yes | Must not overlap your VPC, pod range, peered networks, or anything pods must reach |
| Service range minimum | /24 (one workspace and one cluster use 21 Services) | Yes | See [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md) |
| Subnet tags | `kubernetes.io/role/internal-elb = 1` on private subnets if a load balancer is created. `karpenter.sh/discovery = <cluster-name>` (or what your node class selects). `kubernetes.io/role/elb = 1` on public subnets only for an internet-facing load balancer | Conditional | Load balancer and node subnet discovery |
| S3 gateway endpoint | `com.amazonaws.<region>.s3` in the route tables of every node subnet | Recommended. Required with no NAT | Image layers, metadata and data buckets. Free, and S3 traffic skips the NAT gateway |
| Other private endpoints | Only with no NAT: see [Private-only deployment](https://docs.e6data.com/platform/deploy/aws-cloudprem/private-only-deployment.md) | Conditional | Private access to cloud services |

## Outbound rules

| Item | AWS | Required? | Why |
| - | - | - | - |
| HTTPS to the e6data control plane | TCP 443 | Yes | The console polls it for status and instructions, and the query router fetches sign-in keys from it |
| HTTPS to the e6data image registry, release host and add-on registries | TCP 443 | Yes, unless you mirror images | Images and release bundles. Exact hosts: [Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md) |
| Cloud APIs | TCP 443 to AWS APIs (S3, STS, EC2, EKS, ECR), or VPC endpoints instead | Yes | Node provisioning, credentials, storage |
| Query-history extension download | TCP 80 to one host (`extensions.duckdb.org`) | See note | Fetched at console start. If you block it, reject it at once (HTTP 403 or TCP reset). A silent drop makes the console restart over and over |
| Time sync | Not needed (the AWS time service is in the VPC) | No | Node clocks |

> [!WARNING]
>
> AWS security groups can't use hostnames, and e6data publishes no fixed IP ranges for its hosts. The published AWS ranges for them are 117 to 883 prefixes, more than the default security group limit of 60 rules. Use an FQDN-aware firewall or a proxy for the e6data hosts.

## Inside the network

| Item | AWS | Required? | Why |
| - | - | - | - |
| Node to node | Security groups allow all traffic between cluster nodes | Yes | Pods on different nodes talk to each other |
| Admission webhook | TCP 9443 from the subnets that hold the EKS control-plane network interfaces | Yes, if you filter inside the cluster | The e6data operator's webhook |
| Load balancer to Envoy | Allow the load balancer to reach the Envoy port only | Conditional | If a load balancer sits in front of the workspace |
| Load balancer idle timeout | 1,200 s or more | Yes | Queries can run 15 minutes by default (900 s). Set the idle timeout above your longest query. The NLB default TCP idle timeout is 350 s. e6data's install asks for 1,200 s on the 443 listener, but the setting only takes effect with AWS Load Balancer Controller v2.9 or later. The install default (Helm chart 1.8.1, controller v2.8.1) ignores it, so both listeners stay at 350 s unless you upgrade the controller or set the timeout on the load balancer yourself. The 5432 listener is never raised, so silent PostgreSQL or JDBC sessions can drop. Raise both listeners' timeouts (up to 6,000 s) or turn on client keepalives |
| NetworkPolicies | Need a CNI that enforces them: the VPC CNI network policy feature, Calico or Cilium | Conditional | Without one, NetworkPolicies have no effect |
| Service mesh | Keep e6data namespaces out of sidecar injection (works with Istio in STRICT mTLS mode) | Conditional | If you run a mesh |
| Network ACLs | Not required. e6data creates no network ACL; its reference VPC keeps the AWS default ACL, which allows all traffic. If you use your own ACLs, they are stateless: allow the traffic on this page in both directions, plus return traffic on TCP 1024-65535 | Conditional | ACLs check each direction separately |

## Storage network rules

* If a bucket policy allows access only through your S3 gateway endpoint (`aws:SourceVpce`), every node subnet's route table must include that endpoint. A subnet without it gets HTTP 403 from S3.

## Data region rule

The data-access setup region must be the region where your data buckets are.

* Query engines in another region still work. But cross-region transfer is charged per GB, and it adds latency.
* The free S3 gateway endpoint covers buckets in the same region only. Cross-region reads go through your NAT gateway or firewall, which charges per GB.

## Outbound capacity (NAT)

| Item | AWS |
| - | - |
| Same-region data | 0 NAT addresses needed: S3 traffic uses the gateway endpoint |
| Through NAT | 55,000 connections per NAT IP to one destination; up to 8 IPs per NAT gateway |
| All traffic forced through a firewall | Use the S3 gateway endpoint |

## Outbound-only connectivity

You don't need any inbound port for e6data. e6data never connects into your network. A component inside your cluster, the e6data console, calls the e6data control plane outbound over HTTPS (443) and picks up instructions.

* Outbound TCP 443 from the cluster to the e6data control plane. Hostnames are on [Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md).
* No inbound rule from the internet. No e6data IP address needs access to your network.
* Your own users and tools reach the workspace endpoint on TCP 443 and TCP 5432, from your network.

### How instructions reach your cluster

1. The console runs in your cluster. About every 30 seconds it sends the workspace status to the e6data control plane.
2. The reply carries pending instructions, for example "start cluster" or "suspend workspace".
3. The console and the e6data operator apply the change from inside the cluster.
4. Disabling or enabling a workspace in the e6data console takes effect within about a minute.

What the status call contains, and what is never sent, is on [Data that leaves your network](https://docs.e6data.com/platform/trust/data-that-leaves-your-network.md).

### Traffic directions

| Traffic | From | To | Port | Direction for your network |
| - | - | - | - | - |
| Status and instructions | e6data console (your cluster) | e6data control plane | 443 | Outbound |
| Sign-in key fetch | Query router (your cluster) | e6data control plane | 443 | Outbound |
| Images and release bundles | Your nodes and the console | e6data registry and release host, or your mirror | 443 | Outbound |
| Cloud APIs | Components in your cluster | AWS APIs | 443 | Outbound, or private (VPC endpoints) |
| Kubernetes API | Components in your cluster | Your EKS API server | 443 | Inside your network |
| Data | Query engines | Your S3 buckets | 443 | Inside your cloud account |
| Users, BI tools, drivers | Your network | Workspace endpoint | 443, 5432 | Inbound from your network only |
| Anything from e6data | e6data | Your network | None | Never |

### Cloud-API traffic compared with Kubernetes-API traffic

| Question | Cloud-API traffic | Kubernetes-API traffic |
| - | - | - |
| Who sends it | Components in your cluster: node provisioning, console, metadata services, query engines | Components in your cluster: e6data operator, console, node provisioning, cert-manager |
| Does e6data's control plane send it? | No | No. e6data people get no kubeconfig and no standing access |
| How it authenticates | Roles in your account: EKS Pod Identity for e6data workloads (IRSA also works), IRSA for the EBS CSI driver, and the node role for the VPC CNI and image pulls | Kubernetes service-account tokens, checked by your API server and your RBAC |
| Can it stay private? | Yes, with VPC endpoints | Yes: private EKS endpoint |
| Where it's audited | AWS CloudTrail | EKS control-plane audit logs |

Permissions for each identity are on [Permissions reference](https://docs.e6data.com/platform/deploy/aws-cloudprem/permissions-reference.md). Audit queries are on [Audit logging](https://docs.e6data.com/platform/trust/audit-logging.md).

### Steps

1. Allow outbound TCP 443 to the hosts on [Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md), through NAT, your firewall, or your proxy.
2. Add no inbound rule for e6data.
3. Allow inbound 443 and 5432 to the workspace endpoint from your user and tool ranges only. For a private endpoint, see [Private-only deployment](https://docs.e6data.com/platform/deploy/aws-cloudprem/private-only-deployment.md).

## Decided at setup

> [!NOTE]
>
> Decided at setup: the Kubernetes service range is set when the cluster is created. On EKS it can't be changed later.

See [Change network settings](https://docs.e6data.com/platform/deploy/aws-cloudprem/change-network-settings.md) for everything else.

## Cost impact

* A NAT gateway is billed per hour and per GB processed. The S3 gateway endpoint is free and keeps same-region S3 traffic off the NAT gateway.
* Cross-region data reads are charged per GB.
* Interface endpoints are billed per hour and per GB.

Public list prices, on-demand, AWS us-east-1, as of November 2026. Other regions differ. Data charges are per GB processed.

| Item | AWS (us-east-1) |
| - | - |
| NAT gateway | $0.045 per hour + $0.045 per GB |
| S3 gateway endpoint | Free |
| Interface endpoint | $0.01 per hour per AZ + $0.01 per GB |
| Managed firewall | AWS Network Firewall: $0.395 per endpoint hour + $0.065 per GB |

Sources: [AWS VPC pricing](https://aws.amazon.com/vpc/pricing/), [AWS Network Firewall pricing](https://aws.amazon.com/network-firewall/pricing/).

## Preflight check

Read-only commands. Each prints what to compare with the tables above.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
aws ec2 describe-vpc-attribute --vpc-id <VPC_ID> --attribute enableDnsSupport
aws ec2 describe-vpc-attribute --vpc-id <VPC_ID> --attribute enableDnsHostnames
aws ec2 describe-subnets --subnet-ids <SUBNET_A> <SUBNET_B> \
  --query 'Subnets[].[SubnetId,AvailabilityZone,CidrBlock,AvailableIpAddressCount,Tags]'
aws ec2 describe-vpc-endpoints --filters Name=vpc-id,Values=<VPC_ID> \
  --query 'VpcEndpoints[].[ServiceName,VpcEndpointType,RouteTableIds]'
aws ec2 describe-route-tables --filters Name=association.subnet-id,Values=<SUBNET_A> \
  --query 'RouteTables[].Routes[]'
aws ec2 describe-security-groups --group-ids <NODE_SG> <LB_SG> \
  --query 'SecurityGroups[].IpPermissions'
```

The last command should show no rule from `0.0.0.0/0` except the workspace endpoint ports you chose.

From a pod or node, test outbound 443 to the control-plane host:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl -sS -o /dev/null -w '%{http_code}\n' https://<CONTROL_PLANE_HOST>/
```

Any HTTP code means the path is open. A timeout means it's blocked.

| Check fails | Fix |
| - | - |
| DNS support or hostnames off | `aws ec2 modify-vpc-attribute --vpc-id <VPC_ID> --enable-dns-hostnames` (and `--enable-dns-support`) |
| Fewer free addresses than [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md) needs | Larger subnets, tuned pod networking, or custom networking |
| No S3 gateway endpoint on a node subnet route table | Add the endpoint to that route table |
| Ranges overlap | Pick a free range before you create the cluster |
| Inbound rule from `0.0.0.0/0` on other ports | Remove it. e6data needs no inbound rule |

## Verify

1. In the e6data console the workspace shows **Running**. This status arrives only over the workspace's outbound calls.
2. Resume a cluster, run a query in the SQL Editor, and find it in Query History.
3. In CloudTrail, look up `CreateVpc`, `CreateSubnet`, `CreateRouteTable`, `CreateRoute`, `AssociateRouteTable`, `CreateVpcEndpoint`, `CreateNatGateway`, `CreateInternetGateway`, `ModifySubnetAttribute` and `AssociateVpcCidrBlock`. Expected: none of them come from an e6data role.
4. Your firewall or proxy log shows connections from the cluster to the control-plane host on 443 only.
5. Your inbound logs show no connection from e6data.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| Pods stuck in `Pending`, or a load balancer never gets an address | Missing subnet tag, route or free addresses | Check the layout table and [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md) |
| Workspace shows Disconnected | No outbound 443 to the e6data control plane | Allow it on your firewall or proxy ([Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md)) |
| Sign-in loops back to the sign-in page | Query router can't fetch the control plane's sign-in keys | Allow the control-plane host for the query router too |
| Instructions from the e6data console take effect late | Status calls failing on and off | Check firewall or proxy logs for denies |
| New nodes stay `NotReady` after a VPC CNI change | The add-on update dropped its own IAM role | e6data's install runs the VPC CNI on the node role. Pass `--service-account-role-arn` only if your `vpc-cni` add-on has its own IAM role (IRSA) |
| S3 returns 403 on a new node subnet | Bucket policy requires the gateway endpoint; the subnet's route table lacks it | Add the S3 gateway endpoint to that route table |
| Console restarts again and again behind a firewall | A blocked host is dropped silently | Reject denied hosts at once, or allow the TCP 80 host ([Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md)) |

## Limitations

* Private connectivity (AWS PrivateLink) to the e6data control plane: Not offered today. The outbound call goes over the internet path you choose, protected by TLS.
* Explicit-proxy-only egress: Not supported today. See [Proxy and TLS inspection](https://docs.e6data.com/platform/deploy/aws-cloudprem/proxy-and-tls-inspection.md).
* A fully air-gapped network with no route to the e6data control plane: Not supported today.
* If the control plane is down, some actions stop. See [If e6data's control plane is down](https://docs.e6data.com/platform/upgrades/control-plane-outage.md).

## See also

* [IP address sizing](https://docs.e6data.com/platform/deploy/aws-cloudprem/ip-address-sizing.md)
* [Private-only deployment](https://docs.e6data.com/platform/deploy/aws-cloudprem/private-only-deployment.md)
* [Connect to other networks](https://docs.e6data.com/platform/deploy/aws-cloudprem/connect-to-other-networks.md)
* [Hostnames and ports](https://docs.e6data.com/platform/deploy/aws-cloudprem/hostnames-and-ports.md)
* [What e6data can access](https://docs.e6data.com/platform/trust/what-e6data-can-access.md)


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