AWS Builder Center

How to Securely Access Amazon S3 from EC2 Using VPC Gateway Endpoints

Learn how to configure private connectivity between Amazon EC2 instances and S3 buckets within a VPC, keeping all traffic off the public internet without incurring extra NAT Gateway costs.

In this guide, we will walk through setting up private connectivity between an Amazon EC2 instance running in a Virtual Private Cloud (VPC) and an Amazon S3 bucket using a Gateway VPC Endpoint.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article