Configuring a VPC Endpoint
Background
VPC Endpoint provides reliable channels to connect VPCs to general-purpose file systems. By configuring VPC endpoints, compute resources in VPCs can access general-purpose file systems. To find more about VPC Endpoint, see What Is VPC Endpoint? Before mounting a general-purpose file system to compute resources, you need to create a VPC endpoint in the region where the compute resources reside. You can check if VPC Endpoint is supported in a region on the console.
Prerequisites
- A VPC is available.
If no VPC is available, create one by referring to Creating a VPC with a Subnet in the Virtual Private Cloud User Guide.
- ECSs are available and they are in the created VPC.
If no ECSs are available, buy ECSs by referring to Purchasing and Using an ECS and Logging in to an ECS.
Procedure
- Log in to the VPC Endpoint console.
- On the VPC Endpoints page, click Buy VPC Endpoint.
The Buy VPC Endpoint page is displayed.
Figure 2 Buy VPC Endpoint
- Configure VPC endpoint parameters.
Table 1 VPC endpoint parameters Parameter
Description
Region
Region where the VPC endpoint is located. Ensure that this region is the same as the one where the planned general-purpose file system resides.
Billing Mode
Pay-per-use is preselected by default, but you will not be billed for the endpoint purchased for general-purpose file systems.
Service Category
Select Find a service by name.
Enter a VPC endpoint service name based on the region selected.
- If the CN North-Beijing4 region is selected, enter cn-north-4.com.myhuaweicloud.v4.storage.lz13.
- If the CN South-Guangzhou region (AZ1) is selected, enter cn-south-1.com.myhuaweicloud.v4.obsv2.
NOTE:
General-purpose file systems created in AZ1 of the CN South-Guangzhou region cannot be mounted to containers.
- If the CN South-Guangzhou region (AZ6) is selected, enter cn-south-1.com.myhuaweicloud.v4.obsv2.storage.lz06.
- If the CN East-Shanghai1 region is selected, enter cn-east-3.com.myhuaweicloud.v4.storage.lz07.
- If the CN Southwest-Guiyang1 region is selected, enter com.myhuaweicloud.cn-southwest-2.ipv4.sfs.
- If the CN-Hong Kong region is selected, enter ap-southeast-1.com.myhuaweicloud.v4.obsv2.storage.lz005.
After entering the service name, click Verify.
If Service name found is displayed, proceed with subsequent steps.
If Service name not found is displayed, check whether the entered service name is correct. If the problem persists, submit a service ticket.
VPC
VPC where the planned general-purpose file system and ECSs reside.
Tag
Optional
VPC endpoint tags. Each tag consists of a key and a value. You can add a maximum of 10 tags to a VPC endpoint.
Tag keys and values must meet the requirements listed in Table 2.
NOTE:If you have created a predefined tag in TMS, you can select the corresponding tag key and value. For details about predefined tags, see Predefined Tags.
Table 2 describes the tag parameters.Table 2 Tag parameters Parameter
Description
Example Value
Tag key
Each tag has a unique key. You can customize a key or select the key of an existing tag created in TMS.
A tag key:
- Cannot be an empty string.
- Must be unique for each resource.
- Can contain a maximum of 128 characters.
- Can contain letters, digits, spaces, and the following characters: _.:=+-@; cannot start or end with a space, or start with _sys_.
Key_0001
Tag value
A tag value can be repetitive or left blank.
A tag value:
- Can be an empty string.
- Can contain a maximum of 255 characters.
- Can contain letters, digits, spaces, and the following characters _.:/=+-@; cannot start or end with a space.
Value_0001
- Click Next.
- If you do not need to modify the configuration, click Submit.
- If you need to modify the configuration, click Previous, modify the configuration as needed, and then click Submit.
- Go back to the VPC endpoint list and check whether the status of the VPC endpoint changes to Accepted. If so, the VPC endpoint has been connected to the VPC endpoint service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot