Changing Machine Type on Google Cloud

寵の児 提交于 2019-12-11 00:47:37

问题


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!


回答1:


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


来源:https://stackoverflow.com/questions/33169329/changing-machine-type-on-google-cloud

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