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

Quick Deployment

This section helps users efficiently deploy the "Building a New API LLM Gateway" solution. When deploying this solution with one click, follow the steps and instructions in this section to complete the quick deployment.

  1. Go to the solution details page, click "Start Deployment", select the corresponding deployment region, and jump to the RFS deployment page.

    Figure 1 RFS Purchase Page

  2. Click "Next" to confirm the basic configuration and set the password.

    Figure 2 Basic Configuration Diagram
    Table 1 Community Standalone Edition Configuration Instructions

    Parameter

    Type

    Mandatory

    Description

    Default Value

    vpc_name

    string

    Mandatory

    Virtual private cloud name. This template uses a newly created VPC, and duplicate names are not allowed. Value range:1-54 characters, supporting Chinese characters, English letters, numbers,(_,-,.).

    building-a-newapi-llm-gateway-demo

    security_group_name

    string

    Mandatory

    Security group name. This template creates a new security group; please refer to the deployment guide for configuring security group rules. Value range:1-64 characters, supporting numbers, letters, Chinese characters,(_,-,.).

    building-a-newapi-llm-gateway-demo

    ecs_name

    string

    Mandatory

    Cloud server instance name, duplicate names are not supported. Value range: 1-64 characters, supporting Chinese characters, English letters, and numbers, (_,-,.).

    building-a-newapi-llm-gateway-demo

    ecs_flavor

    string

    Mandatory

    Cloud server instance specification. Supports Elastic Cloud Server (ECS) and Huawei Cloud Flexus Cloud Server X instances. The naming rule for Flexus Cloud Server X instance specification IDs is x1.?u.?g. For example, the specification ID for 2vCPUs4GiB is x1.2u.4g. For specific Huawei Cloud Flexus Cloud Server X instance specifications, refer to the X instance console configuration. For Elastic Cloud Server (ECS) specifications, refer to the ECS console configuration.

    x1.8u.16g

    ecs_password

    string

    Mandatory

    loud server password. Length: 8-26 characters. The password must contain at least three of the following four types: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?).

    root

    system_disk_size

    number

    Mandatory

    Cloud server system disk size. The disk type defaults to High I/O. Unit: GB. Value range: 40-1,024. Disk shrinking is not supported.

    100

    bandwidth_size

    number

    Mandatory

    Elastic IP bandwidth size. The billing method for this template is pay-by-traffic. Unit: Mbit/s. Value range: 1-300 Mbit/s.

    300

    charging_mode

    string

    Mandatory

    Billing mode, default automatic deduction. Valid values: prePaid (yearly/monthly package) or postPaid (pay-as-you-go).

    postPaid

    charging_unit

    string

    Mandatory

    Order period type. This parameter is mandatory when charging_mode is prePaid. Valid values: month (monthly) or year (yearly).

    month

    charging_period

    number

    Mandatory

    Billing period. This parameter is mandatory when charging_mode is prePaid. Valid values: 1-3 (year) or 1-9 (month).

    1

    Table 2 CCE Container High Availability Edition Configuration Instructions

    Parameter

    Type

    Mandatory

    Description

    Default Value

    resource_name_prefix

    string

    Mandatory

    Resource name prefix naming rule: {resource_name_prefix}-English resource name. For example: CCE cluster name is {resource_name_prefix}-cce. Value range: 4-24 characters, supports lowercase letters, numbers, and hyphens (-). Must start with a lowercase letter. Cannot start with a hyphen (-).

    ha-new-api

    cce_cluster_flavor

    string

    Mandatory

    CCE Turbo cluster specifications. The specification cannot be changed after the cluster is created. Optional values: cce.s2.small, cce.s2.medium, cce.s2.large, cce.s2.xlarge. For specific specifications, please refer to the deployment guide configuration.

    cce.s2.small

    cce_node_pool_password

    string

    Mandatory

    CCE cluster node password, used for cluster node login. Valid range: 8-24 characters. The password must contain at least one uppercase letter, one lowercase letter, and include either a digit or a special character (~!@#$^*-=_,?).

    -

    cce_node_pool_flavor

    string

    Mandatory

    CCE cluster node cloud server instance specifications support Elastic Cloud Server (ECS) and Huawei Cloud Flexus Cloud Server X instances. The naming convention for Flexus Cloud Server X instance specification IDs is x1.?u.?g. For example, the specification ID for 2vCPUs4GiB is x1.2u.4g. Please use specifications of 3vCPUs6GiB or above. For specific Huawei Cloud Flexus X instance specifications, refer to the X instance console configuration. For Elastic Cloud Server (ECS) specifications, refer to the ECS console configuration.

    x1.8u.16g

    cce_node_pool_count

    number

    Mandatory

    The initial number of nodes in the CCE node pool, with a maximum of 10.

    3

    rds_flavor

    string

    Mandatory

    Cloud Database RDS for MySQL instance specification. This solution creates a primary/standby edition by default. For other specifications, please refer to the RDS console configuration.

    rds.mysql.n1-v2.xlarge.2.ha(4U8G)

    mysql_password

    string

    Mandatory

    The administrator password for the MySQL database must be 8-24 characters long, including at least one uppercase letter, one lowercase letter, and one number or special character (~!^*-=_+,).

    -

    mysql_user_password

    string

    Mandatory

    The password for the database user of the MySQL database must be 8-24 characters long, including at least one uppercase letter, one lowercase letter, and one number or special character (~!^*-=_+,). It cannot be identical to the username or the reverse of the username.

    -

    redis_capacity

    number

    Mandatory

    Distributed Cache Service Redis Edition instance specifications. Available options: 1GB-64GB.

    1GB

    redis_password

    string

    Mandatory

    Redis database password. Valid range: 8-24 characters. The password must contain at least uppercase letters, lowercase letters, and include numbers or special characters (~!^*-=_+,).

    -

    session_secret

    string

    Mandatory

    Session key for the New API management backend. Valid range: 8-24 characters. The password must contain at least uppercase letters, lowercase letters, and include numbers or special characters (~!^*-=_+,).

    -

    crypto_secret

    string

    Mandatory

    Encryption key used for encrypting large model API keys. Valid range: 8-24 characters. The password must contain at least uppercase letters, lowercase letters, and include numbers or special characters (~!^*-=_+,).

    -

    charging_mode

    string

    Mandatory

    Billing mode, default automatic deduction. Valid values: prePaid (yearly/monthly package) or postPaid (pay-as-you-go).

    postPaid

    charging_unit

    string

    Mandatory

    Order period type. This parameter is mandatory when charging_mode is prePaid. Valid values: month (monthly) or year (yearly).

    month

    charging_period

    number

    Mandatory

    Billing period. This parameter is mandatory when charging_mode is prePaid. Valid values: 1-3 (year) or 1-9 (month).

    1

  3. (Optional) In the encryption activation interface, select "Custom Key" from the key dropdown menu, then click "OK".

    Figure 3 Encryption Settings

  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.

    Figure 7 Execution plan page

  8. In the displayed dialog box, click "Execute".The system will complete the deduction through automatic payment. Please ensure that your account has sufficient balance.

    Figure 8 Confirming the execution plan
    • When creating a new account or when the account balance is insufficient, please go to the "Billing Center > Top-up" page to recharge. For details, please refer toAccount Top-up.
    • If you have selected a yearly/monthly billing mode and automatic payment fails due to insufficient account balance, please go to the "Billing Center > Unpaid Orders" page to complete the payment manually.

  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.

    Figure 9 Solution deployed

  10. On the Outputs tab, view the access description of the platform. After the stack is successfully deployed, the application setup script starts to execute. Please wait patiently for about 20 minutes (subject to network fluctuations).

    Figure 10 Access description