- Lab
- 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.
Path 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
-
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.