Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Rolling instances/ updating templates

Hello Googlers! 

 

Is it possible to change template of an instance group without changing VMs and vice versa ? 

 

Thanks, 

Khalid 

Solved Solved
2 1 755
1 ACCEPTED SOLUTION

Hi @Googler,

Welcome to the Google Cloud Community!

You can't update an existing instance template or change an instance template after it has been created. If an instance template goes out of date, or you need to make changes to the configuration, create a new instance template[1].

You can update the Instance Template of a Managed Instance Group by Selecting the MIG in Compute Engine > UPDATE VMS > Select your newly created Instance Template.

I hope this answers your question. Thank you.

[1]. https://cloud.google.com/compute/docs/instance-templates/create-instance-templates#limitations

View solution in original post

1 REPLY 1

Hi @Googler,

Welcome to the Google Cloud Community!

You can't update an existing instance template or change an instance template after it has been created. If an instance template goes out of date, or you need to make changes to the configuration, create a new instance template[1].

You can update the Instance Template of a Managed Instance Group by Selecting the MIG in Compute Engine > UPDATE VMS > Select your newly created Instance Template.

I hope this answers your question. Thank you.

[1]. https://cloud.google.com/compute/docs/instance-templates/create-instance-templates#limitations