Skip to content

Note: Prod cluster network layout

VPC, subnets, ingress path and egress of the prod EKS cluster, as I understand it.

Note
  • #kubernetes
  • #aws
  • #network
  • #architecture
Created Updated

Also:prod network · vpc layout · eks networking · ingress path · nat gateway · k8s

Wrote this while debugging intermittent i/o timeout errors from pods to an external API. I needed the whole path in one place.

VPC 10.40.0.0/16, 3 AZs (eu-west-1a/b/c).

Tier Subnets Notes
Public 10.40.0.0/20, 10.40.16.0/20, 10.40.32.0/20 ALB, NAT gateways (one per AZ)
Private (nodes + pods) 10.40.64.0/18, 10.40.128.0/18, 10.40.192.0/19 VPC CNI: pods get VPC IPs
Data 10.40.48.0/22 ×3 RDS, ElastiCache. No route to the internet

Ingress path: Route 53 → ALB (public subnets, AWS Load Balancer Controller) → target type ip → pod IPs directly. No NodePort hop.

Egress path: pod → node ENI → NAT gateway in the same AZ → internet. Elastic IPs of the 3 NATs are allow-listed by partners.

client ─▶ ALB ─▶ pod (10.40.x.x)
pod ─▶ NAT-gw (per AZ, EIP) ─▶ partner API

Access: cluster API is private-only; reach it via SSM on the bastion (AWS: Start an SSM session on an instance), then AWS: Update kubeconfig for an EKS cluster.

  • Pod IP exhaustion risk in 10.40.192.0/19 (AZ c is half the size of the others).
  • Do we need VPC endpoints for S3/ECR to cut NAT costs?

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…