Is it possible to stop an instance group in Google Cloud Platform?

Solution 1:

It seems presently GCP dont have the option to stop any managed instance group as the documentation [1]. There is a public issue tracker [2] which could be followed where the product engineering team is working on this feature request. I hope link [3] [4] also helpful for you.

If you use an unmanaged instance group [5] there is an option that you could remove VMs from groups and stop the VM, I am not sure removal of VMs from an unmanaged instance group option is helpful for you. When you create an unmanaged instance group, no VMs are added to it automatically.

[1] https://cloud.google.com/compute/docs/instance-groups/

[2] https://issuetracker.google.com/162852391

[3] https://googlecloudplatform.uservoice.com/forums/302595-compute-engine/suggestions/13355934-stop-start-an-instance-group-to-save-money

[4] https://stackoverflow.com/questions/54948419/how-can-i-stop-gcp-instance-groups-from-terminating

[5] https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-unmanaged-instances#removing_vms