Before you can use the features of ApsaraDB for MyBase, create a dedicated cluster in ApsaraDB for MyBase.

Background information

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

Note

  • Each dedicated cluster in ApsaraDB for MyBase can be deployed only in one region.
  • A dedicated cluster in ApsaraDB for MyBase 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 a dedicated cluster in ApsaraDB for MyBase

  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 deploy the 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 you select a suitable database engine. After you create a dedicated cluster, you cannot change the database engine.
    Deployment Method This parameter appears only when 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 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 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 database instances on the hosts that have the smallest load. This maximizes the system stability.
    • Compact Allocation: The system preferentially creates database instances on the hosts that are created earlier than the other hosts and have fewer resources than the other hosts in the dedicated cluster. This maximizes the resource utilization.
    Host Troubleshooting Policy The policy based on which the system handles host failures.
    • Automatic Host Replacement: The system automatically replaces faulty hosts.
      Note
      • If a faulty host uses ESSDs, the host is automatically replaced after the computing resources that are stored on ESSDs are migrated to another host.
      • 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 manually replace the faulty hosts.
    Note You can manually replace a faulty host only if the faulty host uses local SSDs. 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 permissions on the host OS.
    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 uploads, downloads, and installation of software. Make sure that you select a suitable option. After you create a dedicated cluster, you cannot change Grant OS Permissions.
  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, you can create hosts in the dedicated cluster. You can also manage the dedicated cluster. For more information, see Create hosts and Manage a dedicated cluster.