Interview Prep/AWS/VPC and Networking

How does IPv6 work in a VPC, and what is an egress-only internet gateway?

IntermediateConceptVPC and Networking
Answer

You can attach an Amazon-provided /56 IPv6 CIDR, and subnets get /64s. Every IPv6 address is globally unique and public-capable, so there is no NAT. To allow private subnets to reach the internet but block inbound, route ::/0 to an egress-only internet gateway.

Dual-stack saves public IPv4 charges and NAT costs, but security groups and NACLs need separate IPv6 rules.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking