Google Compute Engine + Google Cloud Storage + NFS VM实例

编程入门 行业动态 更新时间:2024-10-08 18:36:19
本文介绍了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实例

本文发布于:2023-11-24 12:00:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1625118.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:实例   Engine   Compute   Google   Cloud

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!