Updated on 2024-04-19 GMT+08:00

Creating a Cluster

Procedure

  1. Log in to CSSmanagement console.
  2. On the Dashboard page, click Create Cluster in the upper right corner. The Create page is displayed.

    Alternatively, choose Clusters > Logstash in the navigation tree on the left. Click Create Cluster in the upper right corner. The Create page is displayed.

  3. Click Create Cluster. The Create Cluster page is displayed.
  4. Configure Billing Mode and Required Duration.
    Table 1 Billing parameters

    Parameter

    Description

    Billing Mode

    Select Yearly/Monthly or Pay-per-use.

    • Yearly/Monthly: You pay for the cluster by year or month, in advance. The service duration range is one month to three years. If you plan to use a cluster for more than nine months, you are advised to purchase a yearly package for a better price. A yearly package costs the same as 10 monthly packages.
    • Pay-per-use: You are billed by actual duration of use, with a billing cycle of one hour. For example, 58 minutes of usage will be rounded up to an hour and billed.

    Required Duration

    The duration for which the purchased EIP will use. The duration must be specified if the Billing Mode is set to Yearly/Monthly.

    Configure automatic renewal as required.

  5. Specify Region and AZ.
    Table 2 Region and AZ parameters

    Parameter

    Description

    Region

    Select a region for the cluster from the drop-down list on the right. The following regions are supported: CN-Hong Kong, AP-Bangkok, AP-Singapore, and AF-Johannesburg.

    AZ

    Select AZs associated with the cluster region. For details, see What Are Regions and AZs?

  6. Set basic information about the cluster. Specifically, set Version and Name.
    Table 3 Basic parameters

    Parameter

    Description

    Cluster Type

    Type of a cluster. Currently, Logstash and Elasticsearch are supported.

    This section describes how to create a Logstash cluster.

    For details about how to create an Elasticsearch cluster, see Creating an Elasticsearch Cluster.

    For details about how to create an Opensearch cluster, see Creating a Cluster.

    Version

    Version 7.10.0 is supported.

    Name

    Cluster name, which contains 4 to 32 characters. Only letters, numbers, hyphens (-), and underscores (_) are allowed and the value must start with a letter.

    NOTE:

    After a cluster is created, you can modify the cluster name as required. Click the name of a cluster to be modified. On the displayed Basic Information page, click next to the cluster name. After the modification is completed, click to save the modification. If you want to cancel the modification, click .

    Figure 1 Configuring basic information
  7. Set host specifications of the cluster.
    Table 4 Parameter description

    Parameter

    Description

    Nodes

    Number of nodes in a cluster.

    CPU Architecture

    Currently, Logstash clusters support x86 computing. The supported type is determined by the actual regional environment.

    Node Specifications

    Specifications of nodes in a cluster.

    Select a node type and node specification. Note that you cannot select the CPU and memory resources that have been sold out.

    Node Storage Type

    Extreme SSD, Common I/O, High I/O, and Ultra-high I/O are supported.

    NOTE:

    If the type of storage in use has been sold out or is not supported, the storage type is not displayed.

    Node Storage Capacity

    Storage capacity.

    Figure 2 Configuring host specifications
  8. Set the enterprise project.

    When creating a CSS cluster, you can bind an enterprise project to the cluster if you have enabled the enterprise project function. You can select an enterprise project created by the current user from the drop-down list on the right or click View Project Management to go to the Enterprise Project Management console and create a new project or view existing projects.

  9. Click Next: Configure Network. Configure the cluster network.
    Table 5 Parameter description

    Parameter

    Description

    VPC

    A VPC is a secure, isolated, and logical network environment.

    Select the target VPC. Click View VPC to enter the VPC management console and view the created or shared VPC names and IDs. If no VPCs are available, create one.

    NOTE:

    The VPC must contain CIDRs. Otherwise, cluster creation will fail. By default, a VPC will contain CIDRs.

    Subnet

    A subnet provides dedicated network resources that are isolated from other networks, improving network security.

    Select the target subnet. You can access the VPC management console to view the names and IDs of the existing subnets in the VPC.

    Security Group

    A security group implements access control for ECSs that have the same security protection requirements in a VPC. To view more details about the security group, click View Security Group.

    NOTE:

    Ensure that Port Range/ICMP Type is Any or a port range includes port 9200 for the selected security group.

    Figure 3 Configuring network specifications
  10. Click Next: Configure Advanced Settings. You can select Default or Custom for Advanced Settings.

    If you select Custom, you can set the tag and shared directory.

    • Tags: You can set tags to identify cloud resources.

      If your organization has enabled tag policies for CSS, you must comply with the tag policy rules when creating clusters, otherwise, clusters may fail to be created. Contact the organization administrator to learn more about tag policies.

    • Shared Directory: You can configure a shared directory for the cluster. If you want to enable the shared directory, log in to the SFS console to create an SFS Turbo file system and select a created file system.

      Once a shared directory is created for a cluster, it cannot be canceled or stopped. Even if the cluster is deleted, the corresponding shared directory will not be deleted.

  11. Click Next: Confirm. Check the configuration and click Next to create a cluster.
  12. Click Back to Cluster List to switch to the Clusters page. The cluster you created is listed on the displayed page and its status is Creating. If the cluster is successfully created, its status will change to Available.

    If the cluster creation fails, create the cluster again.