Stopping an Instance
Scenarios
If you use DB instances only for routine development, you can temporarily stop pay-per-use instances to save money.
Billing
After a DB instance is stopped, the ECS where the DB instance is located is no longer billed. Other resources, including EIPs, storage resources, database proxies, and backups, are still billed.
Constraints
- Only pay-per-use instances using cloud SSDs or extreme SSDs can be stopped. RDS DB instances created in a Dedicated Computing Cluster (DCC) cannot be stopped.
- A stopped instance will not be moved to the recycle bin after being deleted.
- Stopping a DB instance will also stop its automated backups. After the DB instance is started, a full backup is automatically triggered.
- 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 the primary instance.
- If you do not manually start your stopped DB instance after 15 days, your DB instance is automatically started during the next maintenance window. For details about the maintenance window, see Changing the Maintenance Window. To start an instance, see Starting an Instance.
- A stopped pay-per-use instance may fail to start due to insufficient ECS resources. In this case, try again later or restore data to a new DB instance using the latest backup. If you need assistance, contact customer service.
- A DB instance can fail to be stopped during peak hours. You are advised to stop instances during off-peak hours.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, locate the primary instance that you want to stop and choose in the Operation column.
- In the displayed dialog box, click OK.
Figure 1 Stopping an instance
- If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.
Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.
- Refresh the instance list and view the status of the instance. If the status is Stopped, the instance is stopped successfully.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot