Cloud Discussions

Deletion of large S3 bucket, best way



need to destroy a tenant in our SGW with a 80TB bucket, now question is how?

How i've started is with S3 browser-pro and just select "delete bucket". Now this starts but takes a very long time, even with multiple threads.

Other suggestion i've seen was to put a lifecycle policy on the bucket of 1 day (was an org. AWS bucket in the example), does that work with S3 browser also on a SGW bucket?


Very curious if there are alternatives that work a bit faster.



You could certainly create a policy that would delete files on the storage, but if you did this often you'd end up with a ton of archived rules.


It's probably better to use a S3 client like PowerShell with S3 module, or try this 

aws s3 rm --recursive s3://your_bucket_name/foo/

Or take a look at (I don't know if it works).

I haven't tried these on SG.