Re:Backblaze Hard Drive Stats Q2 2019
by nijave on Tuesday August 06, 2019 @09:45AM
(#20625076)
You can nuke a whole S3 bucket. There's a switch in the cli and a checkbox in the GUI. I think there's another option for deletion protection that disables that somewhere else
[ Parent
| on HN ]
I can't find the CLI option, the docs still say that the bucket must be empty[1]. There's something available in the management console but that doesn't really help with automated deployments and testing.
[1] - https://docs.aws.amazon.com/cli/latest/reference/s3api/delet...
Edit: Found aws s3 rb --force, but this just automates the process of listing/deleting objects then deleting the bucket. When you have 7 million objects in a cloudtrail bucket, that can take days.