Updated on 2024-04-15 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 accounts in the same region can communicate with each other.

VPC 1 and VPC 2 belong to different accounts. 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

Cross-VPC Communications

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

Figure 2 Cross-VPC communications flowchart