Updated on 2026-04-24 GMT+08:00

Stopping an Instance

Scenarios

If you use DB instances only for routine development, you can stop your instances.Temporarily stopping pay-per-use instances helps reduce costs. Each instance can be stopped for up to 15 days.

Billing

After a DB instance is stopped, the VM where the DB instance is located is no longer billed. Other resources, including EIPs, storage resources, and backups, are still billed.

Constraints

  • If you stop a primary instance, read replicas (if there are any) will also be stopped. Both the primary instance and read replicas can be stopped for up to 15 days. You cannot stop a read replica without stopping its primary instance.
  • A stopped instance cannot be deleted through the console.
  • Stopping a DB instance will also stop its automated backups. After the DB instance is started, a full backup is automatically triggered.
  • If you do not manually start your DB instance within 15 days after it is stopped, the instance will automatically start during the next maintenance window. For details about the maintenance window, see Changing the Maintenance Window. To start an instance, see Starting an Instance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and a project.
  3. Click in the upper left corner of the page and choose Database > Relational Database Service.
  4. On the Instances page, locate the primary instance that you want to stop and choose More > Stop in the Operation column.
  5. In the displayed dialog box, enter YES and click OK.
  6. Refresh the instance list and view the status of the instance. If the status is Stopped, the instance is stopped successfully.