Updated on 2023-08-08 GMT+08:00

Quick Deployment

This section describes how you can quickly deploy this solution.

Table 1 Parameters required for deploying this solution

Parameter

Type

Mandatory

Description

Default Value

vpc_name

string

Yes

VPC name. This template uses a newly created VPC and the VPC name must be unique. The name can contain 1 to 56 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

cross-vpc-backend-to-elb-demo

secgroup_name

string

Yes

Security group name. This template uses a newly created security group. To modify security group rules, see (Optional) Modifying Security Group Rules. The value can contain 1 to 62 characters, including letters, digits, underscores (_), hyphens (-), and periods (.).

cross-vpc-backend-to-elb-demo

ecs_name

string

Yes

ECS name, which must be unique. The name can contain 1 to 59 characters, including letters, digits, underscores (_), hyphens (-), and periods (.)

cross-vpc-backend-to-elb-demo

ecs_flavor

string

Yes

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

s6.small.1

(s6|1 vCPU|1 GiB)

ecs_password

string

Yes

Initial password of the ECS. Log in to the ECS console to change the password by following Resetting the Password for Logging In to an ECS on the Management Console. The password can contain 8 to 26 characters, including at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@$%^-_=+[{}]:,./?). Passwords cannot contain any username or the username spelled backwards. The administrator username is root.

Left blank

charging_mode

String

Yes

Billing mode. The value can be prePaid (yearly/monthly) or postPaid (pay-per-use).

postPaid

charging_unit

String

Yes

Billing period type. The value can be year or month. This parameter is mandatory when charging_mode is set to prePaid.

month

charging_period

number

Yes

Billing period. When charging_unit is set to year, the value ranges from 1 to 3. When charging_unit is set to month, the value ranges from 1 to 9. This parameter is mandatory when charging_mode is set to prePaid.

1

  1. Log in to Practical Application of Huawei Cloud Solutions and select Routing Traffic to Backend Servers in Different VPCs.

    Figure 1 Selecting a solution

  2. On the Select Template page, click Next.

    Figure 2 Selecting a template

  1. On the Configure Parameters page, enter a stack name, configure parameters based on Table 1, and click Next.

    Figure 3 Configuring 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 Executing the plan

  4. Wait until the deployment is complete and click the Events tab to view details.

    Figure 9 Resources created