This section describes how to create a DB instance on the management console.
The DB instance class and storage space you need depend on your processing power and memory requirements.
in the upper left corner and select a region and a project.
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 of the DB instance cannot be changed. Therefore, exercise caution when selecting the region where the instance is located. |
Parameter |
Description |
|---|---|
DB Engine |
Set to MySQL. |
DB Engine Version |
For details, see DB Engines and Versions. Different DB engine versions are supported in different regions. You are advised to select the latest available version because it is more stable, reliable, and secure. |
DB Instance Type |
|
Storage Type |
Determines the DB instance read/write speed. The higher the maximum throughput is, the higher the DB instance read/write speed can be.
|
Primary AZ/Standby AZ |
An AZ is a physical region where resources use independent power supply 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. The primary and standby instances can be deployed in different AZs. |
Parameter |
Description |
|---|---|
Instance Class |
Refers to the CPU and memory of a DB instance. Different instance classes have different numbers of database connections and different maximum IOPS. For details about instance classes, see section DB Instance Classes. After a DB instance is created, you can change its instance class. For details, see section Changing a DB Instance Class. |
Storage Space |
Contains the file system overhead required for inode, reserved block, and database operation. After a DB instance is created, you can scale up its storage space. For details, see section Scaling up Storage Space. |
Enable autoscaling |
If the storage type is cloud SSD or extreme SSD, you can enable storage autoscaling. When the available storage drops to a specified threshold, autoscaling is triggered.
NOTE:
If you specify a read replica when creating a primary DB instance and enable storage autoscaling for the primary DB instance, storage autoscaling is also enabled for the read replica by default. |
Disk Encryption |
Enabling disk encryption enhances data security but reduces the database's read and write performance by 5%. Key Generation: indicates the method of generating a tenant key. Select one from the drop-down list. Key Name: indicates the tenant key. Select one from the drop-down list. After disk encryption is enabled, the following restrictions apply:
|
Parameter |
Description |
|---|---|
DB Instance Name |
Must start with a letter and consist of 4 to 64 characters. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed. |
Administrator |
The default login name for the database is root. |
Administrator Password |
Must consist of 8 to 32 characters and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&.|). Enter a strong password and periodically change it for security reasons. If the password you provide is regarded as a weak password by the system, you will be prompted to enter a stronger password. Keep this password secure. The system cannot retrieve it. |
Confirm Password |
Must be the same as Administrator Password. |
Parameter |
Description |
|---|---|
VPC |
A dedicated virtual network in which your RDS DB instances are located. A VPC can isolate networks for different services. You can select an existing VPC or create a VPC. For details on how to create a VPC, see the "Creating a VPC" section in the Virtual Private Cloud User Guide. If no VPC is available, RDS allocates a VPC to you by default. NOTICE:
After the 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 take effect within all AZs of one Region. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create RDS DB instances and cannot be disabled. IPv4 Address: A floating IPv4 address is automatically assigned when you create a DB instance. You can also enter an unused floating IPv4 address in the subnet CIDR block. After the DB instance is created, you can change the floating IP address. |
Security Group |
Enhances security by controlling access to RDS from other services. You need to add inbound rules to a security group so that you can connect to your DB instance. If no security group is available or has been created, RDS allocates a security group to you by default. |
Parameter |
Description |
|---|---|
Parameter Template |
Contains engine configuration values that can be applied to one or more DB instances. If you intend to create primary/standby DB instances, they use the same parameter template. NOTICE:
If you use a custom parameter template when creating a DB instance, the following specification-related parameters in the custom template are not delivered. Instead, the default values are used.
You can modify the instance parameters as required after the DB instance is created. For details, see section Modifying Parameters. |
Time Zone |
You need to select a time zone for your instance based on the region hosting your instance. You can select a time zone during instance creation and change it later as needed. |
Table Name |
Specifies whether table names are case sensitive. The case sensitivity of table names (lower_case_table_names) for created RDS for MySQL 8.0 instances cannot be changed. |
Tag |
Tags an RDS DB instance. This configuration is optional. Adding tags to RDS DB instances helps you better identify and manage the DB instances. A maximum of 20 tags can be added for each DB instance. After a DB instance is created, you can click it and view its details on the Tags page. For details, see section Managing Tags. |
Parameter |
Description |
|---|---|
Quantity |
RDS supports DB instance creation in batches. If you choose to create primary/standby DB instances and set Quantity to 1, a primary DB instance and a standby DB instance will be created synchronously. If you create multiple DB instances at a time, they will be named with four digits appended to the DB instance name. For example, if you enter instance, the first instance will be named instance-0001, the second instance-0002, and so on. |
After the configuration, click Price Calculator to view the RDS configuration fee.
The performance of your DB instance depends on its configurations. Hardware configuration items include the instance specifications, storage type, and storage space.
For details, see section Changing a Database Port.