> For the complete documentation index, see [llms.txt](https://karansingh.gitbook.io/ccpnotes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karansingh.gitbook.io/ccpnotes/vpc-and-networking/internet-gateway-and-nat-gateway.md).

# Internet Gateway & NAT Gateway

* **Internet Gateway - Provides access to the internet**, so if the subnet has a route to the internet gateway, it makes it a public subnet.<br>
* **NAT Gateway/Instance - Provides internet access to the private subnets**, then the private subnet won't be accessible **from** the internet but it will have access **to** the internet.<br>
