CLOUD LABS
Accessing AWS Services over AWS PrivateLink Using VPC Endpoints
In this Cloud Lab, you’ll deploy a back-end server and a front-end application in two different VPCs, allowing them to communicate using AWS PrivateLink.
intermediate
Certificate of Completion
Learning Objectives
AWS PrivateLink, a highly available service, allows users to create private connections between VPCs and other AWS services without exposing them to the public internet. This means that a service inside a VPC can be exposed privately to another VPC without using public IP addresses, NAT devices, or internet gateways.
In this Cloud Lab, you’ll first create an S3 bucket and upload an image in this bucket using AWS SDK for Python. You’ll then configure a VPC and launch an EC2 instance in the private subnet of this VPC. You’ll use the EC2 Instance Connect Endpoint to deploy our back-end server in this instance. You’ll also create a target group and attach it to a Network Load Balancer inside this VPC.
Finally, you’ll deploy a React application inside another VPC and create a VPC endpoint and a service endpoint to connect it to your back-end server by establishing a PrivateLink. Your React application will use this PrivateLink to fetch the image uploaded in your S3 bucket.
After completing this Cloud Lab, you’ll have a thorough understanding of AWS PrivateLink and will be able to configure various VPC endpoints according to your requirements.
The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:
Before you start...
Try these optional labs before starting this lab.
Relevant Courses
Use the following content to review prerequisites or explore specific concepts in detail.
Trusted by 1.4 million developers working at companies including
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Get access to Educative Cloud Labs