Updated on 2024-07-02 GMT+08:00

Overview

Scenarios

If you want to access a cloud service like OBS from an on-premises data center, you can connect the on-premises data center to your VPC using a VPN connection or a Direct Connect connection, and then use a VPC endpoint to access the cloud service from your VPC.

This section describes how to use a VPC endpoint to access OBS (private address) from an on-premises data center.

Only in the LA-Mexico City1, LA-Sao Paulo1, and LA-Santiago regions, can OBS be configured as a gateway VPC endpoint service on the VPC Endpoint console.

Figure 1 Accessing OBS (private address) from an on-premises data center

Figure 1 shows the process of connecting the on-premises data center to a VPC over VPN or Direct Connect, and then using two VPC endpoints to enable the on-premises data center to access DNS and OBS, respectively.

A VPC endpoint comes with a VPC endpoint service. Before you buy a VPC endpoint, ensure that the VPC endpoint service that you want to access is available.

The following VPC endpoint services are required:

  • VPC endpoint service for DNS: resolves the OBS domain name at the on-premises data center.

    LA-Mexico City1: com.myhuaweicloud.na-mexico-1.dns

  • VPC endpoint service for OBS: provides the OBS service for the on-premises data center.

    LA-Mexico City1: com.myhuaweicloud.na-mexico-1.obs

Configuration Process

Figure 2 shows the process for configuring a VPC endpoint to access OBS (private address) from the on-premises data center.

Figure 2 Configuration flowchart