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 host prices of ApsaraDB MyBase for MySQL and ApsaraDB MyBase for PostgreSQL.Number of hosts that are required to deploy an ApsaraDB MyBase for MySQL instance
Version | Edition | Description |
---|---|---|
MySQL 5.6 | High-availability Edition |
|
MySQL 5.7 |
| |
MySQL 8.0 |
|
Procedure
- Log on to the ApsaraDB MyBase console.
- In the upper-left corner of the page, select a region.
- In the left-side navigation pane, click Hosts. On the page that appears, click Add Host.
- Configure the parameters that are listed in the following table.
Parameter Description 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. - If no dedicated clusters that run the specified database engine exist in the specified region, this parameter is automatically set to Dedicated Cluster Created by Default. This way, the system creates a dedicated cluster for your host.
- If one or more dedicated clusters that run the specified database engine exist in the specified region, you can select one of them based on your business requirements.
Note If you want to create a dedicated cluster, you can click go to the ApsaraDB MyBase console. For more information about how to create a dedicated cluster, see Create a dedicated cluster.VPC The virtual private cloud (VPC) where you want to create the host. - If an existing dedicated cluster is selected, you can select the VPC where the dedicated cluster is created based on your business requirements.
- If the dedicated cluster is set to Dedicated Cluster Created by Default, the following rules apply:
- If one or more VPCs exist in the specified region, you can select one of them based on your business requirements.
- If no VPCs exist in the specified region, this parameter is automatically set to VPC Created by Default. This way, the system creates a VPC for the dedicated cluster.
Note If you want to create a VPC or vSwitch, you can click go to the VPC console to the right of vSwitch. For more information about how to create a VPC or vSwitch, see the "Step 1: Create a VPC and a vSwitch" section of the Create a VPC with an IPv4 CIDR block topic.vSwitch The vSwitch to which you want to connect the host. - If one or more vSwitches of the specified VPC exist in the specified zone, you can select one of them based on your business requirements.
- If no vSwitches of the specified VPC exist in the specified zone, you can log on to the VPC console to create a vSwitch. Make sure that the vSwitch is created in the same region and zone as the specified VPC. For more information, see the "Step 1: Create a VPC and a vSwitch" section of the Create a VPC with an IPv4 CIDR block topic.
- If the dedicated cluster and the VPC are set to Dedicated Cluster Created by Default and VPC Created by Default, this parameter is automatically set to vSwitch Created by Default. This way, the system creates a vSwitch for the dedicated cluster.
Note If you want to create a VPC or vSwitch, you can click go to the VPC console to the right of vSwitch. For more information about how to create a VPC or vSwitch, see the "Step 1: Create a VPC and a vSwitch" section of the Create a VPC with an IPv4 CIDR block topic.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. Important After you grant permissions, the AliyunRDSDedicatedHostGroupRole role is displayed on the Roles page of the Resource Access Management (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 to prevent the host from being released upon expiration. 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. - 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.