Help Center > > User Guide> Working with RDS for MySQL> Instance Management> Changing a DB Instance Type from Single to Primary/Standby

Changing a DB Instance Type from Single to Primary/Standby

Updated at:Nov 20, 2020 GMT+08:00

Scenarios

  • RDS enables you to change single DB instances to primary/standby DB instances to improve instance reliability. This operation does not affect the services running on the primary DB instance.
  • Primary/standby DB instances support automatic failover. If the primary DB instance fails, the standby DB instance takes over services quickly. You are advised to deploy primary and standby DB instances in different AZs for high availability and disaster recovery.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
  4. On the Instance Management page, locate the target DB instance and choose More > Change Type to Primary/Standby in the Operation column.

    Alternatively, click the target DB instance. In the DB instance topology, click on the left to change type from single to primary/standby.

  5. Select a standby AZ. Other configurations are the same as those of the primary DB instance by default. Confirm the configurations and click Submit.
  6. After a single DB instance is changed to primary/standby instances, you can view and manage it on the Instance Management page.

    • The DB instance is in the Changing type to primary/standby status. You can view the progress on the Task Center page. For details, see section Task Center.
    • In the upper right corner of the DB instance list, click to refresh the list. After the DB instance type is changed to primary/standby, the instance status will change to Available and the instance type will change to Primary/Standby.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel