RDS for MySQL
Parameter | Description |
Instance name | You cannot set the instance name for the green instance during creation. The default instance name is the name of the blue instance+-green+-a six-digit random code. tip Since an RDS for MySQL instance name cannot exceed 128 characters, and the `-green` and `-six-digit random code` suffixes take up a fixed 13 characters. If the name of the blue instance exceeds 115 characters, only the first 115 characters are kept. |
Compatible version | Select the compatible version for the green instance. RDS for MySQL supports two compatible versions, MySQL 5.7 and MySQL 8.0. The rules for selecting a compatible version for the green instance are as follows:
|
Kernel version | Select the compatible version for the green instance. The rules for selecting the kernel version for the green instance are as follows:
tip For more information about the kernel versions released for RDS for MySQL, refer to Kernel minor version release notes. |
Instance type | Select the instance type for the green instance. RDS for MySQL provides Single node, Double node, and Multiple node instance types. The rules for selecting the instance type for the green instance are as follows:
|
Specification type | Select the specification type for the green instance. RDS for MySQL provides two specification types: General type (formerly 'Shared type') and Dedicated type (formerly 'General type').
tip The specification type of the green instance is the same as the blue instance by default and can be modified. If the instance type of the blue instance is Single node, the specification type of the green instance can only be General type. |
Node specification | Configure the node specification, availability zone, and number of nodes for the green instance. The node configuration for the green instance is the same as the blue instance by default, but it can be adjusted. The specific configuration rules are as follows:
tip For zone-level disaster recovery, it is recommended to deploy the primary and secondary nodes in different availability zones.
tip If the specification of a read-only node is lower than that of the primary node, high load on the primary node may cause latency or even OOM in the read-only node. It is recommended to select the same or a higher specification for the read-only nodes as that of the primary node.
tip For zone-level disaster recovery, it is recommended to deploy the primary and secondary nodes in different availability zones. tip
|
Storage type | Select the storage type for the instance. You can select Local SSD, Cloud ESSD FlexPL, Cloud ESSD PL0, or High performance cloud disk as the storage type.
tip If the instance type is Single node, you can only select Cloud ESSD FlexPL, Cloud ESSD PL0, or High performance cloud disk as the storage type. Local SSD disk is supported, and the SSD must be in the same node as the database engine. |
Storage space | Storage space includes data space, system file space, Binlog file space, and transaction file space. Enter a storage space from 20 GiB to 32,000 GiB in 10 GiB increments based on your business requirements. tip The storage space of the green instance must be greater than or equal to both the storage space of the blue instance and the minimum space of the instance specification. For more information on the value range of storage space corresponding to each specification, refer to Product specifications. |
Deletion protection | Set whether to enable deletion protection for the green instance. Deletion protection is a feature provided by RDS for MySQL to protect instances from accidental deletion. After this feature is enabled, the instance cannot be deleted directly. You must disable the deletion protection for the instance before it can be deleted. tip Deletion protection is enabled by default for the green instance. |
Network protocol type | Set the network protocol type of the green instance. The green instance must use the same network protocol type as the blue instance. |
Virtual private cloud | The green instance must use the same virtual private cloud as the blue instance. This setting cannot be changed. |
Subnet | Select the subnet for the green instance. The subnet used by the blue instance is selected by default. You can also select another subnet within the virtual private cloud of the blue instance. |
Database proxy | Configure the database proxy for the green instance. The following rules apply when configuring the database proxy for a green instance:
|
Number of proxy cores | Set the number of cores for the database proxy service of the green instance. The value range for the number of cores for the proxy service varies by instance type:
|
Parameter configuration | Configure parameters for the green instance. The rules for configuring parameters for the green instance are as follows:
|
Parameter templates | If Parameter configuration is set to Select parameter template, select a parameter template for the green instance. You can select a system or custom parameter template for the green instance from the drop-down list. |
Kernel version upgrade policy | Method for upgrading the database kernel minor version. The following types are supported.
tip If an instance's kernel minor version exceeds its maintenance cycle, the system temporarily ignores the upgrade policy and automatically upgrades the kernel minor version. |
Billing method | Select the billing method for the green instance. RDS for MySQL supports two billing methods: Pay-as-you-go and Subscription.
tip You can also create a pay-as-you-go instance first and confirm that the instance meets the requirements before switching to a yearly/monthly subscription. |
Subscription duration | If you choose Subscription, you need to select the purchase duration. Support monthly purchase (can purchase 1~9 months) and yearly purchase (can purchase 1~3 years). |
Automatic renewal | If you select Subscription, you can also configure Automatic renewal. If enabled, the platform automatically renews the subscription on a monthly basis before the instance expires, without requiring manual renewal. You can also modify the renewal configuration. For more information, please refer to Renewal Management. |
API | Description |
Call the CreateDBBlueGreenInstance API to create a blue-green deployment for an instance. | |
Call the DescribeDBBlueGreenInstance API to query the blue-green deployment information for the instance. |