Updated on 2026-07-03 GMT+08:00

Quick Deployment

This section helps users efficiently deploy the "Accessing ModelArts Inference Services via Custom Domain" solution. By following the steps and instructions in this section to deploy the solution with one click, you can complete the rapid deployment.

  1. Log in to Huawei Cloud Quick-Start Guides and choose Accessing ModelArts Inference Services via Custom Domain. Click Deploy.

    Figure 1 Selecting a solution

  2. On the Select Template page, click Next.

    Figure 2 Selecting a solution

  3. On the Configure Parameters page, enter a stack name, configure parameters based on Table1 Parameter description, and click Next.

    Figure 3 Configuring parameters

    Table 1 Parameter descriptions (single-cloud server deployment)

    Parameter

    Type

    Mandatory

    Description

    Default Value

    project_name

    String

    Mandatory

    Project name, used for resource creating. Value range: 4-24 characters, supports lowercase letters, numbers, and hyphens (-). Must start with a lowercase letter. Cannot start with a hyphen (-).

    modelarts-service

    bandwidth_size

    Number

    Mandatory

    Elastic public network bandwidth size, bound to APIG instance. Billing mode is pay-by-bandwidth. Unit: Mbit/s, value range: 5-2000 Mbit/s.

    10

    service_host

    String

    Mandatory

    Custom subdomain protected by WAF. If the primary domain has DNS resolution configured in Huawei Cloud DNS, this solution will associate the WAF CNAME with this subdomain.

    N/A

    waf_flavor

    String

    Mandatory

    WAF instance flavor. Options: detection, professional, enterprise, ultimate. The detection edition is only available in some regions.

    professional

    ccm_certificate_id

    String

    Optional

    CCM certificate ID. Required for HTTPS connections. If empty, HTTP protocol is used.

    N/A

    modelarts_service_path

    String

    Mandatory

    ModelArts private network access address. You can copy it from the ModelArts Console

    N/A

    modelarts_service_vpc_id

    String

    Mandatory

    VPC ID bound to the ModelArts private network connection.

    N/A

    modelarts_service_subnet_id

    String

    Mandatory

    Subnet ID bound to the ModelArts private network connection.

    N/A

    apig_flavor

    String

    Mandatory

    APIG flavor. Options: BASIC, PROFESSIONAL, ENTERPRISE, PLATINUM.

    BASIC

    charging_mode

    String

    Mandatory

    Billing mode, default automatic payment. Optional values: postPaid (pay-as-you-go), prePaid (yearly/monthly subscription).

    postPaid

    charging_unit

    String

    Mandatory

    Subscription period type, effective only when charging_mode is prePaid (yearly/monthly subscription). This parameter becomes mandatory in this case. Optional values: month (monthly), year (yearly).

    month

    charging_period

    Number

    Mandatory

    Subscription period, effective only when charging_mode is prePaid (yearly/monthly subscription). This parameter becomes mandatory in this case. When charging_unit=month (monthly cycle type), value range: 1-9; when charging_unit=year (yearly cycle type), value range: 1-3.

    1

  4. On the Configure Stack page, select rf_admin_trust from the Agency drop-down list and click Next. This step is optional if you use an account (HUAWEI ID) or use an IAM user in the admin user group.

    Figure 4 Configuring a stack

  5. On the Confirm Configurations page, confirm the configurations and click Create Execution Plan.

    Figure 5 Confirming the configurations

  6. In the displayed Create Execution Plan dialog box, enter an execution plan name and click OK.

    Figure 6 Creating an execution plan

  7. Wait until the status of the execution plan changes to Available and then click Deploy in the Operation column. In the displayed dialog box, click Execute.

    Figure 7 Execution plan page

    Figure 8 Confirming the execution plan

  8. (Optional) If you select the yearly/monthly billing mode and your account balance is insufficient, log in to the Billing Center to manually pay for the order. You can refer to Table2 Resource planning costs (yearly/monthly) to see the total price.
  9. Click the Events tab and check whether the message "Apply required resource success." is displayed in the Description column. If it is, the solution is successfully deployed. Follow the instructions from outputs to publish API on the APIG console and manage your domain resolution properly if it is not registered on Huawei Cloud DNS.

    Figure 9 Solution deployed

    Figure 10 Access instructions