Recover deleted Amazon EBS snapshots and EBS-backed AMIs with Recycle Bin
Recycle Bin is a data recovery feature that enables you to restore accidentally deleted Amazon EBS snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are deleted, they are retained in the Recycle Bin for a time period that you specify before being permanently deleted.
You can restore a resource from the Recycle Bin at any time before its retention period expires. After you restore a resource from the Recycle Bin, the resource is removed from the Recycle Bin and you can use it in the same way that you use any other resource of that type in your account. If the retention period expires and the resource is not restored, the resource is permanently deleted from the Recycle Bin and it is no longer available for recovery.
Using Recycle Bin helps to ensure business continuity by protecting your business-critical data against accidental deletion.
Topics
- Supported resources
- How does it work?
- Considerations
- Quotas
- Related services
- Pricing
- Control access
- Create retention rule
- Update retention rule
- Lock retention rule
- Unlock retention rule
- Tag retention rules
- Delete retention rules
- Recover deleted snapshots
- Recover deleted AMIs
- Monitor using EventBridge
- Monitor using CloudTrail
- Use interface VPC endpoints
Supported resources
Recycle Bin supports the following resource types:
-
Amazon EBS snapshots
Important
Recycle Bin retention rules also apply to archived snapshots in the archive storage tier. If you delete an archived snapshot that matches a retention rule, that snapshot is retained in the Recycle Bin for the period defined in the retention rule. Archived snapshots are billed at the rate for archived snapshots while they are in the Recycle Bin.
-
Amazon EBS-backed Amazon Machine Images (AMIs)
Note
Retention rules also apply to disabled AMIs.
Quotas
The following quotas apply to Recycle Bin.
Quota | Default quota |
---|---|
Retention rules per Region |
250 |
Tag key and value pairs per retention rule |
50 |
Related services
Recycle Bin works with the following services:
-
Amazon CloudTrail — Enables you to record events that occur in Recycle Bin. For more information, see Monitor Recycle Bin using Amazon CloudTrail.
Pricing
There are noadditional charges for using Recycle Bin and retention rules. For more
information, see Amazon EBS pricing
-
Amazon EBS snapshots — Snapshots in the Recycle Bin are billed at the same rate as regular snapshots in your account.
-
EBS-backed AMIs — AMIs in the Recycle Bin do not incur any additional charges.
Note
Some resources might still appear in the Recycle Bin console or in the Amazon CLI and API output for a short period after their retention periods have expired and they have been permanently deleted. You are not billed for these resources. Billing stops as soon as the retention period expires.
You can use the following Amazon generated cost allocation tags for cost tracking and allocation purposes when using Amazon Billing and Cost Management.
-
Key:
aws:recycle-bin:resource-in-bin
-
Value:
true
For more information, see Amazon-generated cost allocation tags in the Amazon Billing and Cost Management User Guide.