Internet Gateway and Egress-Only IGW

Complete the full lesson to earn 25 points

Work through each section, then tap “Mark as Complete” on the last one.

Section 1 of 9

✦ Skip the page breaks and see fewer ads — read each lesson on a single page with Pro

Lesson: Internet Gateway and Egress-Only Internet Gateway

Introduction: The Gateway to the Public Web

In the architecture of cloud networking, the Virtual Private Cloud (VPC) serves as your own logically isolated section of the cloud provider's network. By default, resources launched within a VPC are completely private, meaning they cannot communicate with the outside world, nor can the outside world reach them. While this provides excellent security, it is rarely sufficient for modern applications that require software updates, external API calls, or public-facing interfaces. This is where Internet Gateways (IGWs) and Egress-Only Internet Gateways (EIGWs) become essential components of your infrastructure.

An Internet Gateway is a horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet. It serves two primary purposes: it provides a target in your VPC route tables for internet-routable traffic, and it performs network address translation (NAT) for instances that have been assigned public IPv4 addresses. Without an Internet Gateway, your VPC is essentially a "black hole" regarding external traffic; you can manage it from within, but it remains disconnected from the global internet.

Conversely, the Egress-Only Internet Gateway is a specialized component designed exclusively for IPv6 traffic. As the industry moves toward adopting IPv6, the Egress-Only gateway provides a way for instances in a private subnet to initiate outbound traffic to the internet, while preventing the internet from initiating inbound connections to those instances. Understanding the distinction between these two, and knowing when to implement them, is foundational for building secure and functional network topologies in the cloud.


Section 1 of 9
PrevNext