Configure a VPC Endpoint
Context
VPC Endpoint (VPCEP) 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. What Is VPC Endpoint?
Before mounting a general purpose file system to a compute resource, you need to create a VPC endpoint in the region where the compute resource belongs. VPC endpoints can be created for General Purpose File System in the following regions: CN North-Beijing4, CN East-Shanghai1, CN-Hong Kong, and CN South-Guangzhou. In the regions beside those ones, SFS Capacity-Oriented and SFS Turbo are recommended.
VPC endpoints are not required for SFS Capacity-Oriented and SFS Turbo file systems.
Prerequisites
- Before creating a general purpose file system, ensure that a VPC is available.
If no VPC is available, create one by referring to Creating a VPC in the Virtual Private Cloud User Guide.
- Before creating a general purpose file system, ensure that ECSs are available and in the created VPC.
If no ECSs are available, buy ECSs by referring to Purchasing an ECS and Logging In to an ECS.
Procedure
- Log in to the Huawei Cloud console.
- Log in to the management console.
- Click in the upper left corner and select your desired region and project.
- Choose Networking > VPC Endpoint > VPC Endpoints.
- On the VPC Endpoints page, click Buy VPC Endpoint.
The Buy VPC Endpoint page is displayed.
Figure 2 Buy VPC Endpoint
- Set the parameters as prompted.
Table 1 Parameters for purchasing an endpoint 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.
VPC Endpoint supports General Purpose File System only in the CN North-Beijing4, CN East-Shanghai1, CN-Hong Kong, and CN South-Guangzhou regions.
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-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 a predefined tag has been created in TMS, you can select the corresponding tag key and value. For details about predefined tags, see Predefined Tag Overview.
Table 2 describes the tag parameters.Table 2 Tag parameter description Parameter
Description
Example Value
Tag key
Each tag has a unique key. You can customize the key or select the key of an existing tag created in TMS.
A tag key:
- Can contain 1 to 36 Unicode characters.
- Can contain only letters, digits, hyphens (-), and underscores (_).
Key_0001
Tag value
A tag value can be repetitive or left blank.
A tag value:
- Can contain 0 to 43 Unicode characters.
- Can contain only letters, digits, hyphens (-), and underscores (_).
Value_0001
- Click Next.
- If you do not need to modify the specifications, click Submit.
- If you need to modify the specifications, 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