Help Center> Cloud Container Engine> User Guide> User Guide for Autopilot Clusters> Workloads> Configuring VPC Endpoints for Accessing SWR and OBS
Updated on 2024-06-26 GMT+08:00

Configuring VPC Endpoints for Accessing SWR and OBS

When deploying a workload in a CCE Autopilot cluster, you need to use the VPC endpoints of SWR and OBS to pull images.

For details about VPC Endpoint, see What Is VPC Endpoint?

Figure 1 A CCE Autopilot cluster accessing SWR and OBS

Configuring the VPC Endpoint for Accessing SWR

  1. Log in to the VPC Endpoint console.
  2. On the displayed page, click Buy VPC Endpoint.
  3. Configure the parameters.

    Table 1 Parameters for creating a VPC endpoint

    Parameter

    Description

    Region

    Select the region where the VPC endpoint is located. The VPC endpoint must be in the same region as the cluster.

    Billing Mode

    Select Pay-per-use.

    Service Category

    Select Find a service by name.

    VPC Endpoint Service Name

    Enter a service name based on Table 2 and click Verify.

    VPC

    Select the VPC where the cluster is located.

    Subnet

    Select a subnet.

    IPv4 Address

    By default, Automatically assign IPv4 address is selected. You can also select Manually specify an IP address as required.

    Table 2 VPC endpoint service names for SWR

    Region

    Name

    CN South-Guangzhou-InvitationOnly

    cn-south-4.SWR.f80386a2-ce16-4f92-9df9-20f7fc01e7a2

    CN Southwest-Guiyang1

    com.myhuaweicloud.cn-southwest-2.swr

    CN South-Guangzhou

    swr.cn-south-1.myhuaweicloud.com

    CN East-Shanghai1

    com.myhuaweicloud.cn-east-3.swr

    Figure 2 Creating a VPC endpoint for SWR

  4. Click Next to confirm the configuration.

    • If the configuration is correct, click Submit.
    • If any parameter is incorrect, click Previous to modify it as needed, and then click Submit.

  5. Go back to the VPC endpoint list.

    If the status of the VPC endpoint changes to Accepted, the VPC endpoint is connected to the VPC endpoint service.

Configuring the VPC Endpoint for Accessing OBS

  1. Log in to the VPC Endpoint console.
  2. On the displayed page, click Buy VPC Endpoint.
  3. Configure the parameters.

    Table 3 Parameters for creating a VPC endpoint

    Parameter

    Description

    Region

    Select the region where the VPC endpoint is located. The VPC endpoint must be in the same region as the cluster.

    Billing Mode

    Select Pay-per-use.

    Service Category

    Select Find a service by name.

    VPC Endpoint Service Name

    Enter a service name based on Table 4 and click Verify.

    VPC

    Select the VPC where the cluster is located.

    Route Table

    Select a route table.

    Table 4 VPC endpoint service names for OBS

    Region

    Name

    CN South-Guangzhou-InvitationOnly

    cn-south-4.com.myhuaweicloud.v4.obsv2

    CN Southwest-Guiyang1

    cn-southwest-2.com.myhuaweicloud.v4.obsv2

    CN South-Guangzhou

    cn-southcom.myhuaweicloud.v4.obsv2

    CN East-Shanghai1

    cn-east-3.com.myhuaweicloud.v4.obsv2

    Figure 3 Creating a VPC endpoint for OBS

  4. Click Next to confirm the configuration.

    • If the configuration is correct, click Submit.
    • If any parameter is incorrect, click Previous to modify it as needed, and then click Submit.

  5. Go back to the VPC endpoint list.

    If the status of the VPC endpoint changes to Accepted, the VPC endpoint is connected to the VPC endpoint service.