Google Compute Engine + Google Cloud Storage + NFS VM实例 [英] Google Compute Engine + Google Cloud Storage + NFS VM Instance

查看:154
本文介绍了Google Compute Engine + Google Cloud Storage + NFS VM实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人尝试成功设置 Google Compute Engine + Google Cloud Storage + NFS VM实例?

I wanted to know if anyone has tried with good success on setting Google Compute Engine + Google Cloud Storage + NFS VM Instance?

我想到的场景是创建一个Google Cloud Storage实例,并将其呈现给在GCE上运行的NFS VM实例.然后,配置NFS VM实例以将Google Cloud Storage存储桶导出到需要对该存储桶进行读写的几台Web服务器(Cloud Storage).

The scenario I have in mind is to create a Google Cloud Storage instance and have it presented to an NFS VM instance that runs on GCE. Then, configure the NFS VM instance to export the Google Cloud Storage bucket to several web servers that will need to read and write to that bucket (Cloud Storage).

如果可能的话,我更喜欢这种方法的原因是因为我的Cloud Storage数据在备份等方面会更可靠.我知道我可以为GCE上的NFS VM实例创建一个永久磁盘并转储我的永久磁盘上的数据,但那时我不得不担心备份自己的数据.在GCE中可以使用磁盘快照,但是不知道这是否是最佳解决方案.

The reason I would prefer this approach, if possible, is because my Cloud Storage data would be more reliable in terms of backups, etc. I know I can just create a persistent disk for the NFS VM instance on GCE and dump my data on that persistent disk but then I have to worry about backing up my own data at that point. Snapshots of disks are fine within GCE but don't know if this is the best solution.

我对GCE和Google Cloud Platform总体上还是陌生的,并试图确定如何使用不同的方法来模拟我当前在云中的物理系统.

I am new to GCE and Google Cloud Platform overall and trying to determine how to mimic my current physical systems in the cloud using different methods.

推荐答案

如果您的方案要求将Cloud Storage存储桶作为文件系统安装在NFS服务器实例上,然后将其导出到客户端,则不会获得生产级的性能和可靠性. .原因是因为没有原生方法来安装Cloud Storage,您将只能使用用户空间文件系统实施,例如 s3fuse .不过,它可能适用于简单的用例和低负载.

If your scenario implies mounting Cloud Storage bucket as a filesystem on NFS server instance and then exporting it to clients, you won't get production-level performance and reliability. The reason is because there is no native way to mount Cloud Storage and you will be limited to userspace filesystem implementation such as s3fuse. It might work for simple use-cases and low load though.

请注意,您可以在读取时同时将永久性磁盘安装到多个实例 -纯模式.

Note that you can mount a Persistent Disk to multiple instances simultaneously in read-only mode.

这篇关于Google Compute Engine + Google Cloud Storage + NFS VM实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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