Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add More CPU Core and RAM in Running VM Instance

I need to add more CPU Core and RAM in Running VM Instance. Is there any way i can do that?

like image 696
user3779929 Avatar asked Sep 16 '14 09:09

user3779929


People also ask

How do I increase memory for existing GCP VM?

In Machine configuration, select General-purpose. From the Machine type list, select Custom. Select the number of vCPUs you want. To add extended memory, select Extend memory and then specify the amount of memory you want.


2 Answers

This is no longer the best way (as of 2016). Now the easiest way to do it is to stop the instance, then click on edit and change the machine type to what you want—you can even customize it. Once done, just hit start and it'll come back up with the new type you've selected.

There is no longer a need to clone it to grow it.

like image 200
jstrellner Avatar answered Oct 02 '22 07:10

jstrellner


you can't dynamically change RAM and CPU values of compute Engine Instances, but you can create a snapshot of instance and create a larger instance from the snapshot.

like image 37
Paolo P. Avatar answered Oct 02 '22 07:10

Paolo P.