Cloud concept / Networking decisions
Public NAT gateway
Network Address Translation — Let private workloads initiate internet-bound IPv4 traffic without accepting unsolicited inbound connections through the gateway.
How it works
In the zonal pattern, route private subnet traffic to a public NAT gateway placed in a public subnet. It uses an Elastic IP and reaches the internet through the internet gateway, with replies mapped back to the initiating workloads.
Exam keywords
Picture this
A mailroom sends outbound parcels with its return address and forwards only the corresponding replies.
Private clients initiate; strangers cannot.
When to use it
Private instances need to download software updates but must not be directly reachable from the internet.
When not to use it
A NAT gateway does not publish a private web server. Account for gateway and traffic charges; endpoints may avoid internet egress for supported AWS services.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.5