VPC Endpoints and Private Connectivity
Learn how to connect to AWS services privately without traversing the public internet using VPC endpoints, PrivateLink, and NAT gateways.
The Problem with Public Traffic
By default, resources in a private subnet reach AWS services like S3 over the public internet via a NAT gateway. That adds cost, latency, and exposure.
VPC endpoints let traffic stay inside the AWS network.
Two Kinds of Endpoints
AWS offers two endpoint types:
- Gateway endpoints — for S3 and DynamoDB (route table based, free)
- Interface endpoints — for most other services (an ENI in your subnet, powered by PrivateLink)
All lessons in this course
- VPC, Subnets, and Route Tables
- Security Groups and NACLs
- IAM Roles and Policies
- VPC Endpoints and Private Connectivity