PrivateLink vs VPC Peering
Service endpoint exposure versus full VPC routing for private connectivity.
Overview
What is being compared
Both give private connectivity between VPCs, at very different scopes. AWS PrivateLink exposes one service endpoint, backed by an NLB (Network Load Balancer), to consumers in other VPCs without allowing VPC routing. VPC Peering or Transit Gateway create full bidirectional routing between VPC CIDR blocks.
- What is exposed — One service, a TCP port on an NLB — The provider's full CIDR block
- Direction — One way, the consumer initiates — Both ways
- Overlapping CIDRs — Works — Not allowed
- DNS — Endpoint DNS names, optional private DNS — Plain IP routing, no DNS integration
- Provider needs — An NLB — Route table entries
- Best for — External customers or untrusted VPCs — First-party VPCs needing broad connectivity
Sign up free to read the full topic
More Comparisons topics
Start free on Cariara · Coding problems · System design studio