Deleting a DCS Instance
On the DCS console, you can delete one or multiple DCS instances at a time. You can also delete all instance creation tasks that have failed to run.
Notes and Constraints
- The DCS instances exist, and must be in the Running, Faulty, or Stopped state.
- Caution! Deleted DCS instances, and their data and backup files, cannot be recovered. The EIPs bound to the instances will be released. To retain data backups, before deleting instances, download and save their backups locally.
- If the instance is in cluster mode, all cluster nodes will be deleted.
- Instances billed on a yearly/monthly basis cannot be deleted.
Procedure
To delete existing DCS instances, see Deleting Existing DCS Instances. To delete instances that fail to be created, see Deleting DCS Instances That Fail to Be Created.
Deleting Existing DCS Instances
- Log in to the console, and choose Application > Distributed Cache Service to go to the DCS page.
- Click
in the upper left corner of the console and select the region where your instance is located. - In the navigation pane, choose Cache Manager.
- On the Cache Manager page, select one or more DCS instances to be deleted, and choose More > Delete above.
To delete a single instance, choose More > Delete in Operation column in the row containing the instance.
- Enable Move to Recycle Bin. The deleted instances will be moved to Recycle Bin, and can be restored or destroyed later.
- Instances in Recycle Bin can be restored or destroyed within 7 days. They will be automatically destroyed after 7 days. For details, see Restoring or Destroying DCS Instances in Recycle Bin.
- If an instance (except for a single-node one) is in the Running state before it is deleted with Move to Recycle Bin enabled, its data will be automatically backed up on the backend during instance deletion.
- If an instance is in the Faulty or Stopped state before it is deleted with Move to Recycle Bin enabled, its data will not be automatically backed up on the backend during instance deletion, but its latest backup will be saved. If there is no such a backup, data restoration becomes unavailable. You are advised to back up instances periodically.
- Enter DELETE and click Yes to delete the DCS instance.
Clicking Auto Enter enters DELETE quickly.
- When a prompt indicating that the instance is deleted is displayed, the operation is complete.
It takes 1 to 30 minutes to delete DCS instances.
Deleting DCS Instances That Fail to Be Created
- Log in to the console, and choose Application > Distributed Cache Service to go to the DCS page.
- Click
in the upper left corner of the console and select the region where your instance is located. - In the navigation pane, choose Cache Manager.
If there are DCS instances that have failed to be created, Instance Creation Failures and the number of instances that fail to be created is displayed above the instance list.
- Click the icon or the number of failed tasks next to Instance Creation Failures.
The Instance Creation Failures dialog box is displayed.
- Delete failed instance creation tasks as required.
- To delete all failed tasks, click Delete All above the task list.
- To delete a single failed task, click Delete in the row containing the task.
Related Document
To delete DCS Redis instances by calling an API, see Deleting an Instance and Batch Deleting DCS Instances.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.