Step 2: Buy a VPC Endpoint for Connecting to OBS
Scenarios
This section describes how to buy a VPC endpoint to access OBS from an IDC.
Prerequisites
The required VPC endpoint service already exists.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the required region and project. - Choose Service List > Networking > VPC Endpoint.
- On the VPC Endpoints page, click Buy VPC Endpoint.
The Buy VPC Endpoint page is displayed.
Figure 1 Buy VPC Endpoint (Service Category set to Cloud service)
- Set the required parameters.
Table 1 Required parameters Parameter
Description
Region
Specifies the region where the VPC endpoint is located.
Resources in different regions cannot communicate with each other over internal networks. Select the nearest region for lower network latency and faster access to resources.
Billing Mode
Specifies the billing method of the VPC endpoint. VPC endpoints can be enabled or deleted at any time.
VPC endpoints support only pay-per-use billing.
Service Category
There are two options: Cloud services or Find a service by name.
- Cloud services: Select this value if the target VPC endpoint service is a cloud service.
- Find a service by name: Select this value if the target VPC endpoint service is a private service of your own.
Example: Cloud services
Service List
This parameter is available only when you select Cloud services for Service Category.
The VPC endpoint service has been created by operations people and you can use it without having to perform the creation operation.
Example: com.myhuaweicloud.na-mexico-1.obs
VPC
Specifies the VPC where the VPC endpoint is deployed.
Route Table
This parameter is available only when you create a VPC endpoint for connecting to a gateway VPC endpoint service.
NOTE:This parameter is available only in the regions where the route table function is enabled.
Select a route table required for the VPC where the VPC endpoint is located.
For details about how to add a route, see Adding a Custom Route in the Virtual Private Cloud User Guide.
Tag
This parameter is optional.
Specifies the VPC endpoint tag, which consists of a key and a value. You can add a maximum of 10 tags to each VPC endpoint.
Tag keys and values must meet requirements listed in Table 2.
NOTE:If a predefined tag has been created on TMS, you can directly select the corresponding tag key and value.
For details about predefined tags, see Predefined Tag Overview.
Table 2 Tag requirements for VPC endpoints Parameter
Requirement
Tag key
- Cannot be left blank.
- Must be unique for each resource.
- Can contain a maximum of 36 Unicode characters.
- Cannot start or end with a space or contain special characters =*<>\,|/
Tag value
- Cannot be left blank.
- Can contain a maximum of 43 Unicode characters.
- Cannot start or end with a space or contain special characters =*<>\,|/
- Confirm the specifications and click Next.
- If all of the specifications are correct, click Submit.
- If any of the specifications are incorrect, click Previous to return to the previous page and modify the parameters as needed, and click Submit.
- Click Back to VPC Endpoint List after the task is submitted.
If the status of the VPC endpoint changes from Creating to Accepted, the VPC endpoint for connecting to com.myhuaweicloud.na-mexico-1.obs is created.
- In the VPC endpoint list, click the ID of the target VPC endpoint to view its details. Figure 2 Summary of the VPC endpoint
Last Article: Step 1: Buy a VPC Endpoint for Connecting to DNS
Next Article: Step 3: Access OBS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.