TL;DR
VPC Lattice, PrivateLink, or Transit Gateway? How the three AWS options compare on protocol, auth, overlapping CIDRs, and cost — and which to pick.
Every multi-VPC AWS estate eventually hits the same question: two things in different VPCs need to talk, and there are three managed ways to connect them. They look interchangeable from a distance — all three move packets privately, without the public internet — but they operate at different layers, bill differently, and fail in different ways. Picking the wrong one is how a team ends up paying Transit Gateway data-processing charges to make a single API call, or running fifty PrivateLink endpoints where one Lattice service network would do.
The short version: use VPC Lattice when services call services over HTTP. Use PrivateLink when one VPC needs private access to one specific service or endpoint. Use Transit Gateway when whole VPCs — and on-premises networks — need to route to each other. The decision is what you are connecting: a service, an endpoint, or a network.
Context: three different layers
The confusion is understandable because AWS markets all three as "private connectivity," and in a simple two-VPC setup any of them can move a packet from A to B. The differences show up the moment you add a third VPC, a second account, a database, or an overlapping CIDR block.
VPC Lattice is application networking — layer 7. It connects services, not networks. A service network is the shared fabric that VPCs and services join; a service is a listener plus routing rules plus target groups, and it gets a DNS name that clients in associated VPCs resolve automatically. Targets can be EC2 instances, IP addresses, Lambda functions, Application Load Balancers, ECS tasks, or Kubernetes pods. Authorization is built in: auth policies attach at the service-network level and the service level, so a caller must be authenticated and authorized before the request reaches your code. Lattice went generally available on 31 March 2023, and it is the option AWS has been pushing hardest since — it is also one of the two recommended migration targets now that App Mesh support ended on 30 September 2026. Two properties matter most in practice: Lattice works with overlapping CIDRs, because it routes by service name rather than by IP range, and there are no inter-AZ data transfer charges inside Lattice. Our VPC design guide covers the CIDR planning that makes this distinction matter.
PrivateLink is a private pipe to one endpoint. AWS PrivateLink puts an elastic network interface with a private IP into your subnet — an interface endpoint — and traffic to the service name resolves to that ENI instead of leaving the VPC. It is how you reach AWS services privately (Secrets Manager, ECR, SSM, and around a hundred others) and how you expose your own service to other VPCs and accounts: you front it with a Network Load Balancer, publish an endpoint service, and consumers create interface endpoints to it. The two gateway endpoints, for S3 and DynamoDB, are the exception — they are route-table entries, not ENIs, and they are free. Everything else is per-endpoint, per-AZ. PrivateLink is the oldest of the three approaches and the narrowest: one endpoint, one service, one direction.
Transit Gateway is a network hub — layer 3. A Transit Gateway is a regional virtual router: VPCs, VPNs, Direct Connect gateways, and peered transit gateways attach to it, and route tables decide which attachment a packet goes to. It is the only one of the three that connects whole networks — every subnet in an attached VPC can reach every subnet in every other attached VPC, subject to route tables and security groups — and the only one that natively carries on-premises traffic and inter-region traffic. That breadth is also its limit: routing is by IP address, so Transit Gateway does not route between VPCs with overlapping CIDRs. Attach a second VPC whose CIDR overlaps one already attached and its routes simply are not propagated — the attachment succeeds and the destination is silently unreachable. AWS announced managed 1:1 NAT on Transit Gateway attachments in October 2026 for exactly this case, but the default behavior is still "no overlapping CIDRs." Our Transit Gateway guide covers attachment and route-table design in detail.
The options
Option 1: VPC Lattice — service-to-service over HTTP
One service network, many services. The platform team owns the network and its auth policy; each service owner publishes their service into it with a listener and routing rules — path prefix, header, or method — that forward to target groups with weights, so canary routing across two target groups is built in rather than bolted on. Consumers need no route-table changes and no per-service endpoint: once their VPC is associated with the service network, every service in it is reachable by DNS name. The AWS Gateway API Controller can create Lattice services from Kubernetes HTTPRoute objects, which is how EKS teams usually adopt it.
# One service network, one service, one listener. Consumers in
# associated VPCs reach the service by DNS name — no routes to manage.
aws vpc-lattice create-service-network --name prod-network --auth-type AWS_IAM
aws vpc-lattice create-service --name orders --auth-type AWS_IAM
aws vpc-lattice create-target-group --name orders-tg --type IP \
--config '{"port": 8080, "protocol": "HTTP", "vpcIdentifier": "vpc-0abc"}'
aws vpc-lattice create-listener --service-identifier svc-0abc --name https \
--protocol HTTPS --port 443 \
--default-action '{"forward": {"targetGroups": [{"targetGroupIdentifier": "tg-0abc"}]}}'
Pick this when services in different VPCs or accounts call each other over HTTP or HTTPS, when you want IAM authorization on the call itself rather than only on the network path, or when the VPCs have overlapping CIDRs and re-addressing is off the table. Do not pick it when the traffic is not HTTP: Lattice listeners support HTTP, HTTPS, and TLS passthrough, and raw TCP to resources such as RDS goes through the separate resource-configuration and resource-gateway path, priced differently. And know what you give up: the target sees Lattice's link-local source addresses, not the client's real IP — caller identity arrives in headers Lattice adds, such as x-amzn-source-vpc — so anything that logs or rate-limits by source IP needs to change.
Option 2: PrivateLink — one service, one private pipe
The consumer creates an interface endpoint in their VPC; the provider's endpoint service fronts an NLB. The consumer's applications keep calling the same service DNS name, which now resolves to a private IP in their own subnet. The provider controls who can connect — endpoint service permissions are an explicit allow-list, and connection requests can require manual acceptance. Endpoint policies can further restrict which actions a consumer can call through an AWS-service endpoint, which is how teams lock down an S3 or DynamoDB endpoint to a single bucket or table.
Pick this when exactly one service needs to be reachable from a VPC: an AWS service from a locked-down VPC with no NAT gateway, a SaaS product's PrivateLink offering, or your own API exposed to one partner or customer account. It is also the right tool for reaching a service from on-premises over Direct Connect or VPN, where a gateway endpoint for S3 cannot help because gateway endpoints only work from inside the VPC. Do not pick it as a general service mesh: every service needs its own endpoint in every consumer VPC, and the per-endpoint, per-AZ hourly charge multiplies fast. At three AZs, one endpoint is about $22 a month before it moves a byte — fifty services is over $1,000 a month in endpoint hours alone, before the provider-side endpoint-service charges. If the list of services keeps growing, that arithmetic is the signal to move to Lattice.
Option 3: Transit Gateway — whole networks, one hub
Every VPC attaches once, and the hub routes between them. Route tables segment the estate: production VPCs in one table, shared-services VPCs in another, an inspection VPC with a firewall appliance in the path. VPN and Direct Connect attach the same way, so the same hub carries on-premises traffic, and inter-region peering connects hubs in different regions with traffic encrypted at the physical layer. There is no per-service configuration at all — once the routes exist, any protocol on any port flows, which is exactly what a database replication stream, a legacy TCP application, or an NFS mount needs.
Pick this when the unit of connectivity is the network: many VPCs that all need to reach each other, a central egress or inspection VPC, on-premises connectivity, or cross-region VPC traffic. Do not pick it to connect two services — you pay a per-attachment hourly charge and a per-gigabyte processing charge on every byte, including traffic that would be free between peered VPCs, for a hub you do not need. And do not attach VPCs with overlapping CIDRs and expect routing to work: the second VPC's routes will not propagate, and the failure mode is silent. Either re-address, put the service behind Lattice or PrivateLink instead, or use the managed 1:1 NAT AWS added for Transit Gateway attachments in October 2026.
The comparison
| VPC Lattice | PrivateLink | Transit Gateway | |
|---|---|---|---|
| Layer | L7 — application | Endpoint — per service | L3 — network |
| Connects | Services to services | A VPC to one service | Whole VPCs + on-prem |
| Protocols | HTTP/HTTPS, gRPC over HTTP/2, TLS passthrough; TCP via resource configs | Any TCP via the endpoint service's NLB | Any IP protocol |
| Auth | IAM auth policies, network + service level | Endpoint service allow-list, endpoint policies | Security groups, NACLs, route tables |
| Overlapping CIDRs | Yes — routes by service name | Yes — routes by endpoint | No — routes not propagated (1:1 NAT added Oct 2026) |
| Cross-account | Yes, via RAM sharing | Yes, endpoint service permissions | Yes, via RAM sharing |
| Cross-region | No — one service network per region | No — endpoints are regional | Yes — TGW peering |
| On-premises | Via PrivateLink service-network endpoint | Via Direct Connect / VPN to the endpoint | Native — VPN / Direct Connect attachments |
| Observability | Per-request metrics + access logs built in | VPC Flow Logs, CloudWatch on the endpoint | VPC Flow Logs, CloudWatch metrics |
| Cost, us-east-1 (Nov 2026) | $0.025/service/hr + $0.025/GB + $0.10 per million requests beyond 300k/hr free | $0.01/endpoint/hr/AZ + $0.01/GB; gateway endpoints (S3, DynamoDB) free | $0.05/attachment/hr + $0.02/GB processed |
Cost in practice
Rates are us-east-1 list prices as of November 2026 — check the Lattice pricing page, the Transit Gateway pricing page, and the VPC pricing page before budgeting, because they vary by region. Take a concrete estate: 10 VPCs, 10 services, 1 TB of traffic a month, 3 AZs.
| Monthly fixed | Data (1 TB) | Rough total | |
|---|---|---|---|
| VPC Lattice | 10 services × $18.25 = $182.50 | $25.00 | ~$208 |
| PrivateLink | 10 endpoints × 3 AZs × $7.30 = $219, plus provider-side endpoint services ~$219 | $10.00 | ~$448 |
| Transit Gateway | 10 attachments × $36.50 = $365 | $20.00 | ~$385 |
The shape of each bill is the point, not the exact total. Lattice scales with the number of services. PrivateLink scales with services × AZs, and bills both sides — the consumer pays for the endpoint, the provider pays for the endpoint service. Transit Gateway scales with the number of attachments and taxes every gigabyte, including traffic that would be free with VPC peering. For a handful of services, Lattice is usually cheapest; for a handful of VPCs with heavy traffic, peering or a direct connection beats all three; for many VPCs with light traffic, the Transit Gateway attachment hours dominate and Lattice or PrivateLink win on cost alone.
Trade-offs
Lattice's per-service hour is a tax on a service sprawl. Ten services cost $182.50 a month before traffic; a hundred cost $1,825. If your estate has hundreds of small services, model that line before committing — and remember the request charge beyond the free 300,000 requests per hour. The free tier is generous for most APIs and irrelevant for high-frequency internal calls.
PrivateLink's cost hides on the provider side. Teams usually count the consumer endpoint and forget the endpoint service: $0.01 per hour per AZ where the service is available, plus the NLB underneath it. A service exposed in three AZs costs its owner about $22 a month before any consumer connects. Expose it to ten consumers and the consumers each pay their own endpoint — the model is fair, but nobody's bill shows the whole picture.
Transit Gateway taxes traffic that was free. VPC peering charges only for cross-AZ and cross-region data transfer; traffic between two peered VPCs in the same AZ is free. The same traffic through a Transit Gateway costs $0.02 per GB. At 100 TB a month that is $2,000 for the privilege of a hub. If the estate is really a mesh of a few VPCs, peering is cheaper — Transit Gateway earns its keep when the VPC count makes a mesh unmanageable, or when route-table segmentation and on-premises attachments are the requirement.
Lattice and PrivateLink are per-service; Transit Gateway is per-network. That is the real decision, and it does not go away with pricing. A service mesh problem — services calling services, with auth on the call — wants Lattice, and our service mesh vs API gateway guide covers the in-cluster version of the same question. A network problem — subnets reaching subnets, databases replicating, on-premises reaching in — wants Transit Gateway. Using one for the other's job works on day one and hurts by month six.
Recommendation
For most AWS estates in late 2026: Lattice for service-to-service HTTP, PrivateLink for single-service access, Transit Gateway for network-to-network.
If services call each other across VPCs or accounts over HTTP, use VPC Lattice. One service network, IAM auth on the call, no route tables, no per-endpoint sprawl, overlapping CIDRs tolerated. This is the default for new multi-account microservice estates.
If one VPC needs private access to one service — an AWS service, a SaaS PrivateLink offering, or a partner's API — use PrivateLink. It is the smallest tool that solves the problem, and its per-endpoint cost is trivial at a count of one or two.
If whole VPCs need to reach each other, or on-premises needs in, use Transit Gateway. It is the only option that routes entire networks, and its route tables are the right place to segment an estate.
If you need both, combine them: they are not exclusive. A common pattern is Transit Gateway for network connectivity and on-premises access, with Lattice on top for service-to-service calls that need IAM auth — and on-premises clients can reach a Lattice service network through a PrivateLink service-network endpoint, with traffic traversing the Transit Gateway. Keep the layers straight and each tool stays cheap.
When not to use these options
Do not use Transit Gateway to connect two services. The attachment and data-processing charges buy a hub you do not need, and the per-gigabyte tax applies to traffic that would otherwise be free.
Do not use PrivateLink for dozens of services. The per-endpoint, per-AZ cost and the operational sprawl of one endpoint per service per VPC is exactly the problem Lattice was built to remove.
Do not use Lattice for non-HTTP traffic and expect it to behave like a network. Databases, replication streams, and legacy TCP protocols either need the resource-configuration path with its own pricing, or PrivateLink with an NLB, or Transit Gateway. And do not use Lattice when the target must see the client's real source IP — it sees Lattice's link-local addresses and the headers Lattice adds instead.
Do not use any of the three when two VPCs in the same region need to talk and nothing else is involved — VPC peering is free to set up, charges only for cross-AZ transfer, and has no hourly meter. The managed options earn their keep at scale, not at a count of two. Our AWS security best practices guide covers the security-group and endpoint-policy controls that apply whichever option you pick.
What to do next
This week, pick the layer before you pick the tool:
Why This Matters
Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.
Trade-offs to Consider
Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.
When NOT to Use This
Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.
Decision Framework
Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.