AWS Quick Notes — AWS PrivateLink

Gunschu Blog
1 min readDec 31, 2021

--

This service can be used when you need to expose a service to multiple VPCs other than the one is it is hosted in.

AWS Private Link simplifies the setup and eliminates the need for specific VPC peering connections or routes from one VPC to another to expose this service.

Setup steps

  1. Set up a Network Load balancer in the VPC that needs it service to be exposed.Connect the application service to the Network Load Balancer.
  2. AWS privateLink is then setup and connects to the Network Load Balancer.
  3. Set up a Elastic Network Interface in the VPC that needs to access the exposed service. Connect the consuming application to the ENI.
  4. Connect the ENI in the consuming VPC to the AWS Privatelink setup in the service VPC.
  5. Now the application has access to the exposed service from another VPC.

if the consuming application is in an on-premises data center outside of AWS, a direct connect connection can be used. In this case there are a few additional steps.

  1. The consuming application would connect to a customer gateway , which would connect to the direct connect connection and terminate on the Virtual Private Gateway in the VPC.
  2. The Virtual Private Gateway would then connect with AWS PrivateLink.

--

--

Gunschu Blog
Gunschu Blog

Written by Gunschu Blog

Gunschu is creating the world’s greatest coaching platform through groundbreaking tools, advice, knowledge and personal expertise.

No responses yet