Overview of NAT Instances in AWS

How NAT Instances Work

Connectivity Flow

  1. An EC2 instance in a private subnet initiates a connection to a public server.
  2. The connection request is routed to a NAT instance in a public subnet.
  3. The NAT instance, which has an Elastic IP, rewrites the packet's source IP address from the private IP of the EC2 instance to the NAT instance's public IP.
  4. The public server responds to the NAT instance's public IP.
  5. The NAT instance then forwards the response to the original EC2 instance in the private subnet.

Untitled

Considerations for NAT Instances