You limit the public endpoint of a new Amazon EKS cluster to your office IP range, add a managed node group in private subnets and wait. After 15 minutes the node group reports NodeCreationFailure, and the console says Instances failed to join the Kubernetes cluster. The EC2 instances are fine. Their calls to the API server leave the VPC through a NAT gateway whose address is not on the allowlist, and the private endpoint is off.
Most EKS problems sit at that seam between the part AWS runs and the part you run. This post covers the control plane, the network interfaces that connect it to your VPC, endpoint access, compute options, pod networking, load balancing and IAM, with a diagram you can copy.
What AWS runs and what you run
| Part | Who runs it | Where it lives |
|---|---|---|
| API servers and etcd | AWS | An AWS-owned account, across three AZs |
| Cluster network interfaces | AWS creates them | Your cluster subnets |
| VPC, subnets, routes, NAT, endpoints | You | Your account |
| Nodes | You, or AWS with Auto Mode | EC2 in your account |
| Add-ons such as the VPC CNI and CoreDNS | You pick versions and start updates | Your nodes |
| Workloads, RBAC, network policies | You | The cluster |
Inside the cluster, EKS follows the upstream Kubernetes components model, so the Kubernetes architecture diagram still applies. What changes is ownership: you never get a shell on a control plane machine, and the VPC around the nodes is yours to design.
The control plane
Each cluster gets its own control plane: at least two API server instances and three etcd instances across three Availability Zones (EKS architecture). EKS replaces failed instances and, in the default Standard mode, scales the control plane with load. You see one HTTPS endpoint, where the AWS IAM Authenticator maps IAM principals to Kubernetes identities and RBAC does the rest.
| Option | Price (November 2026) | Covers |
|---|---|---|
| Standard support | $0.10 per cluster-hour, about $73 a month | First 14 months of each Kubernetes version |
| Extended support | $0.60 per cluster-hour | The 12 months after that |
| Provisioned Control Plane | From $1.65 per hour (tier XL), on top | Pre-allocated capacity, 99.99% SLA instead of 99.95% |
Prices are from the EKS pricing page. Provisioned Control Plane tiers never switch by themselves, and most clusters do not need them.
How the control plane reaches your nodes
At creation you name at least two subnets in different AZs. EKS creates 2 to 4 elastic network interfaces in them, owned by EKS but placed in your VPC (networking requirements). They carry:
kubectl exec,logs,attach,cpandport-forward, which call the kubelet on port 10250.- Calls to admission webhooks that run as pods in your cluster.
- Node traffic to the API server on port 443, when the private endpoint is on.
Each cluster subnet needs at least six free IP addresses, and AWS recommends 16. Version upgrades recreate the interfaces, possibly in other subnets from your list, so keep every listed subnet healthy.
The cluster security group, eks-cluster-sg-<cluster>-<id>, sits on these interfaces and on managed node group instances. By default it allows all traffic between its members; if you tighten it, keep 443, 10250 and DNS on port 53 open between control plane and nodes (security group requirements). A one-way control plane egress setting can also route the control plane's webhook and OIDC calls through your own NAT gateway or firewall.
The API endpoint: public, private or both
| Public | Private | Behavior |
|---|---|---|
| On | Off | The default. Node traffic to the API leaves the VPC but stays on Amazon's network. An optional CIDR allowlist limits who connects. |
| On | On | Nodes use the private endpoint; kubectl from the internet works within the allowlist. |
| Off | On | kubectl only from the VPC or a connected network, such as a transit gateway or VPN. |
With the private endpoint on, EKS manages a Route 53 private hosted zone, which needs enableDnsHostnames and enableDnsSupport on the VPC (cluster endpoint). The opening failure is the first row with a tight allowlist: enable the private endpoint or allow the NAT gateway's addresses.
Compute: node groups, Karpenter, Fargate and Auto Mode
| Option | Who manages nodes | Good to know |
|---|---|---|
| Managed node groups | EKS, through an EC2 Auto Scaling group in your account | No extra charge; drains nodes on updates; On-Demand or Spot |
| Self-managed nodes | You | Any AMI; you patch and upgrade |
| Karpenter | You run it; it launches right-sized instances for pending pods | Open source, runs in your cluster |
| Fargate | AWS, one pod per VM | Private subnets only; no DaemonSets, privileged pods, GPUs or EBS |
| Auto Mode | AWS, on EC2 managed instances | Built-in scaling, load balancing and storage; nodes replaced within 21 days; fee per instance |
Managed node groups are the usual default: EKS publishes patched AMIs, and you roll them out. EKS Auto Mode takes over that work with Bottlerocket-based nodes that allow no SSH. Fargate suits isolated jobs and small services that fit its limits. Outside Auto Mode and Fargate, scaling nodes is your job, usually with the Cluster Autoscaler or Karpenter.
Pod networking with the Amazon VPC CNI
On EC2 nodes, the Amazon VPC CNI gives every pod a real IP address from the node's subnet. The aws-node DaemonSet attaches extra ENIs and keeps a warm pool of secondary IPs, so pods are reachable across the VPC without an overlay. The price is subnet space, and the instance type caps pods per node:
max pods = ENIs × (IPv4 addresses per ENI − 1) + 2
c5.large: 3 × (10 − 1) + 2 = 29
The minus one is each ENI's primary address; the plus two covers host-network pods such as kube-proxy. A full c5.large uses 30 addresses, so ten of them need 300: more than the 251 usable addresses of a /24. Partly filled nodes also hold spare addresses in their warm pools.
| If you hit | Use | Trade-off |
|---|---|---|
| The max-pods limit | Prefix mode: a /28 (16 addresses) per ENI slot | Needs contiguous free /28 blocks; raise max-pods yourself |
| Too few IPv4 addresses | Custom networking: pods in subnets of a secondary CIDR | The primary ENI no longer hosts pods |
| IPv4 exhaustion everywhere | An IPv6 cluster | The IP family is fixed at creation |
Prefix mode needs VPC CNI 1.9.0 or later; reserve space with subnet CIDR reservations so fragmented subnets do not refuse prefixes. Services and network policies work as in the Kubernetes networking diagram.
Load balancing: the AWS Load Balancer Controller
The AWS Load Balancer Controller turns an Ingress into an Application Load Balancer and a Service of type LoadBalancer into a Network Load Balancer; Auto Mode has this built in. Without it, a Service of type LoadBalancer gets a Classic Load Balancer from the legacy AWS cloud provider, and an Ingress gets no load balancer at all. Target type ip sends traffic straight to pod IPs, skipping the NodePort hop, and is the only option for Fargate pods. The controller picks subnets tagged kubernetes.io/role/elb = 1 (public) or kubernetes.io/role/internal-elb = 1 (private). The load balancer diagram covers layer 4 and layer 7 balancing in general.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: web
namespace: shop
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip # register pod IPs, not nodes
spec:
ingressClassName: alb
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 80
The Kubernetes Ingress diagram covers the Ingress and Gateway API objects behind it.
Identity: access entries for people, Pod Identity for pods
People and pipelines sign in with IAM. Access entries map an IAM principal, usually a role, to Kubernetes permissions through the EKS API, with an AWS-managed policy such as AmazonEKSViewPolicy scoped to the cluster or to namespaces, or with Kubernetes groups named in your RBAC role bindings. They replace the older aws-auth ConfigMap: the authentication modes are CONFIG_MAP, API_AND_CONFIG_MAP and API, the move toward API is one-way, and Auto Mode requires access entries.
Pods should not borrow the node's IAM role. EKS Pod Identity associates an IAM role with a service account, and an agent on each node hands out temporary credentials on 169.254.170.23. The role trusts one principal, pods.eks.amazonaws.com, so it works in every cluster without the per-cluster OIDC provider that IRSA needs. Pod Identity runs only on Linux EC2 nodes, so Fargate pods use IRSA. Restrict instance metadata, or pods can still reach the node role.
The Amazon EKS diagram
Diagram contents
- Users and kubectl
- AWS-owned account
- Kubernetes API server
- Your VPC
- ALB, target type ip
- EKS-owned ENIs
- Private subnet, AZ a
- Private subnet, AZ b
- EC2 node, managed node group
- Pod 10.0.18.35
- Pod 10.0.34.12
- Amazon ECR
- IAM role for the app
- HTTPS
- pod IP
- kubectl, public endpoint (private also on)
- 443 / 10250
- runs
- image pull via NAT or VPC endpoint
- temporary credentials
How to read it:
- Amber, left: the control plane in an AWS-owned account, reached by kubectl over the public endpoint. Its instances and etcd stay hidden.
- EKS-owned ENIs: the cross-account interfaces in your cluster subnets, drawn between the control plane and the subnets for clarity. Traffic to the kubelet (10250) always crosses them; node traffic to the API (443) does when the private endpoint is on.
- Rows are Availability Zones: one private subnet per AZ with a managed node and a pod whose IP comes from that subnet.
- Teal: HTTPS from users to the ALB in the public subnets, then straight to pod IPs.
- Dashed: image pulls from ECR, through NAT or VPC endpoints, and pod credentials from Pod Identity.
- Notes on the right: subnet rules, ports, the max-pods formula and the price.
Drawing EKS diagrams clearly
- Draw the account boundary: the control plane in its own frame outside your VPC, the cross-account ENIs inside.
- Use AZs as rows or columns, with nodes in private subnets and a note for the public subnets.
- Label ports on control plane edges: 443 to the API server, 10250 to the kubelet.
- Show the endpoint mode on the kubectl edge, and whether an allowlist applies.
- Put real IPs on pods, so readers see they come from the node's subnet.
- Color by owner: one color for what AWS manages, another for what you run.
Common mistakes are an API server inside your VPC, nodes outside any subnet, a load balancer aimed at nodes when its targets are pods, and private subnets with no path to ECR. The AWS VPC diagram covers routes, NAT and endpoints, and the Kubernetes architecture template suits the in-cluster view.
Build it in Archboard
- Sign in with Google or GitHub and create a diagram. The Terraform to diagram and CloudFormation to diagram tools turn existing code into a first draft, and the Terraform architecture diagram post shows what to cut from it.
- Add a Frame from the Core pack named AWS-owned account, with a Kubernetes Cluster node from the Cloud pack inside for the API server.
- Add a VPC from the Network pack, a Text note for the public subnets and two Subnet nodes as rows, one private subnet per AZ.
- Between the frame and the subnets, add a Cloud resource from the Cloud pack for the EKS-owned ENIs and connect it to the API server and to each node.
- In each subnet, add a Node and a Pod from the Kubernetes pack, with the pod's IP in its label.
- Add a Cloud LB from the Cloud pack in the public area and an Internet node from the Network pack outside the VPC; connect the internet to the ALB and the API server, and the ALB to both pods.
- Below the VPC, add a Registry from the Docker pack for ECR and a Cloud identity from the Cloud pack for the pod's role, with dashed edges, then a Markdown block from the Core pack for the numbers and Text notes for the title, the control plane facts and the color legend.
The Kubernetes use case page lists the rest of the pack. The example uses 15 diagram nodes, the most the Free plan allows in one diagram.
FAQ
Does the EKS control plane run in my VPC? No. It runs in an AWS-owned account. EKS places 2 to 4 network interfaces in your cluster subnets so the API server can reach your nodes and the nodes can reach the private endpoint.
How many pods can an EKS node run?
In the VPC CNI's default mode, the limit is ENIs × (addresses per ENI − 1) + 2, which is 29 on a c5.large. Prefix mode lifts the address limit, but you raise max-pods yourself.
Do EKS nodes in private subnets need a NAT gateway? Not necessarily. They need a path to every AWS service they call: a NAT gateway, or VPC endpoints for services such as Amazon ECR, Amazon S3 and AWS STS.
Should I use EKS Auto Mode or managed node groups? Auto Mode hands nodes, scaling, load balancing and storage drivers to AWS for a per-instance fee. Managed node groups cost nothing extra and leave AMI rollouts and add-ons to you.
What is the difference between EKS Pod Identity and IRSA? Both give a service account an IAM role. IRSA needs an OIDC provider and trust policy per cluster; Pod Identity uses one service principal and a node agent, but not on Fargate or Windows nodes.