> For the complete documentation index, see [llms.txt](https://mamawhocode.gitbook.io/aws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamawhocode.gitbook.io/aws/services/network/vpc/nat.md).

# NAT Gateway

Network Address Translation

## Overview

Help computers on private subnet, redirect traffic to the Internet. Like a receptionist at a office, who receive phone calls and forwards them to the right person at the office.

## Steps

1. Put NAT Gateway in Public subnet
2. Add a record in Route table of Private subnet. That record (0.0.0.0) points to the NAT Gateway.

## Best practices

* Use 1 NAT per AZ.

## Trivia

* Always put NAT Gateway in a `PUBLIC` subnet.
* IPv4 only, can not used with IPv6
* a regional resource.
