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

Create a Data Warehouse Edition (V3.0) cluster

  1. Log on to the AnalyticDB for MySQL console.
  2. In the upper-left corner of the page, select the region where the cluster resides.
  3. In the left-side navigation pane, click Clusters.
  4. In the upper-right corner of the Data Warehouse Edition (V3.0) tab, click Create Cluster.
  5. Set Product Type to Subscription or Pay-as-you-go.
    • 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.
  6. Configure the parameters described in the following table and click Buy Now in the lower-right corner.
    ParameterDescription
    VersionThe edition and version of the cluster. Select Data Warehouse Edition (V3.0).
    RegionThe region where you want to create the cluster. After the cluster is created, the region cannot be changed. To maximize the cluster access speed, we recommend that you select a region that is closest to the geographic area of your business.
    ZoneThe zone where you want to create the instance. Each zone is an independent physical location within a region. Zones in the same region do not have substantial differences.
    Network TypeThe network type of the cluster. This parameter is automatically set to VPC. You do not need to specify this parameter.

    A virtual private cloud (VPC) is an isolated network environment that provides enhanced security.

    VPC

    VSwitch

    The VPC in which the cluster resides. Make sure that the AnalyticDB for MySQL cluster and the Elastic Compute Service (ECS) instance you want to connect to the cluster are deployed in the same VPC. Otherwise, the cluster and the ECS instance cannot communicate over a private network or achieve optimal performance.
    • If you have created a VPC that meets your business requirements, select the VPC. For example, if you have created an ECS instance in a VPC that meets your business requirements, select the VPC.
    • Otherwise, 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 VPC and vSwitch. For more information, see Create and manage a VPC.
    ModeThe mode of the cluster. Valid values: Elastic Mode and Reserved Mode. For more information about the differences between the modes, see the "FAQ" section of the Editions topic.
    Edition The edition of the cluster. The following editions are supported:
    • If you select Elastic Mode, Edition is automatically set to Elastic Cluster. You do not need to specify this parameter.

      Elastic Mode for Cluster Edition uses an architecture that separates computing resources from storage resources to provide capabilities such as elastic scaling, multi-tenant isolation, storage separation of cold and hot data, heterogeneous storage, and user programming. This implements flexible real-time analysis with high performance at low resource costs.

    • If you select Reserved Mode, Edition is automatically set to Reserved Cluster. You do not need to specify this parameter.

      Reserved Mode for Cluster Edition uses a high-availability architecture that consists of three replicas to provide data reliability required in the finance industry. You can scale out nodes and scale up storage space within seconds for reserved clusters. This allows you to read and write data in real time with higher throughput.

    Note The available editions vary based on the region you select. For more information, see Editions.
    Instance TypeThe specification of the cluster. The following specifications are supported:
    • If you select Elastic Mode, Instance Type is automatically set to E32. You do not need to specify this parameter.
    • If you select Reserved Mode, Instance Type can be set to C8 or C32.

    For more information, see Editions.

    Computing ResourcesThe computing resources of the cluster. Computing resources are used for data computing. More computing resources can speed up data queries.
    Note This parameter is available only when Mode is set to Elastic Mode.
    Hot Data Storage Space Description

    Cold Data Storage Space Description

    You are charged for the actual amount of storage space consumed by hot and cold data. You do not need to purchase storage space in advance. The following section describes hot and cold data:
    • Hot data refers to data that is frequently accessed. Hot data is stored in enhanced SSDs (ESSDs) to provide high I/O performance and deliver high-performance access.
    • Cold data refers to data that is infrequently accessed. Cold data is cost-effective because it is stored in HDDs.

    For more information, see Separation of hot and cold data storage.

    Note This parameter is available only when Mode is set to Elastic Mode.
    Node GroupsThe number of node groups. By default, each node group consists of three nodes (replicas).
    Note This parameter is available only when Mode is set to Reserved Mode.
    CapacityThe storage capacity of a single node group. If you purchase multiple node groups, you can use the following formula to calculate the total storage capacity of the cluster: Total storage capacity = Storage capacity of a single node group × Number of node groups.
    Note This parameter is available only when Mode is set to Reserved Mode.
    Disk EncryptionAnalyticDB for MySQL provides the disk encryption feature. After this feature is enabled, the system encrypts the data on each disk of your cluster based on Elastic Block Storage (EBS). This way, your data cannot be decrypted even if it is leaked.
    Note
    • The first time you enable Disk Encryption, you must create a service-linked role by clicking Create Service Linked Role and select a key from the Key drop-down list. For more information, see Disk encryption.
    • The disk encryption feature can be enabled for an AnalyticDB for MySQL cluster only when you are creating the cluster.
    • This feature cannot be disabled after the cluster is created.
    • After you enable the disk encryption feature, this feature is automatically enabled for snapshots of reserved clusters and reserved clusters created from the snapshots.
    • Key Management Service (KMS) is required if you want to enable the disk encryption feature. When you use KMS, you are charged for key management and API calls. For more information, see Billing of KMS.
    DurationThe subscription duration of the cluster.
    Note This parameter is available only when Product Type is set to Subscription.
  7. Complete the subsequent operations based on the specified Product Type parameter.
    • Subscription
      1. On the Confirm Order page, confirm your order information. Read and select the Terms of Service. Then, click Pay.
      2. On the Purchase page, confirm the order and the payment method, and click Purchase.
    • Pay-as-you-go

      On the Confirm Order page, confirm your order information. Read and select the Terms of Service. Then, click Activate Now.

    Note After you complete the payment, it takes about 20 minutes to create the cluster. Then, the newly created cluster is displayed on the Data Warehouse Edition (V3.0) tab.

Create a Data Lakehouse Edition (V3.0) cluster

Important Data Lakehouse Edition (V3.0) is now in public preview. You can submit a request to apply for public preview.
  1. Log on to the AnalyticDB for MySQL console.
  2. In the upper-left corner of the page, select the region where the cluster resides.
  3. In the left-side navigation pane, click Clusters.
  4. In the upper-right corner of the Data Lakehouse Edition (V3.0) tab, click Create Cluster.
  5. Set Product Type to Subscription or Pay-as-you-go.
    • 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.
  6. Configure the parameters described in the following table and click Buy Now in the lower-right corner.
    ParameterDescription
    VersionThe edition and version of the cluster. Select Data Lakehouse Edition (V3.0).
    RegionThe region where you want to create the cluster. After the cluster is created, the region cannot be changed. To maximize the cluster access speed, we recommend that you select a region that is closest to the geographic area of your business.
    ZoneThe zone where you want to create the instance. Each zone is an independent physical location within a region. Zones in the same region do not have substantial differences.
    Network TypeThe network type of the cluster. This parameter is automatically set to VPC. You do not need to specify this parameter.

    A VPC is an isolated network environment that provides enhanced security.

    VPC

    VSwitch

    The VPC in which the cluster resides. Make sure that the AnalyticDB for MySQL cluster and the ECS instance you want to connect to the cluster are deployed in the same VPC. Otherwise, the cluster and the ECS instance cannot communicate over a private network or achieve optimal performance.
    • If you have created a VPC that meets your business requirements, select the VPC. For example, if you have created an ECS instance in a VPC that meets your business requirements, select the VPC.
    • Otherwise, 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 VPC and vSwitch. For more information, see Create and manage a VPC.
    Reserved Computing Resources

    The reserved computing resources of the cluster. Reserved computing resources are used for data computing and can be allocated to interactive and job resources groups. More computing resources can speed up data queries.

    Valid values: 0 to 512. Unit: AnalyticDB Compute Units (ACUs). The value must be in increments of 16 ACUs.
    • If you set this parameter to 0, the cluster fails to be created.
    • If you set this parameter to a value greater than 0, an interactive or job resource group can be created.
    Default Allocation BehaviorSpecifies whether all the reserved computing resources are allocated to the default resource group.

    If you want to load a built-in dataset, select Yes because the loading process occupies the reserved computing resources of the user_default resource group.

    Load Built-in DatasetSpecifies whether to automatically load a built-in dataset after the cluster is created. Valid values:
    • Yes: A built-in dataset is automatically loaded after the cluster is created.
    • No: A built-in dataset is not automatically loaded after the cluster is created. You can manually load a built-in dataset when needed. For more information, see Manually load the built-in dataset.

    AnalyticDB for MySQL Data Lakehouse Edition (V3.0) provides a built-in dataset that you can use to experience or test your Data Lakehouse Edition (V3.0) cluster.

    Note
    • This parameter is available only when you set Default Allocation Behavior to Yes.
    • You are not charged for the storage space occupied by a built-in dataset.
    Reserved Storage ResourcesThe reserved storage resources of the cluster. Reserved storage resources are used for data storage. Up to 4 TB of hot data can be stored.

    Valid values: 0 to 4800. Unit: ACUs. The value must be in increments of 24 ACUs.

    A built-in dataset occupies about 10 GB of hot data storage space. You must select at least one set of reserved storage resources (24 ACUs).

  7. Complete the subsequent operations based on the specified Product Type parameter.
    • Subscription
      1. On the Confirm Order page, confirm your order information. Read and select the Terms of Service. Then, click Pay.
      2. On the Purchase page, confirm the order and the payment method, and click Purchase.
    • Pay-as-you-go

      On the Confirm Order page, confirm your order information. Read and select the Terms of Service. Then, click Activate Now.

    Note After you complete the payment, it takes about 20 minutes to create the cluster. Then, the newly created cluster is displayed on the Data Lakehouse Edition (V3.0) tab.