PrivateLink provides private connections for secure and stable data transmission between Virtual Private Cloud (VPC) networks and other Alibaba Cloud services. This topic describes the scenarios where the PrivateLink service can be used.

Scenario 1: Share cloud services across VPC networks

After you create a Server Load Balancer (SLB) instance that supports PrivateLink in a VPC network, the SLB instance can provide services for resources that are deployed in another VPC network by using the PrivateLink service.

In the following figure, Elastic Compute Service (ECS) instances are created in VPC 2 and connected to an SLB instance. To allow VPC 1 to access the ECS instances that are deployed in VPC 2, you must associate the SLB instance with the endpoint service in VPC 2. After you create the endpoint, VPC 1 can access the ECS instances that are deployed in VPC 2 by using the endpoint.

Access endpoint services across VPC networks

Scenario 2: Share cloud services in a VPC network with on-premises data centers

You can connect your services in a VPC network to an SLB instance and share the services with on-premises data centers by using PrivateLink.

In the following figure, ECS instances are created in VPC 2 and connected to an SLB instance. To allow the on-premises data centers to access the ECS instances in VPC 2, you must first share the SLB service in VPC 2 with VPC 1. Then, connect the on-premises data center to VPC 1 by using a leased line, VPN gateway, or Smart Access Gateway (SAG) device.Share services with on-premises data centers