- Lab
- A Cloud Guru
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.
Path 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.
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.