Google Compute Engine + Google Cloud Storage + NFS VM Instance

最后都变了- 提交于 2019-12-10 19:53:48

问题


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

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).

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.

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.


回答1:


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.



来源:https://stackoverflow.com/questions/22059624/google-compute-engine-google-cloud-storage-nfs-vm-instance

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