AWS NAT Gateways vs Egress Only Gateways
3 min readAug 2, 2024
Why there is not “Translation” in Egress???
NAT Gateway vs Egress Only Gateway
NAT Gateways and Egress-Only Internet Gateways are both essential components for managing network traffic in AWS, but they serve distinct purposes and have different characteristics. The key difference is NAT if for IPv4 while Egress is for IPv6.
But lets delve into more detail.
NAT Gateway
- Purpose: A NAT gateway enables instances in a private subnet to initiate outbound connections to the internet or other AWS services. It acts as a middleman, masking the private IP addresses of your instances with its own public IP address. But external systems cannot initiate a connection.
Here’s how it works:
- Outbound Traffic: When an instance in a private subnet wants to access the internet, the traffic is directed to the NAT gateway.
- IP Translation: The NAT gateway translates the private IPv4 address of the instance to its own…