Skip to content

s3 versioning and deleting the bucket

0

Hi, does anyone know If I enabled s3 versioning for a bucket, then one day someone delete all objects and the bucket (a malicious actor) would versions still be available? or permanently deleted? I guess they are deleted but want to make sure about the answer Thanks.

asked 2 years ago344 views

2 Answers
0

Hello.

To delete a bucket, all objects (including versions) must be deleted. Therefore, if a bucket has been deleted, it is impossible to restore objects from versions.
That means all data is deleted.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/delete-bucket.html
https://repost.aws/knowledge-center/s3-delete-bucket

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • so versions wont be available . right?

  • Yes, it is not available if the bucket is deleted.

0

Versions remain in the bucket if the bucket is NOT deleted AND that the versions are not deleted either.

If you want to be able to recover a bucket then you should look at AWS with an Air Gapped Vault

https://aws.amazon.com/blogs/storage/introducing-aws-backup-logically-air-gapped-vault/

EXPERT

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.