Hacker News new | ask | show | jobs
by icedchai 341 days ago
What if someone deletes a bucket? Then all your versioning is gone...
1 comments

It doesn't let you.
It can be done if you delete the versions. You’ll need to use the aws cli.
It cannot be done if S3 objects use the object lock in compliance mode. Such objects cannot be altered in any way and the bucket cannot be deleted until the lock expires .
Good to know! I’ve never used that feature.
Note that with such lock mistakes can be costly. If you put into S3 several terabytes by mistake and set the compliance lock duration for 2 years, you will have to pay for that storage for 2 years.
So not even Amazon can fix this? What if my company goes bankrupt with several TB locked up?