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:44

Use the amazon web managment console. With Google chrome for speed. Deleted the objects a lot faster than firefox (about 10 times faster). Had 60 000 objects to delete.

查看更多
可以哭但决不认输i
3楼-- · 2019-03-07 22:45

One more shameless plug: I got tired of waiting for individual HTTP delete requests when I had to delete 250,000 items, so I wrote a Ruby script that does it multithreaded and completes in a fraction of the time:

http://github.com/sfeley/s3nuke/

This is one that works much faster in Ruby 1.9 because of the way threads are handled.

查看更多
走好不送
4楼-- · 2019-03-07 22:45

I am one of the Developer Team member of Bucket Explorer Team, We will provide different option to delete Bucket as per the users choice... 1) Quick Delete -This option will delete you data from bucket in chunks of 1000. 2) Permanent Delete-This option will Delete objects in queue.

How to delete Amazon S3 files and bucket?

查看更多
闹够了就滚
5楼-- · 2019-03-07 22:47

I've always ended up using their C# API and little scripts to do this. I'm not sure why S3Fox can't do it, but that functionality appears to be broken within it at the moment. I'm sure that many of the other S3 tools can do it as well, though.

查看更多
成全新的幸福
6楼-- · 2019-03-07 22:49

Delete all of the objects in the bucket first. Then you can delete the bucket itself.

Apparently, one cannot delete a bucket with objects in it and S3Fox does not do this for you.

I've had other little issues with S3Fox myself, like this, and now use a Java based tool, jets3t which is more forthcoming about error conditions. There must be others, too.

查看更多
男人必须洒脱
7楼-- · 2019-03-07 22:50

This may be a bug in S3Fox, because it is generally able to delete items recursively. However, I'm not sure if I've ever tried to delete a whole bucket and its contents at once.

The JetS3t project, as mentioned by Stu, includes a Java GUI applet you can easily run in a browser to manage your S3 buckets: Cockpit. It has both strengths and weaknesses compared to S3Fox, but there's a good chance it will help you deal with your troublesome bucket. Though it will require you to delete the objects first, then the bucket.

Disclaimer: I'm the author of JetS3t and Cockpit

查看更多
登录 后发表回答