- A Cloud Guru
AWS VPC Endpoints for S3
In this hands-on lab, you will learn about using VPC endpoints to provide a private connection to an AWS S3 bucket. First, we will go over use cases for creating VPC endpoints. Then, we will walk through VPC endpoint creation and S3 bucket connection.
Table of Contents
Create a VPC Endpoint for S3
- Navigate to VPC.
- From the VPC dashboard, click Endpoints > Create Endpoint.
- Select the service name for S3.
- Select the available VPC.
- Select the appropriate route table (the one with Yes in the Main column).
- Click Create endpoint.
Connect to S3 through the VPC Endpoint
Connect to the private EC2 instance via SSH:
Confirm communication with the S3 bucket through the VPC endpoint:
aws s3 ls
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.