Updated on 2023-12-20 GMT+08:00

Overview

Scenarios

With VPC Endpoint, you can access resources across VPCs in the same region.

Cloud resources in different VPCs are isolated from each other and cannot be accessed using private IP addresses. After you create a VPC endpoint, you can use a private IP address to access resources across two VPCs despite of network isolation between them.

This section describes how cloud resources in VPCs of different s in the same region can communicate with each other.

VPC 1 and VPC 2 belong to different s. You can configure ELB in VPC 2 as a VPC endpoint service and create a VPC endpoint in VPC 1 so that the ECS in VPC 1 can access ELB in VPC 2 using a private IP address.

Figure 1 Cross-VPC communications
  • Only one-way communications from the VPC endpoint to the VPC endpoint service are supported.
  • Before you create a VPC endpoint, add the authorized ID of VPC 1 to the whitelist of the VPC endpoint service in VPC 2.
  • For details about communications between two VPCs of the same , see Configuring a VPC Endpoint for Communications Across VPCs of the Same.

Cross-VPC Communications

Figure 2 shows how to enable communications between two VPCs of different s using VPC Endpoint.

Figure 2 Cross-VPC communications flowchart