Configuring a Recycle Bin Policy
Scenarios
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 recycle bin, you can configure a 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. In this case, you can configure an appropriate recycle bin policy based on the scaling cycle to avoid moving any unintended disks to the recycle bin.
- 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. In this case, you can configure an appropriate recycle bin policy based on the scaling cycle to avoid moving any unintended disks to the recycle bin.
These examples are for your reference only. You can configure an appropriate policy based on your own service scenario.
Notes and Constraints
- The default recycle bin policy is 7 days, which means that disks created a least 7 days ago will be moved to the recycle bin upon deletion or unsubscription. You can customize a recycle bin policy 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.
Figure 1 Configure Policy - 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.
If you set 7 days for the recycle bin policy, disks created less than 7 days will not be moved to the recycle bin upon deletion and will be deleted permanently. Disks created at least 7 days ago will be moved to the recycle bin upon deletion and billed on a pay-per-use basis.
- 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