IGW vs NAT Gateway vs NAT Instance vs Egress-only IGW vs VPC Endpoint 高频对比

IGW, NAT, EIGW & VPC Endpoints

IGW vs NAT Gateway vs NAT Instance vs Egress-only IGW vs VPC Endpoint

compareIGW vs NAT Gateway vs NAT Instance vs Egress-only IGW vs VPC EndpointAWS
Last organized

First ask whether traffic targets the internet, an IPv4-only system, or a specific AWS service, then choose the egress component.

Basic information

FieldDetails
English / full nameIGW vs NAT Gateway vs NAT Instance vs Egress-only IGW vs VPC Endpoint
Chinese互联网出口与私有服务访问对比
JapaneseInternet 出口と Private Service Access の比較
Review priority高频对比
Often confused withInternet / IPv4-only / AWS Service / Administrative Access

In one sentence

First ask whether traffic targets the internet, an IPv4-only system, or a specific AWS service, then choose the egress component.

Core summary

IGW provides direct public connectivity; NAT provides private IPv4 egress; EIGW provides outbound-only IPv6; endpoints provide private access to selected services.

Study points

  • Prefer a gateway endpoint for heavy same-Region S3 or DynamoDB access.
  • An interface endpoint uses subnet ENIs, private IPs, and security groups.
  • Use a public NAT for a stable IPv4 egress path.
  • Use DNS64/NAT64, not EIGW, for IPv6-to-IPv4 access.

Common pitfalls

  • A NAT Gateway cannot have a security group.
  • A bastion is an administrative entry point, not a NAT device.

Key memory

Internet, IPv4-only destinations, selected services, and administrator access are four separate needs.