liveBook · Manning

NAT gateway

A NAT gateway is a network component that enables private-network resources to initiate outbound connections through address translation without accepting unsolicited inbound connections.

How 2 Manning books explain it

Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A NAT gateway is a managed network gateway that enables resources in a private network to initiate connections to external networks through address translation.

How it is used
Provides outbound internet access for private-subnet resources while keeping those resources unreachable directly from the internet.
How deep it goes
Explains placement, routing, network ACLs, cost, throughput, and availability-zone limits, but does not detail high-availability design.
Examples
Uses a three-subnet web application, CloudFormation resources, HTTP/HTTPS ACL rules, and a private backend default route.
What you can do after
Configure a private backend’s outbound internet path with AWS VPC routing and CloudFormation.

Read how Amazon Web Services in Action, Third Edition: An in-depth guide to AWS explains NAT gateway →

Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu

A NAT gateway is a network component that provides outbound internet access for resources in private subnets without allowing unsolicited inbound internet connections.

How it is used
Provides private subnets with outbound internet access while preserving their lack of direct public exposure.
How deep it goes
Explains subnet placement, routing, IP assignment, and Terraform dependency handling, but does not detail packet translation internals.
Examples
Uses Terraform modules that divide CIDR blocks into public, private, and optionally isolated subnets.
What you can do after
Configure a Terraform-managed cloud network with private-subnet internet access and explicit gateway creation dependencies.

Read how Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu explains NAT gateway →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.