Create a cluster

Updated at: 2025-02-12 07:49

This topic describes how to create a cluster in the AnalyticDB for MySQL console.

Usage notes

Data Lakehouse Edition and Data Warehouse Edition clusters are unavailable for purchase, but the existing clusters can be used. You can purchase Enterprise Edition or Basic Edition clusters. Enterprise Edition and Basic Edition provide the same features as Data Lakehouse Edition. For more information, see Editions.

Procedure

  1. Log on to the AnalyticDB for MySQL console. In the upper-right corner of the console, click Buy Cluster.

  2. Select an option for the Product Type parameter.

    • Pay-as-you-go: You are charged on an hourly basis for the resources that you use. This billing method is suitable for short-term usage. To reduce costs, you can release pay-as-you-go clusters when they are no longer needed.

    • Subscription: You must pay an upfront subscription fee when you create subscription clusters. For long-term usage, this billing method is more cost-effective than the pay-as-you-go billing method. You are charged lower prices for longer subscription periods.

  3. Configure the parameters that are described in the following table and click Buy Now in the lower-right corner of the page.

    Parameter

    Description

    Parameter

    Description

    Edition

    Select Enterprise Edition (Multi-replica) or Basic Edition (Single-replica).

    Region

    The region in which you want to create the cluster. After a cluster is created, you cannot change the region of the cluster. To maximize the cluster access speed, we recommend that you select a region that is geographically closest to your business.

    Zone

    The zone in which you want to create the cluster. Each zone is an independent physical location within a region. Zones in the same region do not have substantial differences.

    Service-linked Role

    The AliyunServiceRoleForAnalyticDBForMySQL role that allows AnalyticDB for MySQL to create cluster-related resources.

    VPC

    vSwitch

    • If you have created a virtual private cloud (VPC) that meets your business requirements, you can select the VPC. For example, if you have created an Elastic Compute Service (ECS) instance in a VPC that meets your business requirements, select the VPC.

    • If you have not created a VPC that meets your business requirements, you can use the default VPC and vSwitch. For more information, see Default VPCs and default vSwitches.

    • If the default VPC and vSwitch cannot meet your business requirements, you can create your own VPCs and vSwitches. For more information, see Create and manage a VPC.

    Important

    If you use other Alibaba Cloud services such as ECS and ApsaraDB RDS, make sure that your AnalyticDB for MySQL cluster resides in the same VPC as your ECS and ApsaraDB RDS instances. If your cluster and instances reside in different VPCs, your cluster cannot communicate with your instances over an internal network to achieve optimal performance.

    Activate PrivateLink

    PrivateLink provides private connectivity between VPCs, which ensures secure and efficient access to AnalyticDB for MySQL and prevents potential security risks caused by public connections. You can create clusters only after you activate PrivateLink. Each Alibaba Cloud account needs to activate PrivateLink only once. You are not charged for the activation of PrivateLink.

    Note

    If you are not prompted to activate PrivateLink, PrivateLink has been activated and you do not need to select the check box.

    Single-node Specifications of Reserved Resources

    The single-node specifications of reserved resources. Default value: 8 AnalyticDB compute units (ACUs). Reserved resources can be used for the following purposes:

    • Data computing. The increase in the reserved resources can accelerate data queries.

    • Hot data storage. A set of reserved resources can store up to 8 TB of hot data. You are billed for hot data storage based on the actual storage usage.

    Note
    • If you have purchased Data Warehouse Edition or Data Lakehouse Edition clusters, you can select specifications for Enterprise Edition clusters based on their specification mappings. For more information, see the "Specification mappings between Data Warehouse Edition, Data Lakehouse Edition, and Enterprise Edition" section of this topic.

    • If the amount of reserved resources is 0 ACUs, you can use only external tables. If you want to create AnalyticDB for MySQL internal tables, make sure that the amount of reserved resources is greater than 0 ACUs.

    • If you select 0 ACUs of reserved resources when you create a cluster, you can purchase reserved resources later by scaling up the cluster. For more information, see Scale an Enterprise Edition or Basic Edition cluster.

    Reserved Resource Nodes

    • The number of reserved resource nodes in an Enterprise Edition cluster. Default value: 3. Step size: 3.

    • The number of reserved resource nodes in a Basic Edition cluster. Default value: 1. Step size: 1.

    Disk Encryption

    If you select Disk Encryption, the system encrypts data on each data disk of your cluster based on Elastic Block Storage (EBS). This way, your data cannot be decrypted even if the data is leaked.

    The first time you use the disk encryption feature, select Disk Encryption and click Create Service-linked Role to create a service-linked role. Then, select a key from the Key drop-down list. For more information, see Disk encryption.

    Important
    • You can enable the disk encryption feature for an AnalyticDB for MySQL cluster only when you create the cluster. After you create an AnalyticDB for MySQL cluster, you cannot enable or disable the disk encryption feature for the cluster.

    • The disk encryption feature requires Key Management Service (KMS). When you use KMS, you are charged for key management and API calls. For more information, see Billing of KMS.

    ESSD Performance Level

    The Enterprise SSD (ESSD) performance level of the cluster. This parameter is automatically set to PL1.

    Version Update Policy

    The policy that is used to update the cluster version. The cluster is automatically updated to the latest version within a specific maintenance window. The default maintenance window is from 12:00 to 13:00. After you create a cluster, you can modify the maintenance window for the cluster. For more information, see Configure a maintenance window.

  4. Perform the subsequent purchase operations as prompted based on the Product Type parameter that you selected.

    Approximately 10 to 15 minutes after you complete the payment, you can view the cluster on the Enterprise Edition or Basic Edition tab of the Clusters page.

    Note
    • After you create a cluster, you can purchase ACU-hour plans that contain a specific number of ACU-hours at lower costs to offset the amount of pay-as-you-go ACU resources. For more information, see ACU-hour plans.

    • You can purchase storage plans that contain a specific amount of storage resources at lower costs to offset the amount of pay-as-you-go hot and cold data storage. For more information, see Storage plans.

Specification mappings between Data Warehouse Edition, Data Lakehouse Edition, and Enterprise Edition

The purchase of AnalyticDB for MySQL clusters is gradually available in the form of Enterprise Edition and Basic Edition.

If you have purchased Data Warehouse Edition or Data Lakehouse Edition clusters, you can select specifications for Enterprise Edition clusters based on their specification mappings.

Data Warehouse Edition in reserved mode

The single-node specifications of reserved resources for Enterprise Edition clusters are consistent with the specifications of Data Warehouse Edition clusters in reserved mode. The following table describes the specification mappings between Data Warehouse Edition in reserved mode and Enterprise Edition.

Data Warehouse Edition in reserved mode

Enterprise Edition

Data Warehouse Edition in reserved mode

Enterprise Edition

Specifications: C8 (24 cores and 192 GB memory)

Number of node groups: N

Single-node specifications of reserved resources: 8 ACUs

Number of reserved resource nodes: 3 × N

Specifications: C32 (96 cores and 768 GB memory)

Number of node groups: N

Single-node specifications of reserved resources: 32 ACUs

Number of reserved resource nodes: 3 × N

Data Warehouse Edition in elastic mode and Data Lakehouse Edition

If you have purchased Data Warehouse Edition clusters in elastic mode or Data Lakehouse Edition clusters, you can select specifications for Enterprise Edition clusters by using the following formula and parameters:

  • M specifies the number of reserved computing resource cores in a Data Warehouse Edition or Data Lakehouse Edition cluster.

  • N specifies the number of reserved storage resource cores in a Data Warehouse Edition or Data Lakehouse Edition cluster (24 cores × Number of sets of reserved storage resources).

  • X specifies the number of reserved resource cores in an Enterprise Edition cluster (Single-node specifications of reserved resources × Number of reserved resource nodes).

An Enterprise Edition cluster that has a larger value of X provides better performance if the N < X <= M + N formula is met.

The following table describes the specification mappings between Data Warehouse Edition in elastic mode, Data Lakehouse Edition, and Enterprise Edition.

Data Warehouse Edition in elastic mode

Data Lakehouse Edition

Enterprise Edition

Data Warehouse Edition in elastic mode

Data Lakehouse Edition

Enterprise Edition

Reserved computing resources: 16 cores and 64 GB memory

Number of EIUs: 1

Reserved computing resources: 16 ACUs

Reserved storage resources: 24 ACUs

Single-node specifications of reserved resources: 12 ACUs

Number of reserved resource nodes: 3 (1 set of reserved resources)

Reserved computing resources: 16 cores and 64 GB memory

Number of EIUs: 2

Reserved computing resources: 16 ACUs

Reserved storage resources: 48 ACUs

Single-node specifications of reserved resources: 8 ACUs

Number of reserved resource nodes: 6 (2 sets of reserved resources)

Reserved computing resources: 24 cores and 96 GB memory

Number of EIUs: 1

-

Single-node specifications of reserved resources: 16 ACUs

Number of reserved resource nodes: 3 (1 set of reserved resources)

Reserved computing resources: 32 cores and 128 GB memory

Number of EIUs: 1

Reserved computing resources: 32 ACUs

Reserved storage resources: 24 ACUs

Single-node specifications of reserved resources: 16 ACUs

Number of reserved resource nodes: 3 (1 set of reserved resources)

Reserved computing resources: 32 cores and 128 GB memory

Number of EIUs: 2

Reserved computing resources: 32 ACUs

Reserved storage resources: 48 ACUs

Single-node specifications of reserved resources: 12 ACUs

Number of reserved resource nodes: 6 (2 sets of reserved resources)

Reserved computing resources: 32 cores and 128 GB memory

Number of EIUs: 3

Reserved computing resources: 32 ACUs

Reserved storage resources: 72 ACUs

Single-node specifications of reserved resources: 8 ACUs

Number of reserved resource nodes: 9 (3 sets of reserved resources)

Reserved computing resources: 48 cores and 192 GB memory

Number of EIUs: 1

Reserved computing resources: 48 ACUs

Reserved storage resources: 24 ACUs

Single-node specifications of reserved resources: 24 ACUs

Number of reserved resource nodes: 3 (1 set of reserved resources)

Reserved computing resources: 48 cores and 192 GB memory

Number of EIUs: 2

Reserved computing resources: 48 ACUs

Reserved storage resources: 48 ACUs

Single-node specifications of reserved resources: 16 ACUs

Number of reserved resource nodes: 6 (2 sets of reserved resources)

Reserved computing resources: 64 cores and 256 GB memory

Number of EIUs: 2

Reserved computing resources: 64 ACUs

Reserved storage resources: 48 ACUs

Single-node specifications of reserved resources: 16 ACUs

Number of reserved resource nodes: 6 (2 sets of reserved resources)

  • On this page (1, T)
  • Usage notes
  • Procedure
  • Specification mappings between Data Warehouse Edition, Data Lakehouse Edition, and Enterprise Edition
  • Data Warehouse Edition in reserved mode
  • Data Warehouse Edition in elastic mode and Data Lakehouse Edition
Feedback
phone Contact Us