This section describes how to buy a DB instance on the RDS console.
in the upper left corner and select a region and a project.
in the upper left corner of the page and choose Database > Relational Database Service.Parameter | Description |
|---|---|
Region | Region where your resources are located. NOTE: Products in different regions cannot communicate with each other through a private network. After a DB instance is created, the region cannot be changed. Therefore, exercise caution when selecting a region. |
DB Instance Name | The instance name must consist of 4 to 64 characters and start with a letter. Only letters (case-sensitive), digits, hyphens (-), underscores (_), and periods (.) are allowed. |
DB Engine | Select MySQL. |
DB Engine Version | Supported DB engine versions may vary by region. For the actual options, see them on the console. When creating an RDS for MySQL instance, select a proper DB engine version tailored to your workloads. You are advised to select the latest available version because it is more stable, reliable, and secure. |
DB Instance Type |
|
Storage Type | Determines the instance read/write speed. A higher maximum throughput enables faster I/O operations. Cloud SSD is a type of cloud storage with elastic scalability. By storing data on SSD storage, RDS enables decoupled storage and compute. The maximum throughput is 350 MB/s. Extreme SSD uses 25GE network and RDMA technologies to provide you with up to 1,000 MB/s throughput per disk and sub-millisecond latency. |
AZ | An AZ is a physical region where resources use independent power supplies and networks. AZs are physically isolated but interconnected through an internal network. You can select different AZs for your primary and standby instances for cross-AZ disaster recovery. To achieve high reliability, RDS will automatically deploy your primary and standby instances in different physical servers even if you deploy them in the same AZ. |
Time Zone | Select a time zone based on the region your instance will be hosted in. |
Parameter | Description |
|---|---|
Instance Class | Refers to the vCPUs and memory of a DB instance. Different instance classes support different numbers of database connections and maximum IOPS. After a DB instance is created, you can change its instance class. For details, see Changing a DB Instance Class. |
Storage Space | Contains the system overhead required for inodes, reserved blocks, and database operation. After a DB instance is created, you can scale up its storage space. For details, see Scaling Up Storage Space. If the storage type is cloud SSD or extreme SSD, you can enable storage autoscaling. If the available storage drops to a specified threshold, autoscaling is triggered. |
Disk Encryption | Enabling disk encryption enhances data security but reduces the database's read and write performance by 5%.
After disk encryption is enabled, the following restrictions apply:
|
Parameter | Description |
|---|---|
VPC | A virtual network in which your RDS instances are located. A VPC can isolate networks for different workloads. You can select an existing VPC or create a VPC. If no VPC is available, RDS allocates a VPC to you by default. NOTICE: After a DB instance is created, the VPC cannot be changed. |
Subnet | Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets are only valid within a specific AZ. Dynamic Host Configuration Protocol (DHCP) is enabled by default for subnets where you plan to create RDS instances and cannot be disabled.
The subnet hosting your instance must meet the requirements for available private IP addresses:
|
Security Group | Enhances security by controlling access to RDS from other services. Ensure that the security group you select allows the client to access the DB instance. When creating a DB instance, you can select multiple security groups. For better network performance, select no more than five security groups. If you select more than one security group, the access rules of all the selected security groups apply on the instance. For details about how to manage security groups, see Changing a Security Group. If no security group is available or has been created, RDS allocates a security group to you by default. |
Database Port | The default database port is 3306. You can change it after a DB instance is created. RDS for MySQL instances can use database ports 1024 to 65535, excluding 12017, 33071, and 33062, which are reserved for RDS system use. |
Parameter | Description |
|---|---|
Password |
|
Administrator | The default login name for the database is root. |
Administrator Password | The allowed character types for administrator passwords depend on the chosen parameter template. For details, see Database Account Security.
Enter a strong password and periodically change it for security reasons. If the password you provide is considered weak by the system, you will be prompted to provide a stronger password. Keep this password secure. The system cannot retrieve it. After a DB instance is created, you can reset this password. For details, see Reset the Administrator Password to Restore Root Access. |
Confirm Password | Must be the same as Administrator Password. |
Parameter Template | Contains engine configuration values that can be applied to one or more DB instances of the same DB engine. In the drop-down list, you can select a default parameter template, high-performance parameter template, or custom parameter template in the current region as required.
After an instance is created, you can adjust its parameters as needed. For details, see Modifying Parameters of an RDS for MySQL Instance. |
Table Name | Specifies whether table names are case sensitive. Table name case sensitivity cannot be changed for an existing RDS for MySQL instance. |
Enterprise Project | If your account has been associated with an enterprise project, select the target project from the Enterprise Project drop-down list. After the instance is purchased, you can click the instance name and change its enterprise project on the Summary page. |
Parameter | Description |
|---|---|
Tag | Tags an RDS instance. This parameter is optional. Adding tags to RDS instances helps you better identify and manage the instances. Up to 20 tags can be added for each instance. After a DB instance is created, you can view its tag details on the Tags page. For details, see RDS for MySQL Tags. |
Parameter | Description |
|---|---|
Quantity | RDS supports batch instance creation. If you choose to create primary/standby instances and set Quantity to 1, the system will create a primary instance and a standby instance. If you create multiple DB instances at a time, their names will include a four-digit suffix. For example, if you specify instance here, the names will be instance-0001, instance-0002, and so on. If existing instances' suffixes have already reached up to 0010, the new instance names will start from instance-0011. |
Parameter | Description |
|---|---|
Read Replica | You can determine whether to create read replicas when creating a DB instance.
|
Storage Type | Determines the instance read/write speed. A higher maximum throughput enables faster I/O operations.
|
Read Replica AZ | By default, read replicas are deployed in an AZ different from that of the primary instance. |
Instance Class | You can select an instance class different from that of the primary instance for a read replica. To prevent a creation failure, long delay, and high load of a read replica, it is recommended that the specifications of the read replica be at least equal to those of the primary instance. |
Read Replica Quantity | You can create a maximum of 10 read replicas for each RDS instance. When an instance is created, the system automatically triggers the creation of read replicas. If you choose to create a primary/standby instance and set Read Replica Quantity to 1, a pair of primary/standby instances and a read replica will be created. |
The performance of your RDS instance depends on its configurations. The hardware configuration items you can choose include the instance class, storage type, and storage space.
For details, see Changing a Database Port.