是否有当地提供Amazon S3的风格API服务器? [英] Is there a server that provides an Amazon S3 style API locally?

查看:134
本文介绍了是否有当地提供Amazon S3的风格API服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们做存储的一些数据(附件)distributal软件)的数据库或b)的Amazon S3。该数据库的使用,因为它不要求其他的配置。亚马逊S3是更好的选择。

We make distributal software that stores some data (attachments) in a) a database or b) Amazon S3. The database is used because it requires no other configuration. Amazon S3 is the better option.

我们现在想要的是那些不希望使用Amazon S3的客户提供解决方案。我们可以很明显只使用文件系统,但是这可能是有问题的,如果有多个Web服务器和文件需要被复制;这也要求我们在编写额外的code来处理的问题,可能发生的各种permuations。

What we want now is a solution for customers that don't want to use Amazon S3. We can obviously just use the filesystem but this can be problematic if there are multiple web servers and the files need to be replicated; it also requires us to write extra code to handle the various permuations of problems that can happen.

我们将prefere是,如果有一块服务器软件,基本上复制亚马逊S3 API的。这样,我们的客户可以安装在框中的服务器;我们不需要改变任何code。所以...有没有这样的软件了吗?

What we would prefere is if there was a piece of server software that essentially replicates Amazon S3's API. That way our clients can install the server on a box; and we don't need to change any code. So ... is there any such software out there?

推荐答案

这是可以通过 OpenStack对象存储(code -named斯威夫特),这是的创建使用集群的标准化服务器冗余,可扩展的对象存储的开源软件的,特别是其最近添加(可选)S3 API层,其中的模拟在对象存储的。

This is possible via OpenStack Object Storage (code-named Swift), which is open source software for creating redundant, scalable object storage using clusters of standardized servers, specifically its recently added (optional) S3 API layer, which emulates the S3 REST API on top of Object Storage.

请参阅<一href="http://docs.openstack.org/diablo/openstack-object-storage/admin/content/configuring-openstack-object-storage-with-s3_api.html">Configuring与S3 API ,在官方文档对象存储 - 对于整个设置一个更深入和说明小教程中的对OpenStack的雨燕(它建立在更加复杂的<一个S3的API href="http://www.buildcloudstorage.com/2011/10/installing-openstack-swift-cluster-on.html">Installing在EC2上的OpenStack的雨燕集群的虽然)。

See Configuring Object Storage with the S3 API for the official documentation - a more insightful and illustrated small tutorial regarding the entire setup is available in S3 APIs on OpenStack Swift (which builds on the more complex Installing an OpenStack Swift cluster on EC2 though).

这是值得关注的另一种方法是 Ceph的,这是一个的的统一,分布式存储系统专为卓越的性能,可靠性和可扩展性 - 有趣的是它提供了三种常见的存储模型,即对象存储,的Block存储文件系统 RADOS网关提供Amazon S3和OpenStack的雨燕兼容接口的RADOS对象存储[重点煤矿] 的,看的 RADOS S3 A​​PI 对当前支持S3 API功能的详细信息。

An noteworthy alternative is Ceph, which is a unified, distributed storage system designed for excellent performance, reliability and scalability - interestingly it provides all three common storage models, i.e. Object Storage, Block Storage and a File System and the RADOS Gateway provides Amazon S3 and OpenStack Swift compatible interfaces to the RADOS object store [emphasis mine], see RADOS S3 API for details on currently supported S3 API features.

这篇关于是否有当地提供Amazon S3的风格API服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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