Amazon storage unlimited bucket

浪尽此生 提交于 2019-12-11 05:44:37

问题


Hi is there any version of amazon web services provides unlimited buckets?


回答1:


No. From the S3 documentation:

Each AWS account can own up to 100 buckets at a time.

S3 buckets are expensive (in terms of resources) to create and destroy:

The high availability engineering of Amazon S3 is focused on get, put, list, and delete operations. Because bucket operations work against a centralized, global resource space, it is not appropriate to make bucket create or delete calls on the high availability code path of your application. It is better to create or delete buckets in a separate initialization or setup routine that you run less often.

There's also no good reason to use lots of buckets:

There is no limit to the number of objects that can be stored in a bucket and no variation in performance whether you use many buckets or just a few. You can store all of your objects in a single bucket, or you can organize them across several buckets.

You want a separate space for each of your users to put things. Fine: create a single bucket and give your user-specific information a <user_id>/ prefix. Better yet, put it in users/<user_id>/, so you can use the same bucket for other non-user-specific things later, or change naming schemes, or anything else you might want.

ListObjects accepts a prefix parameter (users/<user_id>/), and has special provisions for hierarchical keys that might be relevant.




回答2:


Will is correct. For cases where you can really prove a decent use-case, I'm would imagine that AWS would consider bumping your quota (as they will do for most any service). I wouldn't be surprised if particular users have 200-300 buckets or more, but not without justifying it on good grounds to AWS.

With that said, I cannot find any S3 Quota Increase form alongside the other quota increase forms.



来源:https://stackoverflow.com/questions/13593019/amazon-storage-unlimited-bucket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!