Search⌘ K
AI Features

The Egress-Only Internet Gateway

Explore how to enable outgoing-only internet connectivity for IPv6 resources in a VPC using an egress-only internet gateway. Learn the setup process, including creating the gateway, adding routes to private IPv6 subnets, and managing gateway resources via command-line interface.

Introduction

A NAT gateway works well to provide outgoing-only internet access to the private IPv4 resources, but what if we want the IPv6 resources to have outgoing-only internet access?

AWS IPv6 addresses are global unicast addresses and are publicly routable by default; therefore, there is no concept of private IPv6 addresses in AWS. We can use an egress-only internet gateway to allow outgoing-only internet access from an IPv6 resource while disregarding all incoming requests from the internet.

A single egress-only internet gateway can only be attached to one Virtual ...