Quick Deployment
This section helps you quickly Building a Dify-LLM Application Development Platform on Huawei Cloud.
- Log in to Huawei Cloud Quick-Start Guides and choose Building a Dify-LLM Application Development Platform. Select a region from the Data Center drop-down list and click Deploy.
Figure 1 Selecting a solution
- On the Select Template page, click Next.
Figure 2 Selecting a solution
- On the Configure Parameters page, enter a stack name, configure parameters based on Table 1, and click Next.
Figure 3 Configuring parameters
Table 1 Parameter description Parameter
Type
Mandatory
Description
Default Value
vpc_name
string
Yes
Name of a new VPC that this template will create. The name consists of 1 to 54 characters, and can include digits, letters, underscores (_), hyphens (-), and periods (.). No duplicate names are allowed.
dify-llm-application-development-platform-demo
security_group_name
string
Yes
Security group name. This template uses a newly created security group. For details about how to configure security group rules, see (Optional) Modifying Security Group Rules. It can contain 1 to 64 characters, including only letters, digits, underscores (_), hyphens (-), and periods (.).
dify-llm-application-development-platform-demo
ecs_name
string
Yes
Cloud server name, which must be unique. It consists of 1 to 64 characters and can include letters, digits, underscores (_), hyphens (-), and periods (.).
dify-llm-application-development-platform-demo
ecs_flavor
string
Yes
Instance flavor of ECS or FlexusX. The flavor ID format of a FlexusX instance is x1.?u.?g. For example, the flavor ID of a FlexusX instance with 2 vCPUs and 4 GiB memory is x1.2u.4g. For details about FlexusX instance flavors, see the console.
x1.2u.4g
ecs_password
string
Yes
Initial password of the cloud server. It consists of 8 to 26 characters and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?). The password cannot contain the username or the username spelled backwards. The administrator account is root.
Null
system_disk_size
number
Yes
System disk size of the cloud server. The default disk type is high I/O and the ECS disk space cannot be scaled down. Value range (GiB): 40-1024.
100
bandwidth_size
number
Yes
EIP bandwidth size, in Mbit/s. EIPs are billed by traffic. Value range: 1-300.
300
charging_mode
string
Yes
Billing mode. By default, expenses are automatically deducted. The value can be postPaid (pay-per-use) or prePaid (yearly/monthly).
postPaid
charging_unit
string
Yes
Subscription period type. This parameter is valid only when the charging_mode is set to prePaid (yearly/monthly). The value can be month or year.
month
charge_period
number
Yes
Subscription period. This parameter is valid only when charging_mode is set to prePaid (yearly/monthly). The default value is 1. Value range: 1-9 (charging_unit set to month); 1-3 (charging_unit set to year).
1
- 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
- On the Confirm Configurations page, confirm the configurations and click Create Execution Plan.
Figure 5 Confirming the configurations
- In the displayed Create Execution Plan dialog box, enter an execution plan name and click OK.
Figure 6 Creating an execution plan
- 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 pageFigure 8 Confirming the execution plan
- (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 Table 2 to see the total price.
- Wait until the message "Apply required resource success" is displayed on the Events tab page. This means the deployment is complete. The deployment takes about 10 minutes, which will be delayed by network fluctuations.
Figure 9 Resources created
- Refresh the page and check the "Output" section for the Dify-LLM application development platform access instructions. After the stack deployment is successfully executed, the Dify application setup script will start running. Please be patient and wait for approximately 5-10 minutes (this duration may vary due to network fluctuations).
Figure 10 Instructions
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