- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab Info
Table of Contents
-
Challenge
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.
-
Challenge
Connect to S3 through the VPC Endpoint
-
Connect to the private EC2 instance via SSH:
ssh cloud_user@<PRIVATE_IP_ADDRESS>
-
Confirm communication with the S3 bucket through the VPC endpoint:
aws s3 ls
-
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.