Updated on 2025-07-08 GMT+08:00

Purchasing a Ray Resource

Prerequisites

  • You have a valid Huawei Cloud account.
  • You have at least one workspace available.

Procedure

Ray is fully managed. Before using Ray, you need to purchase a Ray resource. Perform the following operations:

  1. Log in to Workspace Management Console.
  2. Select the created workspace, click Access Workspace, and choose Resources and Assets > Ray Resources.
  3. Click Buy Ray Resource in the upper right corner. The Purchase Ray Resource page is displayed. Select the DPU or APU specification, quantity, and purchase duration as required. For details, see Table 1.

    Table 1 Parameters on the Purchase Ray Resource page

    Parameter

    Description

    Billing Mode

    You can select Yearly/Monthly or Pay-per-Use.

    Resource Type

    You can select DPU or APU as required.

    DPU: CPU-based compute unit oriented to data analysis scenarios.

    APU: NPU-based compute unit oriented to AI scenarios.

    Specifications

    The differences between DPU resource specifications, such as fabric.ray.dpu.d1x, fabric.ray.dpu.d2x, and fabric.ray.dpu.d4x, lie in the number of CPUs and memory size.

    The differences between APU resource specifications lie in the number of Ascend cards and server models. You can select resources of different specifications as required.

    Purchase Duration

    You can select the purchase duration as required.

    There are minimum requirements for purchasing Ray resources. At least four fabric.ray.dpu.d1x resources are required. In the DataArtsFabric service, fabric.ray.dpu.dnx = n × fabric.ray.dpu.d1x.

  4. Click Next. Confirm the configurations and click Pay to go to the payment page. After the payment is done, the purchase is complete. You can view the status of purchased resources in the Ray resource tag.

    • After the purchase is complete, the status of new resources on the Ray Resources page is Preparing. If the purchase is successful, the status changes to Running. Otherwise, the status changes to Failed.
    • If you purchase resources for the first time, wait for about 15 to 20 minutes. If the purchase list contains APU resources, wait for about 40 to 50 minutes. If resources of other specifications are added, wait for about 5 minutes. If APU resources are added, wait for about 20 minutes. You can manually refresh the resource status to check whether the resources are ready.
    • For a specific specification, you can purchase only one resource. After the purchase is successful, you can adjust the number of the resource through scaling. If you need to purchase multiple resources of the same specification at the same time, create a workspace and purchase the resource again.