AWS PrivateLink · Private connectivity per service

Bring only the services you need into your VPC on private IPs

AWS PrivateLink brings services into your VPC on private IP addresses. Reach AWS services, services in other accounts, and partner SaaS without an internet gateway, NAT, or public IPs, and limit what is reachable to individual services.

Interface endpointavailable
AZ a · ENI10.0.1.25subnet-app-a
AZ c · ENI10.0.2.37subnet-app-c
Private DNS nameapi.example.com
Regional DNS namevpce-0a1b2c3d4e5f6a7b8-k3m9x2p1.vpce-svc-0123456789abcdef0.ap-northeast-2.vpce.amazonaws.com
consumer appENIendpoint service
100 Gbps

Max bandwidth per endpoint, per AZ (scales automatically from 10 Gbps)

8500

VPC endpoint MTU (bytes)

TCP · UDP

Protocols supported by interface endpoints

IPv4 · IPv6

IPv4, IPv6, and dualstack endpoints

Why PrivateLink

You don't need to open an entire network to use one service

VPC peering and Transit Gateway open routes between networks. PrivateLink creates only an entry point to a specific service in your VPC; no routes are created to other resources in the other VPC.

Private

No internet exposure

Reach services from private subnets without an internet gateway, NAT, or public IPs.

One-way

One-way connectivity

Only the consumer VPC can initiate connections. No path is created from the provider VPC into the consumer VPC.

Overlap

Overlapping CIDRs allowed

As long as the consumer and provider are in different VPCs, their IP ranges can overlap, because access goes through an ENI inside the consumer VPC.

Provider & consumer

Providers publish services; consumers create endpoints

A PrivateLink connection is completed by work on both sides. The provider puts a service behind a load balancer and publishes it as an endpoint service, and the consumer creates an endpoint in its own VPC to connect to that service.

Consumer

The side that uses the service

  • subnetPick a subnet per AZ to create an interface endpoint. One ENI is created in each AZ.
  • SGAttach security groups to the endpoint ENIs to restrict which clients can connect.
  • DNSWith private DNS enabled, clients reach the endpoint using the existing service name.
Provider

The side that publishes the service

  • NLBPut the service behind a Network Load Balancer and create an endpoint service. Appliances use a Gateway Load Balancer.
  • allowSpecify the AWS accounts or IAM principals allowed to connect, and optionally require manual acceptance of requests.
  • regionAdd supported Regions so consumers in other Regions can create endpoints too.

Features

Key features

Cross-Region

Cross-Region PrivateLink

Connect with an interface endpoint to endpoint services and select AWS services (S3, IAM, ECR, and others) in another Region. You don't need to match AZs with the provider, and connections to AWS services can use only the Regional DNS name. PrivateLink manages failover across AZs but not across Regions.

Name resolution

Private DNS

Once the provider verifies and associates a domain name, consumers reach the endpoint with the same name without changing application settings.

Access control

Endpoint policy

Attach a resource policy to the endpoint to restrict the principals, actions, and resources that can be called through it.

Hybrid

Access from on-premises

Traffic arriving over Direct Connect, Site-to-Site VPN, Transit Gateway, Cloud WAN, or VPC peering also reaches the endpoint.

VPC Lattice

Resource endpoint

Reach databases, domain names, or IP targets in other VPCs or on-premises over TCP without a load balancer. The provider shares resources through a resource gateway.

Inspection

Gateway Load Balancer endpoint

Set it as the next hop in a VPC route table to send traffic to a fleet of virtual appliances such as firewalls.

Endpoint types

VPC endpoint types built on PrivateLink

The endpoint type depends on what you connect to. Gateway endpoints for Amazon S3 and DynamoDB don't use PrivateLink, so they are not included here.

Comparison of VPC endpoint types built on PrivateLink
TypeConnects toProvider-side setupHow traffic is sent
Interface AWS services, services from other accounts or partners Endpoint service backed by an NLB The DNS name resolves to the ENI private IPs. TCP · UDP
Gateway Load Balancer Fleet of virtual appliances Endpoint service backed by a GWLB Set the endpoint as the next hop in a route table.
Resource Databases, EC2 instances, domain names or IP targets Resource gateway and resource configuration Access through the endpoint DNS name. TCP
Service network Multiple services and resources associated with a VPC Lattice service network VPC Lattice service network One endpoint reaches multiple targets.
Tunnel A shared network segment (CIDR range) Share a CIDR-range resource configuration through AWS RAM Encapsulated in GENEVE on UDP 6081. Inner traffic is TCP; UDP is supported only for DNS queries.

Reference architecture

Connect just the service, even with overlapping IP ranges

Even when the consumer and provider VPCs both use 10.0.0.0/16, the interface endpoint connects to the service. On-premises reaches the endpoint through the consumer VPC, and consumers in other Regions use cross-Region PrivateLink.

PrivateLink reference architecture A consumer VPC in the Seoul Region has an interface endpoint and a resource endpoint. The application and the on-premises data center connect through the interface endpoint to a Network Load Balancer-backed endpoint service and its service targets in a provider VPC that uses the same 10.0.0.0/16 range. The resource endpoint connects to a database through a resource gateway in another VPC. A consumer VPC in another Region connects to the same endpoint service through cross-Region PrivateLink. ON-PREMISES CONSUMER VPC · 10.0.0.0/16 PROVIDER VPC · 10.0.0.0/16 RESOURCE VPC OTHER REGION Data centerDX · VPN Applicationcalls api.example.com Interface endpointENI 10.0.1.25 · AZ aENI 10.0.2.37 · AZ c Resource endpointTCP · DNS name Endpoint serviceNetwork Load Balancer Service targetsEC2 · containers Resource GWingress DatabaseAmazon RDS Consumer VPCInterface endpointservice Region set PrivateLink cross-Region
PrivateLink connection (consumer → provider, one-way) In-VPC · hybrid request path Cross-Region PrivateLinkArrows show the direction connections are initiated; responses return on the same connection.

On narrow screens, swipe the diagram sideways.

Getting started

Steps to publish your service with PrivateLink

  1. STEP 1

    Prepare an NLB

    Create a Network Load Balancer and target group across two or more AZs in the provider VPC.

  2. STEP 2

    Create the endpoint service

    Select the NLB to create an endpoint service, and add the principals allowed to connect.

  3. STEP 3

    Create the endpoint

    The consumer creates an interface endpoint using the service name and picks subnets and security groups.

  4. STEP 4

    Accept the connection

    If acceptance is required, the provider accepts the connection request.

  5. STEP 5

    Test with DNS

    Connect to the service using the endpoint DNS name or the private DNS name.

Pricing

Cost components

PrivateLink pricing is based on the hours an endpoint is provisioned and the amount of data it processes. The provider-side load balancer and inter-Region transfer are charged separately.

AWS PrivateLink billing components
ComponentBilling basisNotes
Interface endpoint hoursHours provisioned in each AZ where the endpoint exists. Partial hours are billed as full hours.Billed to the consumer that created the endpoint.
Interface endpoint data processingGB processed by the endpointTiered rates apply to the combined volume of all interface endpoints in the Region.
Gateway Load Balancer endpointEndpoint hours and GB processedThe provider-side Gateway Load Balancer is billed separately at Elastic Load Balancing rates.
Resource · Tunnel endpointResource endpoints: hours per resource; tunnel endpoints: endpoint hours. Both: GB processedProcessing tiers are calculated separately from interface endpoints. Service network endpoints themselves have no additional charge; resources and services accessed through the service network follow VPC Lattice pricing.
Cross-Region connectivityProviders: a fixed hourly fee per active remote Region. Consumers: standard endpoint charges plus inter-Region transfer GBA remote Region is active if at least one interface endpoint is connected from it. Inter-Region transfer is billed to the endpoint owner.
Provider Network Load BalancerNLB hours and NLCUsBilled separately at Elastic Load Balancing rates.

Rates vary by Region and usage. See the AWS PrivateLink pricing page for current rates.

Next step

Design service publishing and private access with us

Bring the services to publish, the range of consumer accounts, on-premises access paths, and DNS setup, and we'll review endpoint types and placement together.