You can create an ApsaraDB RDS instance in the ApsaraDB RDS console or by calling an API operation. This topic describes how to create an ApsaraDB RDS for MySQL instance in the ApsaraDB RDS console.
Prerequisites
The AliyunRDSFullAccess and AliyunBSSOrderAccess policies are attached to the RAM user that you use to create the RDS instance. For more information, see Use RAM for resource authorization.
Procedure
On the ApsaraDB RDS buy page, click New Version or Back to Old Version to go to the ApsaraDB RDS buy page of the new or old version.
New version
Configure the Billing Method parameter.
Billing method
Description
Benefit
Subscription
A subscription instance is an instance for which you pay an upfront fee. If you want to use an instance for a long period of time, we recommend that you select the Subscription billing method. If you select the subscription billing method, configure the Subscription Duration parameter in the lower part of the page.
In most cases, the subscription billing method is more cost-effective than the pay-as-you-go billing method for long-term usage. Alibaba Cloud provides lower prices for longer subscription durations.
Pay-as-you-go
You are charged an hourly fee for a pay-as-you-go instance based on your actual resource usage. For short-term use, we recommend that you select the Pay-as-you-go billing method.
You can create a pay-as-you-go RDS instance. After you confirm that the created RDS instance meets your business requirements, you can change the billing method of the RDS instance to subscription.
You can release a pay-as-you-go RDS instance based on your business requirements. The billing of a pay-as-you-go RDS instance immediately stops after you release the RDS instance.
Serverless
If you want to run scheduled tasks, your workloads frequently change, or the workloads are fully managed or do not require O&M, we recommend that you select Serverless.
NoteFor more information about serverless RDS instances and how to create a serverless RDS instance, see Overview of serverless ApsaraDB RDS for MySQL instances.
If you select Serverless, you are charged based on your consumption of resources for workloads. This can help reduce costs.
NoteYou can view the price in the lower-right corner of the page. The price is displayed only after you configure all required parameters.
Configure the Region parameter.
We recommend that you create the RDS instance in the same region as the ECS instance. If the RDS instance and the ECS instance reside in different regions, you cannot connect these instances over an internal network. In this case, these instances cannot deliver optimal performance.
NoteAfter an RDS instance is created, you cannot change the region of the RDS instance. If you want to connect an ECS instance and an RDS instance over an internal network, make sure that the RDS instance and the ECS instance reside in the same region.
For more information about how to view the region in which an ECS instance resides, see Get ready to use ApsaraDB RDS for MySQL.
If your application is deployed on an on-premises server or computer, we recommend that you select a region that is near your on-premises server or computer. This way, you can use the public endpoint of the RDS instance to connect to the RDS instance from your application.
Configure the Database Engine, Edition, Product Type, and Storage Type parameters.
Configure the Database Engine parameter.
Select MySQL. We recommend that you select MySQL 8.0 or select the database engine version that is run on your self-managed MySQL instance. The default value of this parameter is MySQL 8.0.
NoteServerless RDS instances support MySQL 5.7 and MySQL 8.0.
For more information about the lifecycles of MySQL versions in ApsaraDB RDS for MySQL, see Lifecycles of major engine versions.
Configure the Edition parameter.
RDS edition
Description
Benefit
RDS Basic Edition
In RDS Basic Edition, the database system consists of only one primary RDS instance.
RDS Basic Edition is cost-effective and is suitable for learning and testing.
RDS instances that run RDS Basic Edition require a long period of time to restart or recover from faults.
RDS High-availability Edition
In RDS High-availability Edition, the database system consists of a primary RDS instance and a secondary RDS instance. These instances work in HA mode. You can create read-only RDS instances and attach the read-only RDS instances to the primary RDS instance.
RDS High-availability Edition is suitable for more than 80% of production environments.
RDS Cluster Edition
We recommend that you use this RDS edition. In RDS Cluster Edition, the database system consists of a primary node and multiple secondary nodes.
These nodes work in HA mode. The secondary nodes support read operations.
NoteThe available RDS editions vary based on the region and database engine that you select.
RDS Cluster Edition supports MySQL 8.0 and MySQL 5.7.
For more information, see Overview.
Configure the Product Type parameter.
You can select Standard or YiTian. For more information, see Product types.
NoteYiTian RDS instances support MySQL 8.0 and MySQL 5.7.
If your RDS instance runs RDS Basic Edition, you do not need to configure this parameter.
Configure the Storage Type parameter.
Item
ESSD
General ESSD (recommend)
Local SSD
Scalability
★★★★★
You can increase the storage capacity up to 64 TB.
No transient connections occur during storage capacity expansion.
You can upgrade, downgrade, create, or release an RDS instance within minutes.
The automatic storage expansion feature is supported.
★★★★★
If your RDS instance runs MySQL or PostgreSQL, online storage capacity expansion is supported, and you can expand the storage capacity of your RDS instance within a few seconds.
★★
You can increase the storage capacity up to 6 TB.
Transient connections occur during storage capacity expansion.
A few hours may be required to upgrade, downgrade, create, or release the RDS instance.
The automatic storage expansion feature is not supported.
Performance
★★★★★
PL1<PL2<PL3
A performance level 2 (PL2) Enterprise SSD (ESSD) delivers twice the IOPS and throughput of a PL1 ESSD.
A PL3 ESSD delivers IOPS that is up to 20 times the IOPS delivered by a PL1 ESSD. A PL3 ESSD also delivers throughput that is up to 11 times the throughput delivered by a PL1 ESSD.
NoteApsaraDB RDS provides three storage types. For more information, see Storage types.
★★★★★★
General ESSDs are compatible with all features of ESSDs, deliver better baseline performance than PL1 ESSDs, and provide the I/O burst, I/O acceleration, and data archiving features.
For more information about the supported features, see [Product changes/Feature changes] The baseline I/O performance of the general ESSDs of ApsaraDB RDS instances is increased, Use the I/O burst feature of general ESSDs, Use the I/O acceleration feature of general ESSDs, Use the data archiving feature of general ESSDs, and What is a general ESSD?
★★★★★
I/O latencies are reduced, and I/O performance is improved.
Backup
★★★★★
A backup can be completed in minutes or seconds.
The highest backup frequency is once every 15 minutes.
★★★★★
A backup can be completed in minutes or seconds.
The highest backup frequency is once every 15 minutes.
★★★
A backup requires a long period of time to complete.
The highest backup frequency is one backup every week.
NoteRDS instances that run MySQL 5.7 or MySQL 8.0 on RDS Basic Edition support only cloud disks. RDS instances that run MySQL 5.5 or MySQL 5.6 on RDS High-availability Edition support only local disks. Serverless RDS instances support only cloud disks.
The available features vary based on the storage type that you select. For more information, see Features.
Configure the Network Type parameter. The value is fixed as VPC.
Configure the VPC parameter.
NoteWe recommend that you select the virtual private cloud (VPC) in which your ECS instance resides for the RDS instance. If the RDS instance and the ECS instance reside in different VPCs, these instances cannot communicate over an internal network.
Configure the Add to Whitelist parameter to specify whether to add the CIDR block of the selected VPC to a whitelist of the RDS instance.
NoteIf you set the Add to Whitelist parameter to No, you can configure a whitelist after the RDS instance is created. For more information, see Configure an IP address whitelist.
Select the zone in which the RDS instance resides, select a vSwitch, and configure the Deployment Method parameter.
Select a zone.
A zone is an independent physical location within a region. For example, the China (Hangzhou) region contains Hangzhou Zone H, Hangzhou Zone I, and Hangzhou Zone J.
No substantive differences exist between zones in the same region.
If the RDS instance resides in the same zone as the ECS instance that you want to connect, these instances can deliver optimal performance. If the RDS instance and the ECS instance reside in different zones in the same region, the performance of these instances slightly decreases.
Select a vSwitch.
A vSwitch is a basic network device that connects different cloud resources. When you create a cloud resource in a VPC, you must specify a vSwitch to which the cloud resource is connected.
Select an existing vSwitch or click Create vSwitch. For more information, see Create and manage a vSwitch.
Select a deployment method.
Multi-zone Deployment: The primary RDS instance and the secondary RDS instance reside in different zones in the same region to achieve zone-disaster recovery. We recommend that you use this deployment method.
If you set the Deployment Method parameter to Multi-zone Deployment, you must configure the Zone and Network of Primary Node and Zone and Network of Secondary Node parameters.
Single-zone Deployment: The primary RDS instance and the secondary RDS instance reside in the same zone.
If you select Basic Edition, you can select only the Single-zone Deployment method.
NoteIf your database system consists of primary and secondary RDS instances, we recommend that you select Multi-zone Deployment to achieve cross-zone disaster recovery.
If you set the Edition parameter to Cluster Edition, you must select the number of secondary nodes and the zones of the primary and secondary nodes.
Configure the Instance Type parameter.
Configure the Category parameter. You can select General-purpose or Dedicated.
Instance type
Description
Benefit
General-purpose Instance Types
A general-purpose RDS instance occupies all the allocated memory and I/O resources.
A general-purpose RDS instance shares CPU and storage resources with other general-purpose RDS instances that are deployed on the same host.
RDS instances of the general-purpose instance type are cost-effective.
Dedicated Instance Types
A dedicated RDS instance exclusively occupies the allocated CPU, memory, storage, and I/O resources.
NoteThe dedicated host instance family is the highest configuration of the dedicated instance family. A dedicated host RDS instance exclusively occupies all the CPU, memory, storage, and I/O resources of the host on which the RDS instance is deployed.
A dedicated RDS instance can deliver higher performance and higher stability.
NoteAn RDS instance that runs RDS Basic Edition does not support the dedicated instance family.
Configure detailed specifications, including CPU cores and memory capacity. For more information about instance types, see Primary ApsaraDB RDS for MySQL instance types.
In a test environment, we recommend that you select an instance type that provides one or more CPU cores.
In a production environment, select an instance type that provides four or more CPU cores.
NoteIf you set the Edition parameter to Cluster Edition, the Pricing column displays the price per node in the cluster. If you purchase one primary node and two secondary nodes for the cluster, the price of the cluster is triple the price that is displayed in the Pricing column.
Configure the Database Proxy parameter.
The general-purpose database proxy feature is provided free of charge and can be enabled on the ApsaraDB RDS buy page or after an ApsaraDB RDS instance is created. The feature supports advanced capabilities such as read/write splitting, persistent connections, transaction splitting, connection pooling, and SSL encryption. The system enables the database proxies of the recommended specifications for your RDS instance. For more information, see Procedure.
NoteWhen you create an RDS instance that runs RDS High-availability Edition, the database proxy feature is disabled for the RDS instance. You can enable the general-purpose database proxy feature for the RDS instance.
When you create an RDS instance that runs RDS Cluster Edition, the general-purpose database proxy feature is enabled for the RDS instance. You can manually disable the feature.
You can change the types and the specifications of database proxies after you enable database proxies. For more information, see Change the types and the number of database proxies.
Configure the Storage Capacity parameter.
The valid values of the Storage Capacity parameter vary based on the instance type and storage type that you select. You can adjust the storage capacity at a step size of 5 GB.
NoteIf you select High-availability Edition and the standard SSD or ESSD storage type, you can select Automatic Storage Expansion. You can specify the conditions based on which automatic storage expansion is triggered and the upper limit for storage capacity. If automatic storage expansion is triggered, ApsaraDB RDS automatically increases the storage capacity based on the larger value between 5 GB and 15% of the current storage capacity. This helps prevent the RDS instance from being locked due to insufficient storage resources.
Optional. If you set the Billing Method parameter to Subscription and select the Local SSD storage type, configure the Backup Retention After Release parameter. We recommend that you select Latest or All. This way, you can retrieve the data if the data is lost due to overdue payments. For more information, see Retain backup files for a long period of time.
Optional. If you set the Billing Method parameter to Subscription, configure the Subscription Duration parameter based on your business requirements.
Baseline Price: The list price of a subscription RDS instance without any discounts.
Preferential Monthly Fee: The monthly price that is calculated based on the baseline price of a subscription RDS instance.
NoteThe fee is calculated based only on the list price of the RDS instance, which does not include coupons or promotions.
Price: You can move the pointer over View Details on the right side of the page to view the estimated total price that is calculated based on the subscription duration and the baseline price of the RDS instance.
Optional. Configure other custom parameters. If you do not have special business requirements, you can retain the default values of these parameters.
Parameter
Description
Port
You can initialize the port when you create an RDS instance. Valid values: 1000 to 65534.
Default Storage Engine
InnoDB: an open source default storage engine that can provide comprehensive features. This is the recommended storage engine.
X-Engine: developed by Alibaba. X-Engine is compatible with InnoDB and provides a high compression ratio. This helps save more than 60% of storage capacity.
NoteThis parameter is available only when you select MySQL 8.0 and High-availability or Basic Edition in the previous step.
Parameter Template
Select the high-performance, asynchronous, default, or custom parameter template based on your business requirements. The parameters in the parameter template are displayed on the right. For more information, see Use a parameter template.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Time Zone
Select a time zone for the RDS instance.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Table Name Case Sensitivity
By default, this parameter is set to Case-insensitive. If the databases in your RDS instance have case-sensitive names, we recommend that you select Case-sensitive.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Release Protection
Specify whether to enable the release protection feature. The release protection feature is used to prevent a pay-as-you-go RDS instance from being released due to unintended operations. For more information, see Enable or disable the release protection feature.
Minor Version Upgrade Policy
Configure a policy based on which the minor engine version of the RDS instance is updated.
Automatic Upgrade: The system automatically updates the minor engine version of the RDS instance to the most recent version during the maintenance window. We recommend that you use this method. You can change the update time on the Scheduled Events tab. For more information, see Configure a maintenance window and Manage scheduled events.
Manual Upgrade: You must manually update the minor engine version of the RDS instance on the Basic Information page.
NoteIf you do not want to use the latest minor engine version, select Select Minor Engine Version. Then, you can select a minor engine version from the drop-down list that appears.
Resource Group
Use the default resource group or select a custom resource group based on your business requirements. This facilitates instance management.
Instance Description
Enter a description for easy identification.
Privileged Account
Create a privileged account. If you select Configure Now, you must configure the Database Account, Password, and Confirm Password parameters. If you select Configure Later, you can create a privileged account after the RDS instance is created. For more information about privileged accounts, see Create a privileged account.
In the upper-right corner of the page, configure the Quantity parameter.
The default value is 1. You can purchase up to 20 instances at a time. Specify the number of instances based on your business requirements.
Confirm the configurations, quantity, and subscription duration of the RDS instance, read and select ApsaraDB RDS Terms of Service, click Pay Now, and then complete the payment. You must configure the Subscription Duration parameter only when you select the subscription billing method for the RDS instance. The Congratulations or The service is activated message is displayed in the ApsaraDB RDS console.
NoteIf you select the subscription billing method for the RDS instance, we recommend that you select Enable Auto-renewal. This prevents interruptions on your application even if you forget to renew the RDS instance.
The auto-renewal cycle is one month for monthly subscription and one year for yearly subscription. The actual auto-renewal cycle in the order prevails. You can disable auto-renewal at any time. For more information, see Use the auto-renewal feature.
View the RDS instance.
Go to the Instances page. In the top navigation bar, select the region in which your RDS instance resides. Then, find the RDS instance based on the Creation Time parameter.
NoteIt requires 1 to 10 minutes to create an RDS instance. You can refresh the page to view the RDS instance that you created.
Old version
Step 1: Configure basic settings
Configure the Billing Method parameter.
Billing method
Description
Benefit
Subscription
A subscription instance is an instance for which you pay an upfront fee. If you want to use an instance for a long period of time, we recommend that you select the Subscription billing method. If you select the subscription billing method, configure the Subscription Duration parameter in the lower part of the page.
In most cases, the subscription billing method is more cost-effective than the pay-as-you-go billing method for long-term usage. Alibaba Cloud provides lower prices for longer subscription durations.
Pay-as-you-go
You are charged an hourly fee for a pay-as-you-go instance based on your actual resource usage. For short-term use, we recommend that you select the Pay-as-you-go billing method.
You can create a pay-as-you-go RDS instance. After you confirm that the created RDS instance meets your business requirements, you can change the billing method of the RDS instance to subscription.
You can release a pay-as-you-go RDS instance based on your business requirements. The billing of a pay-as-you-go RDS instance immediately stops after you release the RDS instance.
Serverless
If you want to run scheduled tasks, your workloads frequently change, or the workloads are fully managed or do not require O&M, we recommend that you select Serverless.
NoteFor more information about serverless RDS instances and how to create a serverless RDS instance, see Overview of serverless ApsaraDB RDS for MySQL instances.
If you select Serverless, you are charged based on your consumption of resources for workloads. This can help reduce costs.
NoteYou can view the price in the lower-right corner of the page. The price is displayed only after you configure all required parameters.
Configure the Region parameter.
We recommend that you create the RDS instance in the same region as the ECS instance. If the RDS instance and the ECS instance reside in different regions, you cannot connect these instances over an internal network. In this case, these instances cannot deliver optimal performance.
NoteAfter an RDS instance is created, you cannot change the region of the RDS instance. If you want to connect an ECS instance and an RDS instance over an internal network, make sure that the RDS instance and the ECS instance reside in the same region.
For more information about how to view the region in which an ECS instance resides, see Get ready to use ApsaraDB RDS for MySQL.
If your application is deployed on an on-premises server or computer, we recommend that you select a region that is near your on-premises server or computer. This way, you can use the public endpoint of the RDS instance to connect to the RDS instance from your application.
Configure the Database Engine, Edition, Product Type, and Storage Type parameters.
Configure the Database Engine parameter.
Select MySQL. We recommend that you select MySQL 8.0 or select the database engine version that is run on your self-managed MySQL instance. The default value of this parameter is MySQL 8.0.
NoteServerless RDS instances support MySQL 5.7 and MySQL 8.0.
For more information about the lifecycles of MySQL versions in ApsaraDB RDS for MySQL, see Lifecycles of major engine versions.
Configure the Edition parameter.
RDS edition
Description
Benefit
RDS Basic Edition
In RDS Basic Edition, the database system consists of only one primary RDS instance.
RDS Basic Edition is cost-effective and is suitable for learning and testing.
RDS instances that run RDS Basic Edition require a long period of time to restart or recover from faults.
RDS High-availability Edition
In RDS High-availability Edition, the database system consists of a primary RDS instance and a secondary RDS instance. These instances work in HA mode. You can create read-only RDS instances and attach the read-only RDS instances to the primary RDS instance.
RDS High-availability Edition is suitable for more than 80% of production environments.
RDS Cluster Edition
We recommend that you use this RDS edition. In RDS Cluster Edition, the database system consists of a primary node and multiple secondary nodes.
These nodes work in HA mode. The secondary nodes support read operations.
NoteThe available RDS editions vary based on the region and database engine that you select.
RDS Cluster Edition supports MySQL 8.0 and MySQL 5.7.
For more information, see Overview.
Configure the Product Type parameter. You can select Standard or Yitian. For more information, see Product types.
NoteYiTian RDS instances support MySQL 8.0 and MySQL 5.7.
If your RDS instance runs RDS Basic Edition, you do not need to configure this parameter.
Configure the Storage Type parameter.
Item
ESSD (recommended)
Local SSD
Scalability
★★★★★
You can increase the storage capacity up to 64 TB.
No transient connections occur during storage capacity expansion.
You can upgrade, downgrade, create, or release an RDS instance within minutes.
The automatic storage expansion feature is supported.
★★
You can increase the storage capacity up to 6 TB.
Transient connections occur during storage capacity expansion.
A few hours may be required to upgrade, downgrade, create, or release the RDS instance.
The automatic storage expansion feature is not supported.
Performance
★★★★★
PL1<PL2<PL3
A PL2 ESSD delivers twice the IOPS and throughput of a PL1 ESSD.
A PL3 ESSD delivers IOPS that is up to 20 times the IOPS delivered by a PL1 ESSD. A PL3 ESSD also delivers throughput that is up to 11 times the throughput delivered by a PL1 ESSD.
NoteApsaraDB RDS provides three storage types. For more information, see Storage types.
★★★★★
I/O latencies are reduced, and I/O performance is improved.
Backup
★★★★★
A backup can be completed in minutes or seconds.
The highest backup frequency is once every 15 minutes.
★★★
A backup requires a long period of time to complete.
The highest backup frequency is one backup every week.
NoteRDS instances that run MySQL 5.7 or MySQL 8.0 on RDS Basic Edition support only cloud disks. RDS instances that run MySQL 5.5 or MySQL 5.6 on RDS High-availability Edition support only local disks. Serverless RDS instances support only cloud disks.
The available features vary based on the storage type that you select. For more information, see Features.
Select the zone in which the RDS instance resides.
Select a zone.
A zone is an independent physical location within a region. For example, the China (Hangzhou) region contains Hangzhou Zone H, Hangzhou Zone I, and Hangzhou Zone J.
No substantive differences exist between zones in the same region.
If the RDS instance resides in the same zone as the ECS instance that you want to connect, these instances can deliver optimal performance. If the RDS instance and the ECS instance reside in different zones in the same region, the performance of these instances slightly decreases.
Select a deployment method.
Multi-zone Deployment: This is the recommended deployment method. The primary RDS instance and the secondary RDS instance reside in different zones to achieve zone-disaster recovery.
If you set the Deployment Method parameter to Multi-zone Deployment, you must configure the Zone of Primary Node and Zone of Secondary Node parameters.
Single-zone Deployment: The primary RDS instance and the secondary RDS instance reside in the same zone.
If you set the Edition parameter to Basic Edition, only the Single-zone Deployment method is supported.
NoteIf your database system consists of primary and secondary RDS instances, we recommend that you select Multi-zone Deployment to achieve cross-zone disaster recovery.
If you set the Edition parameter to Cluster Edition, you must select the number of secondary nodes and the zones of the primary and secondary nodes.
Configure the Instance Type parameter.
Configure the Category parameter. You can select General-purpose or Dedicated.
Instance type
Description
Benefit
General-purpose
A general-purpose RDS instance occupies all the allocated memory and I/O resources.
A general-purpose RDS instance shares CPU and storage resources with other general-purpose RDS instances that are deployed on the same host.
RDS instances of the general-purpose instance type are cost-effective.
Dedicated
A dedicated RDS instance exclusively occupies the allocated CPU, memory, storage, and I/O resources.
NoteThe dedicated host instance family is the highest configuration of the dedicated instance family. A dedicated host RDS instance exclusively occupies all the CPU, memory, storage, and I/O resources of the host on which the RDS instance is deployed.
A dedicated RDS instance can deliver higher performance and higher stability.
NoteAn RDS instance that runs RDS Basic Edition does not support the dedicated instance family.
Configure detailed specifications, including CPU cores and memory capacity. For more information about instance types, see Primary ApsaraDB RDS for MySQL instance types.
In a test environment, we recommend that you select an instance type that provides one or more CPU cores.
In a production environment, select an instance type that provides four or more CPU cores.
NoteIf you set the Edition parameter to Cluster Edition, the Pricing column displays the price per node in the cluster. If you purchase one primary node and two secondary nodes for the cluster, the price of the cluster is triple the price that is displayed in the Pricing column.
Configure the Storage Capacity parameter.
The valid values of the Storage Capacity parameter vary based on the instance type and storage type that you select.
You can adjust the storage capacity at a step size of 5 GB.
NoteIf you select High-availability Edition and the standard SSD or ESSD storage type, you can select Automatic Storage Expansion. You can specify the conditions based on which automatic storage expansion is triggered and the upper limit for storage capacity. If automatic storage expansion is triggered, ApsaraDB RDS automatically increases the storage capacity based on the larger value between 5 GB and 15% of the current storage capacity. This helps prevent the RDS instance from being locked due to insufficient storage resources.
Optional. If you set the Billing Method parameter to Subscription and select the Local SSD storage type, configure the Backup Retention After Release parameter. We recommend that you select Latest or All. This way, you can retrieve the data if the data is lost due to overdue payments. For more information, see Retain backup files for a long period of time.
Optional. If you set the Billing Method parameter to Subscription, configure the Subscription Duration parameter based on your business requirements.
In the lower-right corner of the page, click Next:Instance Configuration.
Step 2: Configure advanced settings
Configure the Network Type parameter. The Network Type parameter is fixed as VPC.
Configure the VPC and vSwitch of Primary Node parameters.
NoteWe recommend that you select the VPC in which your ECS instance resides for the RDS instance. If the RDS instance and the ECS instance reside in different VPCs, these instances cannot communicate over an internal network.
Configure the Add to Whitelist parameter to specify whether to add the CIDR block of the selected VPC to a whitelist of the RDS instance.
NoteIf you set the Add to Whitelist parameter to No, you can configure a whitelist after the RDS instance is created. For more information, see Configure an IP address whitelist.
Configure the Port parameter.
You can initialize the port when you create an RDS instance. Valid values: 1000 to 65534.
Configure custom parameters. If you do not have special business requirements, you can retain the default values of these parameters.
Parameter
Description
Default Storage Engine
InnoDB: an open source default storage engine that can provide comprehensive features. This is the recommended storage engine.
X-Engine: developed by Alibaba. X-Engine is compatible with InnoDB and provides a high compression ratio. This helps save more than 60% of storage capacity.
NoteThis parameter is available only when you select MySQL 8.0 and High-availability Edition or Basic Edition in the previous step.
Parameter Template
Select the high-performance, asynchronous, default, or custom parameter template based on your business requirements. The parameters in the parameter template are displayed on the right. For more information, see Use a parameter template.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Time Zone
Select a time zone for the RDS instance.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Table Name Case Sensitivity
By default, this parameter is set to Case-insensitive. If the databases in your RDS instance have case-sensitive names, we recommend that you select Case-sensitive.
NoteThis parameter is available only when you select High-availability Edition or Basic Edition in the previous step.
Release Protection
Specify whether to enable the release protection feature. The release protection feature is used to prevent a pay-as-you-go RDS instance from being released due to unintended operations. For more information, see Enable or disable the release protection feature.
Minor Version Upgrade Policy
Configure a policy based on which the minor engine version of the RDS instance is updated.
Automatic Upgrade: The system automatically updates the minor engine version of the RDS instance to the most recent version during the maintenance window. We recommend that you use this method. You can change the update time on the Scheduled Events tab. For more information, see Configure a maintenance window and Manage scheduled events.
Manual Upgrade: You must manually update the minor engine version of the RDS instance on the Basic Information page.
If you do not want to use the latest minor engine version, select Select Minor Engine Version. Then, you can select a minor engine version from the drop-down list that appears.
Instance Description
Enter a description for easy identification.
You can add tags to distinguish multiple RDS instances to facilitate instance management. For more information, see Use tags to filter ApsaraDB RDS for MySQL instances.
Resource Group
Use the default resource group or select a custom resource group based on your business requirements. This facilitates instance management.
Privileged Account
Create a privileged account. If you select Configure Now, you must configure the Database Account, Password, and Confirm Password parameters. If you select Configure Later, you can create a privileged account after the RDS instance is created. For more information about privileged accounts, see Create a privileged account.
In the lower-right corner of the page, click Next:Confirm Order.
Step 3: Confirm the order
Confirm the configuration of the RDS instance in the Parameter Configuration section, configure the Quantity and Subscription Duration parameters, read and select Terms of Service, and then click Pay Now. You must configure the Subscription Duration parameter only if you select the subscription billing method for the RDS instance. The Congratulations or The service is activated message is displayed in the ApsaraDB RDS console.
NoteIf you select the subscription billing method for the RDS instance, we recommend that you select Auto-renewal. This prevents interruptions on your application even if you forget to renew the RDS instance.
The auto-renewal cycle is one month for monthly subscription and one year for yearly subscription. The actual auto-renewal cycle in the order prevails. You can disable auto-renewal at any time. For more information, see Use the auto-renewal feature.
View the RDS instance.
Go to the Instances page. In the top navigation bar, select the region in which your RDS instance resides. Then, find the RDS instance based on the Creation Time parameter.
NoteIt requires 1 to 10 minutes to create an RDS instance. You can refresh the page to view the RDS instance that you created.
What to do next
Create databases and accounts for an ApsaraDB RDS for MySQL instance
Troubleshooting related to resharding
Related operations
For more information about how to create an RDS instance by calling an API operation, see Create an instance.
For more information about how to create an RDS instance that runs a different database engine, see the following topics: