Updated on 2024-12-13 GMT+08:00

Overview

If you want to access a cloud service like OBS from an on-premises data center through an intranet, 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.

OBS can be configured as a gateway VPC endpoint service on the VPC Endpoint console only in the LA-Mexico City1, LA-Sao Paulo1, and LA-Santiago regions. Therefore, this use case is applicable only to these regions.

To access the OBS that is a gateway VPC endpoint service in other regions, you need to search for it by name. To obtain its name, you can submit a service ticket or contact the OBS O&M engineers.

The preceding figure 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 through an intranet.

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.

In this scenario, the following VPC endpoint services are required:

  • VPC endpoint service for DNS: required to resolve the OBS domain name.

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

  • VPC endpoint service for OBS: required to allow the on-premises data center to access the OBS through an intranet.

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

Procedure

Step

Description

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.

Step 1: Buy a VPC Endpoint for Connecting to DNS

Buy a VPC endpoint for accessing DNS to resolve the OBS domain name.

Step 2: Buy a VPC Endpoint for Connecting to OBS

Buy a VPC endpoint to access OBS from the on-premises data center.

Step 3: Access OBS Using a VPN or Direct Connect Connection

Access the OBS through a VPN or Direct Connect connection.