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

Background information

For more information about MyBase for MySQL, see Overview.

Note

  • An ApsaraDB for MyBase dedicated cluster can be deployed in only one region.
  • An ApsaraDB for MyBase dedicated cluster can be connected to only one virtual private cloud (VPC).

Procedure

  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.
  4. In the Create Dedicated Cluster panel, configure the following parameters.
    Parameter Description
    Engine

    The database engine of the dedicated cluster. Select MySQL.

    Deployment Method
    • Highly usable: If this option is selected, only MyBase for MySQL instances of the High-availability Edition can be created in the dedicated cluster. A MyBase for MySQL instance of the High-availability Edition uses a primary/secondary architecture to ensure high availability. Data in the primary node is synchronized to the secondary node. If the primary node fails and cannot be accessed, your business is automatically switched to the secondary node.
    • Enterprise: If this option is selected, only standalone MyBase for MySQL instances can be created in the dedicated cluster.
    Note
    • If you select Highly usable, local SSDs and enhanced SSDs (ESSDs) are supported for storage.
    • If you select Enterprise, only ESSDs are supported for storage.
    Dedicated Cluster Name The name of the dedicated cluster.
    VPC The VPC to which the dedicated cluster is connected. To create a VPC, log on to the VPC console.
    Note Make sure that the specified VPC meets your business requirements. After the dedicated cluster is created, you cannot change the VPC. To connect your dedicated cluster to a different VPC, you must delete the existing dedicated cluster and then create another dedicated cluster.
    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 on which no resources or few resources are consumed. This maximizes cluster stability.
    • Compact Allocation: The system preferentially creates instances on the hosts that are created earlier and have the fewest 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 faulty hosts.
      Note
      • If a faulty host uses ESSDs, the system replaces the host after the computing resources on the host are automatically migrated.
      • If a faulty host uses local SSDs, the system replaces the host after all instances are removed from the host.
    • Manual Host Replacement: You must manually replace faulty hosts.
    Grant OS Permissions If you enable this feature for a dedicated cluster that runs the MySQL database engine, you can log on to the hosts in the dedicated cluster to perform operations such as uploading, downloading, and installing software.
    Note
    • You can enable this feature only if you set the deployment method to Highly usable. Make sure that you configure this parameter based on your business requirements. After the dedicated cluster is created, you cannot change the setting of this parameter.
    • The Grant OS Permissions parameter is not available if you set the deployment method to Enterprise.
  5. This step is required only if you create a dedicated cluster in ApsaraDB for MyBase for the first time.

    The first time that you create an ApsaraDB for MyBase dedicated cluster, the following message is displayed in the lower part of the panel: 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 you grant permissions, the AliyunRDSDedicatedHostGroupRole role is displayed on the RAM Roles page in the Resource Access Management (RAM) console. If you want to use dedicated clusters in ApsaraDB for MyBase, retain this role. If this role is deleted, you must grant the permissions again to create a dedicated cluster.
  6. Click OK.