All Products
Search
Document Center

ApsaraDB for MyBase:Create a MySQL cluster

Last Updated:Mar 30, 2026

A dedicated cluster is the foundational resource in ApsaraDB for MyBase — all MySQL database instances run on the hosts within it. Create a dedicated cluster before provisioning any database instances.

Prerequisites

Before you begin, ensure that you have:

  • An Alibaba Cloud account with permission to create ApsaraDB for MyBase resources

  • A virtual private cloud (VPC) in the target region — create one in the VPC console if needed

  • (First-time users) Permission to authorize ApsaraDB for MyBase to access elastic network interfaces (ENIs) and security groups of Elastic Compute Service (ECS) — the authorization prompt appears during cluster creation

Constraints

The following settings cannot be changed after a dedicated cluster is created. Review them before you begin:

  • Each dedicated cluster is bound to a single region and cannot span regions.

  • Each dedicated cluster is bound to a single VPC. The VPC cannot be changed after creation.

  • The Grant OS Permissions setting cannot be changed after creation. Decide whether to grant host OS access before proceeding.

  • Overcommit metrics are fixed at creation time and set to the following defaults for MySQL: To adjust these values after creation, see Configure resource overcommitment to reduce costs.

    Metric Default value
    CPU overcommit ratio 200%
    Storage overcommit ratio 100%
    Maximum memory usage 100%

Create a dedicated cluster

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner, select the region where you want to create the 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. Select MySQL.
    Architecture The edition of the dedicated cluster. Automatically set to High-availability Edition , which provides one primary instance and one secondary instance. The data of the primary instance is synchronized to the secondary instance. If the primary instance fails, workloads are automatically switched over to the secondary instance. You can create up to seven read-only instances on demand. Both local SSDs and Enhanced SSDs (ESSDs) are supported.
    Dedicated cluster name A display name for the cluster.
    VPC The VPC to deploy the cluster in. Cannot be changed after creation. To create a VPC, go to the VPC console.
    Resource allocation policy How the system assigns new database instances to hosts. Balanced Allocation spreads instances across hosts with fewer allocated resources (recommended for stability). Compact Allocation fills existing hosts before using new ones (recommended for resource utilization).
    Host troubleshooting policy How the system handles faulty hosts. Automatic Host Replacement replaces faulty hosts without manual intervention — for hosts using ESSDs, replacement begins after computing resources are migrated; for hosts using local SSDs, replacement begins after all instances are removed. Manual Host Replacement requires you to replace faulty hosts yourself.
    Grant OS permissions Whether to grant OS-level access to hosts. When enabled, you can log in to hosts to upload files, download files, and install software. Cannot be changed after creation.
  5. (First-time users only) Authorize ApsaraDB for MyBase to access your Alibaba Cloud resources. If this is your first time creating a dedicated cluster, a prompt appears at the bottom of the panel requesting permission to manage ENIs and security groups of ECS. Click Authorize Now. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy.

    After authorization, the AliyunRDSDedicatedHostGroupRole role appears on the Roles page of the Resource Access Management (RAM) console. Keep this role — if it is deleted, you must reauthorize before creating another dedicated cluster.

    Confirm authorization

  6. Click OK.

What's next

After the dedicated cluster is created, you can add hosts and provision MySQL database instances on it. To adjust overcommit settings, see Configure resource overcommitment to reduce costs.