Before you use the features of ApsaraDB MyBase, create at least one host in your dedicated cluster and create an instance on the host.

Prerequisites

An ApsaraDB MyBase for MySQL dedicated cluster is created in the region where you want to create a host. For information about how to create an ApsaraDB MyBase for MySQL dedicated cluster, see Create an ApsaraDB MyBase for MySQL dedicated cluster.

Background information

For information about the host specifications and host prices of ApsaraDB MyBase for MySQL, see Host specifications and pricing.

Number of hosts that are required to deploy an ApsaraDB MyBase for MySQL instance

Version Edition Description
MySQL 5.6 High-availability Edition
  • If you want to create an ApsaraDB MyBase for MySQL instance of the High Availability Edition in an dedicated cluster, the following requirements must be met:
    • When you create the instance, the instance edition must be set to High-availability Edition.
    • The dedicated cluster must contain at least two hosts that use the same storage type. The hosts can be used to deploy primary instances and secondary instances.
  • If you want to create an ApsaraDB MyBase for MySQL instance of the Master-replica Edition in a dedicated cluster, the following requirements must be met:
    • When you create the instance, the version of the database engine must be set to 5.7 or 8.0, and the instance edition must be set to Master-replica Edition.
    • You can create one host or multiple hosts across zones in the dedicated cluster. The host or hosts can be used to deploy primary instances and read-only instances.
MySQL 5.7
  • High-availability Edition
  • Master-replica Edition
MySQL 8.0
  • High-availability Edition
  • Master-replica Edition

Procedure

  1. Log on to the ApsaraDB MyBase console.
  2. In the upper-left corner of the page, select a region.
  3. In the left-side navigation pane, click Hosts. On the page that appears, click Add Host.
  4. Configure the parameters that are listed in the following table.
    Parameter Description
    Product Type Click Dedicated Cluster.
    Note
    • When you create an instance on one host that uses a local SSD or on multiple hosts of which each uses a local SSD, you are not charged for the instance. This is because the price of the host or the hosts includes the price of the instance.
    • When you create an instance on one host that uses an enhanced SSD (ESSD) or on multiple hosts of which each uses an ESSD, you must pay for the storage space allocated to the instance. This is because you must pay only for compute resources when you purchase the host that uses an ESSD or the hosts of which each uses an ESSD. A storage plan supports the subscription billing method. You can use a storage plan to offset the storage costs of pay-as-you-go instances deployed in the region where the storage plan is purchased. We recommend that you use a storage plan to reduce your storage costs.
    Region The region where you want to deploy the host or hosts. By default, the region that you selected in Step 2 is used.
    Zone The zone where you want to deploy the host or hosts. We recommend that you create hosts in different zones to improve availability.
    Database Engine The database engine that you want to select for the host or hosts. Click MySQL.
    Dedicated Cluster The dedicated cluster in which you want to create the host or hosts.
    Note
    • If no dedicated clusters that run the specified database engine are available in the specified region,Dedicated Cluster Created by Default is selected by default. In this case, the system creates a dedicated cluster for the host or hosts that you want to create.
    • If dedicated clusters that run the specified database engine are available in the specified region, you can select one of the dedicated clusters based on your business requirements.
    VPC The virtual private cloud (VPC) where the dedicated cluster is deployed.
    Note
    • If a manually created dedicated cluster is selected, the system selects the VPC where the dedicated cluster is created.
    • If Create a new exclusive cluster by default is selected, the following rules apply:
      • If one or more VPCs exist in the specified region, you can select one of the VPCs.
      • You can also select Create a proprietary network by default. This way, the system creates a VPC for the dedicated cluster.
    vSwitch The vSwitch to which the host is connected or the hosts are connected.
    Note
    • If a vSwitch created in the specified zone already exists in the specified VPC, the system selects the vSwitch.
    • If no vSwitch created in the specified zone exists in the specified VPC, you can log on to the VPC console and create a vSwitch in the specified zone. The vSwitch must be located in the specified VPC.
    • If you select the dedicated cluster and VPC that are created by the system, the system creates a vSwitch.
    Authorization If this is the first time that you create an ApsaraDB MyBase host, click Authorize Now. On the Cloud Resource Access Authorization page, click Confirm Authorization Policy in the lower-left corner of the page to grant permissions on security groups.
    Notice After you grant permissions, the AliyunRDSDedicatedHostGroupRole role is displayed on the Roles page in the RAM console. If you want to use ApsaraDB MyBase dedicated clusters, retain this role. If this role is deleted, you must grant the permissions again to perform related operations.
    Host Image The OS image type of the host or hosts. By default, AliLinux is used.
    Storage Type The storage type of the host or hosts. You can click Local SSD or Enhanced SSD (ESSD).
    Host Instance Type The specifications of the host or hosts.
    Storage Capacity The storage capacity of the host or hosts. This parameter is displayed only when Storage Type is set to Local SSD.
    Quantity The number of hosts that you want to create. For more information, see Number of hosts that are required to deploy an ApsaraDB MyBase for MySQL instance.
    Duration The subscription period of the host or hosts. You can select Auto-renewal. If you select Auto-renewal and forget to renew the subscription to the host or hosts before the subscription period elapses, the system renews the subscription to the host or hosts based on the specified subscription period. For example, if you specify a subscription period of three months, the system renews the subscription to the host or hosts at an interval of three months.
  5. Click Buy Now. On the Confirm Order page, select I have read and agree to ApsaraDB Dedicated Cluster Host (Subscription) Agreement of Service and click Pay to complete the payment.

Manage a host

Learn more

You can join the DingTalk group 32484333 to obtain technical support from database experts, view success stories, and engage with experts on live streams that are provided on a regular basis.

What to do next

After one host is created or multiple hosts are created, create an instance on the host or the hosts. For information about how to create an ApsaraDB MyBase for MySQL instance, see Create an ApsaraDB MyBase for MySQL instance.