Interview Prep/AWS/VPC and Networking

What do you do when a VPC runs out of IP addresses?

IntermediateConceptVPC and Networking
Answer

Add a secondary CIDR block to the VPC (up to five by default) and create new subnets from it. For EKS pod-IP exhaustion use the 100.64.0.0/10 carrier-grade range for pods via custom networking, or enable prefix delegation, or move to IPv6.

Long term, fix the root cause with a central IPAM plan (AWS VPC IPAM) and right-sized subnets, since you cannot resize an existing subnet.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking