How does AWS PrivateLink work?
AdvancedConceptVPC and Networking
Answer
A provider fronts its service with an NLB (or GWLB) and publishes a VPC endpoint service. Consumers create an interface endpoint in their VPC; traffic goes over the AWS network to the provider NLB with no peering, no overlapping-CIDR concerns, and no public IPs. The connection is unidirectional (consumer initiates).
The provider sees traffic from the NLB's IPs unless Proxy Protocol v2 is enabled. Endpoint services can require acceptance and be restricted by allowed principals.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner