Before you use the features of ApsaraDB for MyBase, create an ApsaraDB for MyBase dedicated cluster.

Background information

For more information about ApsaraDB for MyBase, see What is ApsaraDB for MyBase?

Note

  • An ApsaraDB for MyBase dedicated cluster can be deployed only in one region.
  • An ApsaraDB for MyBase dedicated cluster can be connected only to one virtual private cloud (VPC).
  • You cannot create dedicated clusters that run the SQL Server database engine in the following regions: China (Zhangjiakou), China (Hohhot), Australia (Sydney), Malaysia (Kuala Lumpur), US (Silicon Valley), US (Virginia), and India (Mumbai).

Create an ApsaraDB for MyBase dedicated cluster

  1. Log on to the ApsaraDB for MyBase console.
  2. In the upper-left corner of the page, select the region where you want to create a dedicated cluster.
  3. On the Clusters page, click Create Dedicated Cluster.
    Create a dedicated cluster
  4. In the Create Dedicated Cluster panel, configure the following parameters.
    Parameter Description
    Engine

    The database engine of the dedicated cluster. The MySQL, SQL Server, and PostgreSQL database engines are supported.

    Notice Make sure that the specified database engine meets your business requirements. After a dedicated cluster is created, you cannot change the database engine.
    Deployment Method This parameter is available only if you select the MySQL database engine.
    • High-availability: You can deploy only High-availability Edition instances.
    • Basic: You can deploy only Basic Edition instances.
    Note
    • If you select High-availability, local SSDs and enhanced SSDs (ESSDs) are supported. If you want to deploy a MyBase for MySQL instance of the High-availability Edition in a dedicated cluster, make sure that two hosts that use the same type of storage are deployed in the dedicated cluster.
    • If you select Basic, only ESSDs are supported. If you want to deploy a MyBase for MySQL instance of the Basic Edition in a dedicated cluster, make sure that one host is deployed in the dedicated cluster.
    Dedicated Cluster Name The name of the dedicated cluster.
    VPC The VPC to which the dedicated cluster is connected. If you need to create a VPC, log on to the VPC console.
    Notice Make sure that the specified VPC meets your business requirements. After a dedicated cluster is created, you cannot change the VPC.
    Resource Allocation Policy The default policy that is used to schedule resources in the dedicated cluster.
    • Balanced Allocation: The system preferentially creates instances on the hosts of which no resources or few resources are consumed. This maximizes cluster stability.
    • Compact Allocation: The system preferentially creates instances on the hosts that have been created earlier and have the least available resources. This maximizes resource utilization.
    Host Troubleshooting Policy The policy that is used to handle host failures in the dedicated cluster.
    • Automatic Host Replacement: The system automatically replaces the faulty hosts.
      Note
      • If a faulty host uses ESSDs, the host is replaced after the computing resources on the host are automatically migrated.
      • If a faulty host uses local SSDs, the host is replaced only after all instances are removed from the host.
    • Manual Host Replacement: You must replace the faulty hosts.
    Note You can manually replace a faulty host only if the faulty host uses local SSDs. However, only hosts that run the MySQL database engine support local SSDs. If you select the MySQL database engine, you can configure this parameter. If you select another database engine, this parameter defaults to Automatic Host Replacement.
    Grant OS Permissions Specifies whether to enable the feature that allows you to have OS permissions on the host.
    Note If you enable this feature for a dedicated cluster that runs the MySQL, SQL Server, or PostgreSQL database engine, you can log on to the hosts in the dedicated cluster to perform operations such as uploading, downloading, and installing software. Make sure that you configure this parameter based on your business requirements. After a dedicated cluster is created, you cannot change the value of the Grant OS Permissions parameter.
  5. This step is required only when you create a dedicated cluster in ApsaraDB for MyBase for the first time.

    When you create a dedicated cluster in ApsaraDB for MyBase for the first time, the following message appears in the lower part of the page: You must authorize permissions on ECS ENIs and security groups. Click Authorize Now. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy.

    Confirm authorization
    Note After authorization, the AliyunRDSDedicatedHostGroupRole role appears on the RAM Roles page in the Resource Access Management (RAM) console. If you want to use dedicated clusters in ApsaraDB for MyBase, retain the role. If the role is deleted, you must grant permissions again to create a dedicated cluster.
  6. Click OK.

Learn more

You can scan the following QR code to join a DingTalk group chat. In this group chat, you can obtain technical support from database experts, read success stories, and participate in live streaming sharing from experts.

数据库上云

What to do next

After you create a dedicated cluster, create hosts in the dedicated cluster. You can also manage the dedicated cluster. For more information, see Create hosts and Manage a dedicated cluster.