GCE使用云存储桶作为已安装驱动器 [英] GCE Use Cloud Storage Bucket as Mounted Drive

查看:73
本文介绍了GCE使用云存储桶作为已安装驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将存储桶安装到实例,以便Web服务器将其用作存储?如果没有,如何在不使用操作系统添加另一个永久磁盘的情况下为实例添加更多存储?

Is there a way to mount a storage bucket to an instance so it can be used by the webserver as storage? If not, how can I add more storage to the instance without adding another persistent disk with an OS?

推荐答案

您当然可以创建一个新的(更大)永久磁盘,并将其作为数据磁盘附加到您的实例.这是一个非常好的选择,因为它可以使您的网站数据与操作系统分离.有关所有选项的详细信息,请参见永久磁盘文档.

You can certainly create a new (larger) Persistent Disk and attach it to your instance as a data disk. This is a very good option, since it keeps your website data separate from your operating system. See the Persistent Disk docs for details on all the options.

在您的情况下:

  • Create a new Persistent Disk for the data. Pick a size large enough for your data and large enough to get the I/O throughput you want. (See this chart for details)
  • Attach the disk to your instance.

这篇关于GCE使用云存储桶作为已安装驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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