How to increase the size of a Google Cloud virtual machine? [closed]

℡╲_俬逩灬. 提交于 2019-12-11 08:27:46

问题


How does Google Cloud handle increasing or decreasing the size of a VM i.e. changing the RAM and CPU options.

Thank you.


回答1:


This behavior has now changed, and instances are customizable before and after creation. However, the instance must be shutdown in order to edit it and increase it's RAM or/and CPU. More information is available in this Help Center article.




回答2:


you can stop the instance and manipulate the memory or cpu which ever you need and start he instance after you have made your necessary changes




回答3:


Once a machine has been created, you cannot increase the RAM or CPU. this is only done when first instantiated.

However, there is a workaround. From the Developers Console, you will need to snapshot the existing VM disk, delete the machine, create a new one (choose the CPU and RAM according to your needs, and where it says "Boot disk" choose "New Disk from snapshot" and select the snapshot you created earlier).

I know it sounds a bit laborious but actually it is pretty straight-forward, should not take you more than a couple of minutes.

Hope this helps !



来源:https://stackoverflow.com/questions/27128599/how-to-increase-the-size-of-a-google-cloud-virtual-machine

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