- Newest
- Most votes
- Most comments
Based on the information provided, it appears that you're encountering issues with deleting versioned objects in your S3 bucket. Here are a few key points to consider:
-
When versioning is enabled and you delete an object, S3 doesn't actually remove the object. Instead, it creates a delete marker, which becomes the current version of the object. This is why you might still see the data in your bucket.
-
To permanently delete versioned objects, you need to delete all versions of the object, including the delete markers.
-
Your lifecycle rule is set to expire current versions of objects after 1 day and permanently delete noncurrent versions after 1 day as well. This should work for new objects, but it may not immediately affect existing objects, especially if they have multiple versions.
-
For existing data with multiple versions, you might need to explicitly delete each version, including the delete markers.
-
The lifecycle rule to delete expired object delete markers is a good practice, as it helps clean up unnecessary delete markers.
To address your issue:
-
Ensure that your lifecycle rule has been in place for more than the specified time (in this case, more than 1 day).
-
If you need to delete the data more quickly, you may need to manually delete all versions of the objects, including delete markers. This can be done through the AWS CLI or SDK for bulk operations.
-
Be patient, as it can take some time for lifecycle rules to process large amounts of data, especially with 30TB of data.
-
If the issue persists after several days, you may want to contact AWS support for further assistance, as there might be other factors at play.
Remember, when dealing with versioned buckets, simply deleting an object creates a delete marker rather than removing the object entirely. To permanently delete data, you need to remove all versions of the objects.
Sources
Troubleshooting versioning - Amazon Simple Storage Service
Managing delete markers - Amazon Simple Storage Service
Delete marker not available when i delete object in a versioned bucket | AWS re:Post
Ok, so I only have the AI answer above so far which says 'If you need to delete the data more quickly, you may need to manually delete all versions of the objects, including delete markers. This can be done through the AWS CLI or SDK for bulk operations.'
How do I do this, please? It's also worth mentioning that the data was created by Veeam..... if that has any bearing on the situation!
I just want to delete 35TB of data and save money!!
answered 2 years ago
Relevant content
asked 5 years ago
- AWS OFFICIALUpdated 5 years ago

Are you still having this issue?