在实例之间共享存储
我正在使用 Engine Yard AppCloud 服务。
如果我希望我的实例共享存储(例如用于文件上传/下载),将 S3 集成构建到我的应用程序中是我唯一真正的选择吗?目前,应用程序期望使用 filsystem,但看起来多个实例无法挂载相同的 EBS 卷。
谢谢!
I'm using the Engine Yard AppCloud service.
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.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许,简单的选择是拥有一个 NFS 服务器,将 EBS 安装在其上并将其共享给实例。
但是您还可以使用其他分布式文件系统,例如 glusterfs、moosefs 等。
Probably, the simple option is to have an NFS server, have the EBS mounted on it and share that to the instances.
But there are other distributed filesystem that you can use also like glusterfs,moosefs and the like.
有一些共享文件系统可以在 EC2 或 AppCloud 上正常工作,但它们的支持可能为 0。
否则我建议考虑使用 s3fs
There are some shared filesystems that may work on EC2 or AppCloud without a problem however the support of them likely would be 0.
Otherwise I would suggest to look into using s3fs