Updated on 2024-03-15 GMT+08:00

Buying an Instance

Scenario

Your RocketMQ instance will be deployed in physical isolation and exclusively used by you. You can customize the computing capabilities and storage space of an instance based on service requirements.

Prerequisites

You have prepared required resources.

Procedure

  1. Go to the Buy Instance page.
  2. Specify Billing Mode, Region, Project, and AZ.
  3. Configure the following instance parameters:

    1. Instance Name: Enter a name for the instance.
    2. Enterprise Project: Select an enterprise project based on service requirements.
    3. Specifications: Select Default or Custom.
      If you select Default and the version is 4.8.0, specify the flavor, number of brokers, and broker storage space to be supported by the RocketMQ instance based on the site requirements.
      • Architecture: Currently, only cluster instances are supported.
      • CPU Architecture: Currently, only x86 architecture is supported.
      • Broker Flavor: Select the required flavor.
      • Brokers: Select the required number of brokers.
      • Storage Space per Broker: Specify the disk type and storage space of each broker.

        The disk type can be high I/O, ultra-high I/O, General-Purpose SSD, or Extreme SSD. For details on how to select a disk type, see Disk Types and Disk Performance.

      Figure 1 Default specifications

      If you select Custom, the system calculates the number of brokers and broker storage space for different flavors based on your specified number of topics, peak creation TPS, peak retrieval TPS, average message size, and number of messages created every day. You can select one of the recommended flavors as required.

      Figure 2 Specification calculation

  4. Configure the instance network parameters.

    1. Select a VPC and a subnet.

      A VPC provides an isolated virtual network for your RocketMQ instances. You can configure and manage the network.

      After the RocketMQ instance is created, its VPC and subnet cannot be changed.

    2. Select a security group.

      A security group is a set of rules for accessing a RocketMQ instance.

  5. Configure SSL.

    This parameter indicates whether to enable SSL authentication when a client connects to the RocketMQ instance. If SSL is enabled, data will be encrypted before transmission for enhanced security.

    This setting cannot be changed after the instance is created. If you want to use a different SSL setting after the instance is created, you must create another instance.

    SSL is not supported for RocketMQ 5.x (basic edition).

  6. Configure ACL.

    After ACL is enabled, the permissions for each user are exclusive.

  7. Select the required duration.

    This parameter is displayed only if the billing mode is yearly/monthly.

  8. Click More Settings to configure more parameters.

    • Configure Public Access.

      Public access is disabled by default. You can enable or disable it as required. After public access is enabled, configure an IPv4 EIP for each broker.

    • Specify tags.

      Tags are used to identify cloud resources. When you have many cloud resources of the same type, you can use tags to classify cloud resources by dimension (for example, usage, owner, or environment).

      If your organization has configured tag policies for DMS for RocketMQ, add tags to RocketMQ instances based on the tag policies. If a tag does not comply with the tag policies, RocketMQ instance creation may fail. Contact your organization administrator to learn more about tag policies.

      • If you have created predefined tags, select a predefined pair of tag key and value. To view or create predefined tags, click View predefined tags on the right. You will then be directed to the TMS console.
      • You can also create new tags by entering Tag key and Tag value.

      Up to 20 tags can be added to each RocketMQ instance. For details about the requirements on tags, see Managing Instance Tags.

    • Enter a description of the instance.

  9. Click Buy.
  10. Confirm the instance information, and read and agree to the HUAWEI CLOUD Customer Agreement. If you have selected the yearly/monthly billing mode, click Pay Now and make the payment as prompted. If you have selected the pay-per-use mode, click Submit.
  11. Return to the instance list and check whether the instance has been created.

    It takes 3 to 15 minutes to create an instance. During this period, the instance status is Creating.

    • If the instance is created successfully, its status changes to Running.
    • If the instance is in the Creation failed state, delete it by referring to Deleting an Instance and then create a new one. If the instance creation fails again, contact customer service.