Updated on 2024-06-27 GMT+08:00

Quick Deployment

This section describes how to quickly deploy this solution.

Table 1 Parameter description

Parameter Name

Type

Mandatory

Description

Default Value

enterprise_project_id

string

Yes

Enterprise project ID. Visit https://console/intl.huaweicloud.com/eps/ to find the ID. 0 indicates the default enterprise project. Value range: 0 or a string of characters in UUID format

0

vpc_name

string

Yes

Virtual Private Cloud (VPC) name. It must be unique. It can contain 1 to 64 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.

vpc-pulsar-cluster

security_group_name

string

Yes

Security group name. For details about how to modify security group rules, see (Optional) Modifying Security Group Rules. The value can contain 1 to 64 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.

sg-pulsar-cluster

ecs_name

string

Yes

Prefix of the ECS name. It must be unique. The naming rules are {ecs_name}-zookeeper-0X, {ecs_name}-bookie-0X, {ecs_name}-broker-0X, and {ecs_name}-manager. X is an integer from 1 to 3. The value can contain 1 to 51 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.

pulsar-cluster

ecs_password

string

Yes

Initial ECS password. After a Pulsar cluster is created and deployed, 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. It can contain 8 to 26 characters and must include 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.

None

pulsar_manager_flavor

string

Yes

ECS flavor of the manager node. You are advised to use an ECS with at least 2 vCPUs and 4 GB of memory. For more flavors, see A Summary List of x86 ECS Specifications.

c7n.large.2

pulsar_zookeeper_flavor

string

Yes

ECS flavor of the ZooKeeper node. You are advised to use an ECS with at least 2 vCPUs and 8 GB of memory. For more flavors, see A Summary List of x86 ECS Specifications.

c7n.large.4

pulsar_zookeeper_ecs_count

number

Yes

Number of ECSs running the ZooKeeper nodes. The value is an integer between 0 and 10.

3

pulsar_bookie_broker_flavor

string

Yes

ECS flavor of bookie and broker nodes. You are advised to use an ECS with at least 4 vCPUs and 8 GB of memory. For more flavors, see A Summary List of x86 ECS Specifications.

c7n.xlarge.2

pulsar_bookie_ecs_count

number

Yes

Number of ECSs running the bookie nodes. The value is an integer between 0 and 10.

3

pulsar_broker_ecs_count

number

Yes

Number of ECSs running the broker nodes. The value must be an integer between 0 and 10.

3

ecs_disk_size

number

Yes

System disk size of components, in GB. The default disk type is general-purpose SSD. The disk size cannot be decreased. Value range: 40 to 1,024

100

charge_mode

string

Yes

Billing mode. The value can be postPaid (for pay-per-use) or prePaid (for yearly/monthly). Billing is automatic by default.

postPaid

charge_period_unit

string

Yes

Type of an ECS subscription term. This parameter is valid only when charge_mode is set to prePaid (yearly/monthly). The value can be month or year.

month

charge_period

string

Yes

Subscription term. This parameter is valid only when charge_mode is set to prePaid (yearly/monthly). If charge_period_unit is set to month, the value range is 1 to 9. If charge_period_unit is set to year, the value range is 1 to 3.

1

  1. Access Huawei Cloud Quick-Start Guides and choose Quickly Deploying a Highly Available Pulsar Cluster. 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

  3. On the Configure Parameters page, configure parameters based on Table 1 and click Next.

    Figure 3 Configuring parameters

  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, click Create Execution Plan.

    Figure 5 Confirming configurations

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

    Figure 6 Creating an execution plan

  7. Click Deploy in the Operation column. In the displayed dialog box, click Execute.

    Figure 7 An execution plan created

    Figure 8 Confirming the execution plan

  8. (Optional) If you select yearly/monthly billing and your account balance is insufficient, log in to the Billing Center to pay for the order manually. You can refer to Table 2 to see the total price.
  9. Wait until the message Apply required resource success is displayed. It will take about 20 minutes for the environment to be deployed in the background.

    Figure 9 Checking the deployment

    Figure 10 Final results