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.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner