stop/start an instance group to save money
Our company needs an auto-scaled instance group for testing purpose, but would like to be able to "pause" it (= stop all instances) while we are not using it.
Actually we loose money if we keep it running, or need to delete the group everytime we want to "pause" it.
Have you tried editing the instance group to set its size to zero? I believe this will cause the instance group to spin down all the VMs which is what you want to happen.
Any news about this feature? (stop/pause an instance group without remove/delete it)
Yes, David, that's true. Managed Instance Groups generally assume that instances are stateless, hence reducing the size (similar to autoscaling down, but initiated manually) deletes instances.
David Cardoso commented
I believe this does not just pause the instances, but rather removes them. When you set to a number greater than 0, it creates new instances, rather than starting the same ones from before.
Can anyone confirm this?
Paul Friedman commented
+1 from us
You can use the third-party application like ParkmyCloud to manage your resources (schedule your instances )
Rob Brown commented
I would like this feature too. As mentioned, the console forces to min 1.
Gwenael Pellen commented
I want same feature.
If group type is "Managed instance group" and "Minimum number of instances" field is 0.
We have an error message : "Minimum number of instances must be a positive integer".
We can only put 1.
We can only delete instance group if you want stop all instances, between 20h to 8h for exemple.
Noted, Pierre. I'm passing your feedback to our Managed Infrastructure PMs for their review when working on future enhancements. Thx.
Pierre Bazoge commented
Yes Paul editing the group to set the number of VMs to zero does the trick. But it's not really convenient ;)