Before we learn how to create public subnets and configure them, it’s essential to understand what an internet gateway is and how it works.

Understanding an internet gateway

The internet gateway is a Virtual Private Cloud (VPC) component that enables resources inside the VPC to access the public internet and be reachable from the internet. It acts as a bridge connecting the VPC to the public internet. In other terms, an internet gateway is a service that aids in making a subnet public. For IPv4 address communication, the internet gateway additionally performs static network address translation.

Get hands-on with 1200+ tech skills courses.