Updated on 2024-09-26 GMT+08:00

Overview

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. VPC Endpoint enables you to 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.

As shown in the following figure, VPC 1 and VPC 2 belong to different accounts. You can configure ELB in VPC 2 as a VPC endpoint service and buy a VPC endpoint in VPC 1 so that the ECS in VPC 1 can access ELB in VPC 2 using a private IP address.

Required Steps

No.

What You Need to Do

Description

1

Preparations

Before using the VPC Endpoint service, you need to sign up for a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication. Also, you need to top up your account.

2

Step 1: Create a VPC Endpoint Service

To enable communications across two VPCs, you first need to configure a cloud resource (backend resource) in one VPC as a VPC endpoint service.

3

Step 2: Add a Whitelist Record

After you create a VPC endpoint service, you also need to buy a VPC endpoint to access the VPC endpoint service.

4

Step 3: Buy a VPC Endpoint

After you add the required whitelist record, you can buy a VPC endpoint in VPC 1 to connect to the target VPC endpoint service.