Updated on 2024-05-09 GMT+08:00

Quick Deployment

This section describes how to quickly deploy this solution.

Table 1 Parameter description

Parameter

Type

Mandatory

Description

Default Value

vpc_name

String

Yes

Virtual Private Cloud (VPC) name. You can select a template and create a VPC with the unique name. The name can include 1 to 57 characters and can contain only letters, digits, underscores (_), hyphens (-), and periods (.).

build-a-personal-website-based-on-wordpress_demo

secgroup_name

String

Yes

Security group name. A new security group needs to be created. For details about how to configure a security group rule, see (Optional) Modifying Security Group Rules. The name can include 1 to 64 characters and can contain only letters, digits, underscores (_), hyphens (-), and periods (.).

build-a-personal-website-based-on-wordpress_demo

ecs_name

String

Yes

Elastic Cloud Server (ECS) name, which must be unique. It can include 1 to 60 characters and can contain only letters, digits, underscores (_), hyphens (-), and periods (.).

build-a-personal-website-based-on-wordpress_demo

ecs_flavor

String

Yes

ECS flavor. For details, see A Summary List of x86 ECS Specifications.

t6.medium.2

ecs_password

String

Yes

ECS initial password. After an ECS is created, log in to the ECS console and change the password by referring to Resetting the Password for Logging In to an ECS on the Management Console. The password can include 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 username is root, for example, Huawei@123.

Left blank

system_disk_size

String

Yes

ECS system disk size, in GiB. The value ranges from 40 to 1024. The system disk size cannot be scaled down.

40

data_disk_size

String

Yes

ECS data disk size, in GiB. The value ranges from 10 to 32768.

250

charging_mode

String

Yes

Billing mode. By default, expenses are automatically deducted. The value can be prePaid (yearly/monthly) or postPaid (pay-per-use).

postPaid

charging_unit

String

No

Unit of a subscription period. This parameter is mandatory when the charging_mode is set to prePaid (yearly/monthly). The value can be month or year.

month

charging_period

number

No

Subscription period. This parameter is mandatory when the charging_mode is set to prePaid (yearly/monthly). If charging_unit is set to month, the value ranges from 1 to 9. If charging_unit is set to year, the value ranges from 1 to 3.

1

eip_traffic_size

number

Yes

Elastic IP (EIP) bandwidth size, in Mbit/s. This template uses an EIP billed by traffic. The value ranges from 1 to 300.

300

mysql_password

String

Yes

Password of the MySQL user root. The password can include 8 to 12 characters and can contain only uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?), for example, Huawei@123.

Left blank

database_sername

String

Yes

Username of the MySQL database. The username can contain 8 to 16 characters, which can be all letters or a combination of letters and digits.

wordprssuser

database_password

String

Yes

Password of the MySQL user database. After a MySQL database is created, you can change its password by referring to the deployment guide. The password can include 8 to 12 characters and can contain uppercase letters, lowercase letters, digits, and special characters (@%^-=) , for example, Huawei@123.

Left blank

  1. Log in to Practical Application of Huawei Cloud Solutions, choose Setting Up a WordPress Website. Select your desired region from the Data Center drop-down list and then click Deploy.

    Figure 1 Selecting a solution

  2. On the Select Template page, click Next.

    Figure 2 Selecting a template

  1. On the Configure Parameters page, configure parameters by referring to Table 1 and click Next.

    Figure 3 Configure Parameters

  2. On the Configure Stack page, select the rf_admin_trust agency and click Next.

    Figure 4 Configuring a stack

  1. On the Confirm Configurations page, click Create Execution Plan.

    Figure 5 Confirming configurations

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

    Figure 6 Creating an execution plan

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

    Figure 7 Execution plan created
    Figure 8 Confirming the execution plan

  4. (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 1 Resource planning and costs (yearly/monthly) to see the total price.Click the Events tab and check whether the message "Apply required resource success." is displayed. If yes, the solution is successfully deployed.

    Figure 9 Solution deployed