在Google Cloud上更改计算机类型 [英] Changing Machine Type on Google Cloud

查看:187
本文介绍了在Google Cloud上更改计算机类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找升级我的Google Cloud上的机器类型。我发现的少数解决方案都提到了以下内容:
$ b $ 1删除旧实例,同时保留磁盘。

2)使用旧实例中的磁盘创建新实例。



尽管没有解决方案提供任何细节。你如何完成上面两个步骤的细节?我创建了一个测试实例(Bitnami LAMP堆栈),然后尝试删除它,但它没有给我任何选项来在删除时保留磁盘,或者在创建过程中选择另一个磁盘。



我不确定它是否重要,但我的实例是通过Bitnami创建的(这是一个LAMP部署)。



谢谢!

解决方案

这是由Google云端平台发布的YouTube视频。 https://youtu.be/-XYUeORywXU



基本步骤为:
$ b


  • 创建磁盘快照

  • 使用所需的创建新实例键入

  • 将新实例上的启动磁盘更改为您创建的快照
  • 新实例启动后删除旧计算机


I am looking to upgrade the machine type on my Google Cloud. The handful of solutions I've found all mentioned the follow:

1) Delete old instance while preserving disk.

2) Create new instance using the disk from the old instance.

None of the solutions provide any details though. How do you accomplish the 2 steps above in detail? I created a test instance (Bitnami LAMP stack), then tried deleting it, but it didn't give me any option to "preserve disk" when deleting, or "select another disk" during creation.

I'm not sure if it matters, but my instance is created via Bitnami (it's a LAMP deployment).

Thanks!

解决方案

Here is a YouTube video posted by Google Cloud Platform walking through these steps. https://youtu.be/-XYUeORywXU

The basic steps are:

  • Create snapshot of your disk
  • Create new instance with the desired type
  • Change boot disk on new instance to the snapshot you created
  • Delete old machine once new instance is up

这篇关于在Google Cloud上更改计算机类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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