Configuring a Recycle Bin Policy
Scenarios
After Recycle Bin is enabled, you can configure a recycle bin policy that includes:
- The minimum number of days that must have passed after an ECS was created (the minimum ECS age) before it can be moved to the recycle bin upon deletion or unsubscription
- A duration that deleted or unsubscribed ECSs can be kept in the recycle bin
This rule only applies to the ECSs that are moved to the recycle bin after the rule is set.
Constraints
- The number of days you can set for the recycle bin policy ranges from 1 to 1,000 days and defaults to 7 days.
- ECSs in the recycle bin are kept for at least 1 hour and no more than 720 hours.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project.
- Click
. Under Compute, click Elastic Cloud Server.
- Click the Recycle Bin tab.
- In the upper right corner of the Recycle Bin tab, click Modify Policy.
The Configure Recycle Bin Policy panel slides out.
- Configuring a recycle bin policy.
- The minimum number of days that must have passed after an ECS was created (the minimum ECS age) before it can be moved to the recycle bin upon deletion or unsubscription The default value is 7 days.
For example, if you set the minimum ECS age to 7 days, ECSs created 7 days ago will be moved to the recycle bin upon deletion or unsubscription and be billed on a pay-per-use basis. ECSs created within 7 days will not be moved to the recycle bin. They will be permanently deleted.
If you use both ECS and EVS recycle bins, you are advised to configure the same minimum number of days for moving ECSs and EVS disks to the recycle bins to avoid issues brought by different lifecycles. For details, see Recycle Bin Policy Configuration Suggestions.
- A duration that deleted or unsubscribed ECSs can be kept in the recycle bin The default value is 168 hours.
If you set the retention duration to 168 hours, ECSs can be kept in the recycle bin for a maximum of 168 hours, after which they will be permanently deleted and cannot be recovered.
- The minimum number of days that must have passed after an ECS was created (the minimum ECS age) before it can be moved to the recycle bin upon deletion or unsubscription The default value is 7 days.
- Click OK.
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