How to Access Amazon S3 Buckets from Your VPC or On-Premises Network

Eray ALTILI
4 min readSep 28, 2023

How to Access Amazon S3 Buckets from Your VPC or On-Premises Network

Amazon S3 is a popular cloud storage service that allows you to store and retrieve any amount of data from anywhere on the web. However, accessing S3 buckets from your virtual private cloud (VPC) or on-premises network can be challenging if you don’t know the best practices and options available. In this article, I will explain the differences between three methods of accessing S3 buckets: S3 gateway endpoint, S3 interface endpoint, and S3 access endpoint. I will also provide some examples of how to use them and compare their advantages and limitations.

What are S3 endpoints?

S3 endpoints are network endpoints that allow you to connect to S3 from your VPC or on-premises network. They enable you to access S3 buckets without going through the public internet, which can improve performance, security, and cost efficiency. There are three types of S3 endpoints: gateway endpoint, interface endpoint, and access endpoint. Let’s look at each of them in detail.

S3 gateway endpoint

A S3 gateway endpoint is a gateway that you specify in your VPC route table to access S3 from your VPC over the AWS network. It does not require an internet gateway or a NAT device for your VPC, and there is no additional charge for using it. However, it does not allow access from…

--

--

Eray ALTILI

I am passionate about Technology, Cloud Computing, Machine Learning, Blockchain and Finance. All opinions are my own and do not express opinions of my employer.