Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update all machines in an instance group on Google Cloud Platform?

I have multiple machines managed by auto scaling in Google Compute Engine. I would like to redeploy all my machines (create new ones based on the same instance template and delete all the old ones). I do not want any service interruption.

How can I do that?

like image 581
poiuytrez Avatar asked Nov 09 '22 11:11

poiuytrez


1 Answers

Rolling updates seems to be a nice solution: https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service

like image 57
poiuytrez Avatar answered Nov 15 '22 07:11

poiuytrez