Configuring a Recycle Bin Policy
Scenarios
After enabling the recycle bin, you can customize the recycle bin policy to determine when to move unsubscribed or deleted disks to the bin.
-
If you have configured scaling policies for your workloads, the system may frequently delete EVS disks. At the same time, if you have also enabled EVS recycle bin, but do not want these frequently deleted disks to be moved to the bin, you can configure an appropriate recycle bin policy to reduce unintended costs.
Example scenarios:
- Scenario 1: You have used Auto Scaling to dynamically scale services. The system may frequently delete disks based on the configured scaling policy.
- Scenario 2: You have used Cloud Container Engine (CCE) to run workloads. The system may frequently delete disks based on the configured container scaling policy.
These examples are for your reference only. You can configure an appropriate policy based on your own service scenario.
Notes and Constraints
- By default, disks created at least 7 days ago will be moved to the recycle bin upon deletion or unsubscription. You can customize a value ranging from 7 to 1,000 days as required.
- When the OS of a server is reinstalled, a new system disk will be created to replace the original one. EVS determines whether to move the original disk to the recycle bin by comparing the number of days elapsed since disk creation with the days configured in the recycle bin policy.
Procedure
- Log in to the console.
- Click
in the upper left corner and choose Storage > Elastic Volume Service.
The Elastic Volume Service page is displayed.
- Click the Recycle Bin tab.
- In the upper right corner of the Recycle Bin tab page, click Configure Policy.
The Configure Recycle Bin Policy page is displayed.
- Set a minimum number of days that must elapse after a disk was created before it can be moved to the recycle bin upon deletion or unsubscription.
- Click OK. Then, disks will be moved to the recycle bin upon deletion or unsubscription and deleted permanently based on the recycle bin policy.
Related Operations
You can manually recover or permanently delete disks in the recycle bin.
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