Delete Amazon S3 buckets? [closed]

2019-03-07 21:53发布

I've been interacting with Amazon S3 through S3Fox and I can't seem to delete my buckets. I select a bucket, hit delete, confirm the delete in a popup, and... nothing happens. Is there another tool that I should use?

23条回答
唯我独甜
2楼-- · 2019-03-07 22:50

I hacked together a script for doing it from Python, it successfully removed my 9000 objects. See this page:

https://efod.se/blog/archive/2009/08/09/delete-s3-bucket

查看更多
三岁会撩人
3楼-- · 2019-03-07 22:51

You must make sure you have correct write permission set for the bucket, and the bucket contains no objects. Some useful tools that can assist your deletion: CrossFTP, view and delete the buckets like the FTP client. jets3t Tool as mentioned above.

查看更多
Fickle 薄情
4楼-- · 2019-03-07 22:52

SpaceBlock also makes it simple to delete s3 buckets - right click bucket, delete, wait for job to complete in transfers view, done.

This is the free and open source windows s3 front-end that I maintain, so shameless plug alert etc.

查看更多
Summer. ? 凉城
5楼-- · 2019-03-07 22:52

I guess the easiest way would be to use S3fm, a free online file manager for Amazon S3. No applications to install, no 3rd party web sites registrations. Runs directly from Amazon S3, secure and convenient.

Just select your bucket and hit delete.

查看更多
对你真心纯属浪费
6楼-- · 2019-03-07 22:52

One technique that can be used to avoid this problem is putting all objects in a "folder" in the bucket, allowing you to just delete the folder then go along and delete the bucket. Additionally, the s3cmd tool available from http://s3tools.org can be used to delete a bucket with files in it:

s3cmd rb --force s3://bucket-name
查看更多
登录 后发表回答