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

Create a VPC Endpoint and S3 Bucket in AWS
In this hands-on lab, we will create a VPC endpoint and an S3 bucket to illustrate the benefits available for our cloud implementations. VPC endpoints can be used instead of NAT gateways to provide access to AWS resources. Many customers have legitimate privacy and security concerns about sending and receiving data across the public internet. VPC endpoints for S3 can alleviate these challenges by using the private IP address of an instance to access S3 with no exposure to the public internet.

Lab Info
Table of Contents
-
Challenge
Create an S3 Bucket
Use the AWS Management Console to create an S3 bucket beginning with the name
vpcendpointbucket
, followed by random numbers to ensure the bucket is unique. -
Challenge
Create a VPC Endpoint
- From the Management Console, go to VPC.
- Click Route Tables, find the unnamed private route table, and name it private.
- Click Endpoints and Create Endpoint.
- Select the S3 service.
- Create an S3 Gateway Endpoint with your private subnet.
-
Challenge
Verify VPC Endpoint Access to S3
- Check the route table to make sure you see a route using the VPC endpoint to S3.
- To verify, SSH into the public instance (use the credentials from the lab).
- From the public instance, SSH in to the private instance.
- Run
aws s3 ls
, and confirm that the S3 bucket is in your environment.
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.