After setting up hosts in your dedicated cluster, create MySQL instances on those hosts. Instances are placed on hosts based on the resource allocation policy you select.
Prerequisites
Before you begin, make sure that you have:
A host created in an ApsaraDB MyBase for MySQL dedicated cluster. For more information, see Create a host in an ApsaraDB MyBase for MySQL dedicated cluster
Create an instance
Log on to the ApsaraDB for MyBase console.
In the upper-left corner, select a region.
In the left-side navigation pane, click Dedicated Clusters. Find the cluster where you want to create an instance, then click Details in the Actions column.
In the left-side navigation pane, click Instances, then click Create Instance.
In the panel that appears, configure the following parameters.
If the instance is deployed on a host that uses ESSDs, you are charged separately for the disk space allocated to the instance. This is because you are charged only for computing resources when you purchase a host that uses ESSDs. To reduce storage costs, purchase storage plans within the same region to offset the costs of pay-as-you-go instances.
Basic settings
Parameter Description Default or recommended value Dedicated cluster The dedicated cluster where the instance is created. Inherited from current cluster Database engine The database engine. Fixed to MySQL. MySQL Current version The MySQL version for the instance. — Storage engine The storage engine. Fixed to InnoDB. Available only when Current version is set to 8.0. InnoDB Edition The instance edition. High-availability Edition is supported for MySQL 8.0, 5.7, and 5.6. For details, see Overview. — Parameter template The parameter template to apply. Available only when Edition is set to High-availability Edition. — Time zone The time zone for the instance. — Table name case sensitivity Whether table names in the instance are case-sensitive. — Instance specifications
Parameter Description Default or recommended value Instance specifications The compute specifications for the instance. — Storage capacity The disk space allocated to the instance. — Storage
Parameter Description Default or recommended value Storage type The disk type for the instance. When Edition is set to High-availability Edition, the local SSD and enhanced SSD (ESSD) options are available. — Disk encryption Encrypts data at rest. Available only when Storage type is set to ESSD. For details, see Data encryption. — Automatic storage expansion Automatically expands storage when available space drops to or below a threshold. When triggered, storage expands by 5 GB or 15% of the current capacity, whichever is greater. Available only when Edition is set to High-availability Edition. Automatically enabled when Storage type is set to ESSD. — Available storage space The threshold that triggers automatic expansion. Required when Automatic storage expansion is enabled. — Maximum storage The upper limit for automatic storage expansion. Required when Automatic storage expansion is enabled. — Deployment
Parameter Description Default or recommended value Deployment method How the instance is placed on hosts. Default Policy: the system places the instance on hosts with the least load (recommended for most use cases). Specified Host: manually choose the target hosts. Default Policy Network settings
Parameter Description Default or recommended value VPC The virtual private cloud (VPC) for the instance. Inherited from cluster Zone The zone of the host within the dedicated cluster. Inherited from host vSwitch The vSwitch connected to the host. If no vSwitches are available, click Create vSwitch. Inherited from host Billing
Parameter Description Default or recommended value Billing method The billing method. Fixed to Pay-as-you-go. Pay-as-you-go Click Create.
To monitor the creation progress, go to Instances > MySQL in the left-side navigation pane.
What's next
After the instance is created, complete the setup: