Requirements
- Default VPC CNI: 2 private subnets, /22 or larger each. /23 each fits one workspace and one S cluster only when you install into an existing cluster (494 addresses needed per zone); a new cluster needs /22. A /24 per subnet is too small with default settings (calculated).
- Tuned VPC CNI: one /24 in total (two /25 subnets) is enough for a workspace and an XS cluster.
- Custom networking: nodes take one address each from your range; pods use a secondary
100.64.0.0/16range. - Kubernetes service range /24 or larger.
- AWS reserves 5 addresses in every subnet.
Why updates need spare addresses
During a release update, e6data starts a full copy of a query cluster before it removes the old one. Peak address use is close to double the running cluster. Size for the peak, not the steady state.Measured results
Measured per node with default settings: 18 to 60 addresses per node. By default the VPC CNI keeps a spare network interface’s worth of addresses on every node, often 15 or more. That reserve, not e6data, usually fills small subnets.
What uses addresses
Default VPC CNI: an XS deployment needs about 400 addresses on a new cluster, or about 374 in an existing cluster (default machines; calculated from measured per-node figures). A /24 has 251 usable, so it fits no cluster.
Tuned VPC CNI, estimate including the update copy (about 36 + 10 × (2 + N)):
Only XS is measured. Address counts for larger sizes are estimates.
Service range
A /24 (254 Services) is the minimum. Larger ranges are fine.
Steps
Fit e6data in one /24
- Create one subnet per AZ from your range (for example two /25s from a /24). Give them routes to your VPC endpoints and your egress path.
-
Set the
vpc-cniadd-on configuration: -
Apply it. Add
--service-account-role-arnonly if yourvpc-cniadd-on has its own IAM role (IRSA); e6data’s install runs it on the node role: - With fixed node groups and Cluster Autoscaler, set the engine node group maximum to the nodes your largest cluster needs, plus 1. Workspace services take one engine node; a maximum of 3 was too small for the first resume of an XS cluster. With Karpenter, set the NodePool CPU limit instead.
- Place VPC endpoints, load balancers and proxies outside the /24 if you like. They can sit in shared subnets.
Keep pods off your routable range (custom networking)
-
Associate
100.64.0.0/16with the VPC. Create one pod subnet per AZ (for example two /19s) with the same route table as the node subnets. -
Set the
vpc-cniadd-on configuration (pass--service-account-role-arnonly if the add-on has its own IAM role): -
Create one
ENIConfigper AZ, named after the zone, with the pod subnet and the cluster security group. - Create node groups after steps 2 and 3. Existing nodes must be replaced to pick it up.
-
Allow
100.64.0.0/16in VPC endpoint security groups and in any NetworkPolicyipBlock.
Cost impact
- Tuned VPC CNI and custom networking add no AWS cost.
- Smaller subnets don’t change the bill. Running out of addresses blocks updates and resumes.
Preflight check
Verify
Troubleshooting
Limitations
- Address counts above XS are estimates.
- e6data deployments run on IPv4 EKS clusters. IPv6-only subnets and IPv6 EKS clusters are not covered by these figures.