Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update Google Compute Engine Instance type in real time

I would like to know if you can change the type of one instance to another, e.g:

n1-standard-1 to n1-standard-2

I don't see nothing to that in the documentation, but may be I miss something.

In case that is not posible, how i deal with this, there is another way to do this change?

like image 705
Elizabeth Avatar asked Mar 01 '14 13:03

Elizabeth


People also ask

Can we update in the instance template GCP?

Instance templates are designed to create instances with identical configurations. So you cannot update an existing instance template or change an instance template after you create it. If you need to make changes to the configuration, create a new instance template.

How do I update a managed instance group in GCP?

In the Google Cloud console, go to the Instance groups page. Select the managed instance group that you want to update. Click Update VMs. Under New template, update the target size of the canary template to 100% to roll forward the template to all your instances.

Which method is used to launch a new instance of the Google Compute Engine service?

In the Google Cloud console, go to the VM instances page. Select your project and click Continue. Click Create instance. Specify a Name for your VM.


1 Answers

You can stop the machine, edit it then launch it again. I just did it now and it worked fine.

switched from micro to small without changing my data.

Regards.

like image 159
user33629 Avatar answered Sep 17 '22 13:09

user33629