Create a cluster

更新时间:
复制 MD 格式

ApsaraDB for SelectDB isolates computing capacity at the cluster level. You can use multiple clusters for different workloads, such as data reads and writes, to meet the performance, scale, and duration requirements of various services. This topic describes how to create a cluster in an ApsaraDB for SelectDB instance.

Prerequisites

  • You have an Alibaba Cloud account. If you do not have an account, go to the Alibaba Cloud official website to register one.

  • If you use a RAM user to create the cluster, you must grant the RAM user the ApsaraDB for SelectDB AliyunSelectDBFullAccess policy. For more information about how to grant permissions, see Manage RAM user permissions.

  • You have an ApsaraDB for SelectDB instance.

  • If you want to create a pay-as-you-go cluster, ensure that your Alibaba Cloud account has a balance greater than or equal to CNY 100 balance.

Important

After a compute cluster in an ApsaraDB for SelectDB instance is created, it is assigned a VPC-internal address. Ports 8040 and 8060 are open for HTTP operations such as StreamLoad data imports and monitoring metric collection. Access to this address is controlled by an IP address whitelist. If you need to access the cluster using this address, you must add the client's IP address to the instance's IP address whitelist. For more information about how to configure an IP address whitelist, see Configure an IP address whitelist.

Billing

Subscription instance

Billing method

Description

subscription

The fee for a new subscription cluster is calculated as follows: Monthly fee for a cluster with the same configurations × (Number of remaining days from the creation date to the instance expiration date / 30). For pricing details, see Billable items and pricing.

Note

The number of remaining days is a decimal value accurate to 12 decimal places. For example, 31 days and 10 hours is calculated as 31.416666666667 days.

pay-as-you-go

New pay-as-you-go clusters are billed hourly based on their configuration. For pricing details, see Billable items and pricing.

Pay-as-you-go instance

A pay-as-you-go instance is postpaid. When you create a cluster in a pay-as-you-go instance, the billing rule remains the same, and you are charged hourly. For pricing details, see Billable items and pricing.

Procedure

  1. Log on to the ApsaraDB for SelectDB console.

  2. In the upper-left corner of the page, select the region where your instance is located.

  3. On the Instances page, click the target Instance ID to open the Instance Details page.

  4. In the left-side navigation pane, click Cluster Management.

  5. On the Cluster Management page, click Create Cluster.

  6. In the Create Cluster panel, configure the following parameters.

    Parameter

    Description

    Instance

    The target instance. This parameter cannot be changed.

    Cluster Name

    The name of the cluster. The name must meet the following requirements:

    • The name must be unique within the instance.

    • The name is case-insensitive and must start with a letter.

    • The name can contain only letters, digits, and underscores (_).

    • The name can be up to 64 characters long.

    Billing Method

    You can select one of the following billing methods:

    • Subscription: Best for long-term use. This billing method is more cost-effective than pay-as-you-go, and longer subscription periods provide larger discounts.

    • Pay-as-you-go: Best for short-term needs, such as for testing. You can delete the cluster immediately after use to save costs.

      Note
      • In a subscription instance, you can create subscription or pay-as-you-go clusters. All subscription clusters share the same expiration date as the instance.

      • In a pay-as-you-go instance, you can create only pay-as-you-go clusters.

    Cluster Computing Resources

    The vCPUs and memory for a cluster.

    • Number of vCPUs: The value must be within the range of [4, 1024].

    • Memory: The memory size is four times the number of vCPUs by default. Unit: GB.

      Important
      • 1 CCU is equal to 1 vCPU and 4 GB of memory.

      • To request a higher quota, contact Alibaba Cloud technical support.

    Cache Size per Node (GB)

    The cache space stores hot data to accelerate data reads and writes.

    The supported cache size range depends on the cluster's computing resources.

    • Value range:

      • Minimum value:

        • For a cluster with 4, 8, 16, or 32 vCPUs, the minimum cache size is 100 GB.

        • For a cluster with 64 or more vCPUs, the minimum cache size is calculated by using the following formula: 100 GB × (Number of selected vCPUs / 32).

      • Maximum value: 500 × Number of selected vCPUs.

    • Unit: GB

    Terms of Service

    Read and select Terms of Service.

  7. Click OK and complete the payment as prompted.

    Note

    Cluster creation takes about 1 to 10 minutes. You can refresh the page to view the latest status. When the cluster status changes from Creating to Running, the cluster is ready.