删除Amazon S3的桶? [英] Delete Amazon S3 buckets?

查看:268
本文介绍了删除Amazon S3的桶?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过 S3Fox ,我似乎无法互动与Amazon S3删除我的水桶。我选择一个水桶,点击删除,确认删除弹出,并...没有任何反应。有没有我应该用另一种工具?

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?

推荐答案

终于是可以使用新的生命周期(过期)规则功能删除一气呵成的所有文件。你甚至可以在AWS控制台做到这一点。

It is finally possible to delete all the files in one go using the new Lifecycle (expiration) rules feature. You can even do it from the AWS console.

只需右键点击在AWS控制台斗名,选择属性,然后选项卡页面底部的行中选择生命周期和添加规则。用preFIX字段设置为空白创建一个生命周期规则(桶中空白表示所有文件,或者你可以将其设置为A,以删除其名称以A的所有文件)。将天字段设置为1。而已。完成。假设文件超过一天的,他们都应该被删除,那么你就可以删除桶。

Simply right click on the bucket name in AWS console, select "Properties" and then in the row of tabs at the bottom of the page select "lifecycle" and "add rule". Create a lifecycle rule with the "Prefix" field set blank (blank means all files in the bucket, or you could set it to "a" to delete all files whose names begin with "a"). Set the "Days" field to "1". That's it. Done. Assuming the files are more than one day old they should all get deleted, then you can delete the bucket.

我刚刚试过这是第一次,所以我仍然在等待,看看如何快速的文件被删除(这是不是立即而是presumably应在24小时内发生的),以及是否我得到计费一delete命令或50000000删除命令......祈祷!

I only just tried this for the first time so I'm still waiting to see how quickly the files get deleted (it wasn't instant but presumably should happen within 24 hours) and whether I get billed for one delete command or 50 million delete commands... fingers crossed!

这篇关于删除Amazon S3的桶?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆