实例之间共享存储实例

2023-09-11 23:42:19 作者:姐是你惹不起的神

我使用的是Engine Yard的AppCloud服务。

I'm using the Engine Yard AppCloud service.

如果我想我的情况下共享存储(如文件上传/下载),是我唯一真正的选择,以打造S3集成到我的应用程序?目前,该应用程序期望使用filsystem,但它并不像多个实例可以安装相同的EBS卷。

If I want my instances to share storage (e.g. for file uploads/downloads), is my only real option to build S3 integration into my application? At the moment the app expects to use the filsystem but it doesn't look like multiple instances can mount the same EBS volume.

谢谢!

推荐答案

也许,简单的选择是有一个NFS服务器,有EBS安装在它和共享的实例。

Probably, the simple option is to have an NFS server, have the EBS mounted on it and share that to the instances.

但也有其他的分布式文件系统,你也可以使用像glusterfs,moosefs等。

But there are other distributed filesystem that you can use also like glusterfs,moosefs and the like.