Autoscaling: preemptible instances if available, regular if not

98 views
Skip to first unread message

Zach Bjornson

unread,
Nov 23, 2015, 12:50:16 PM11/23/15
to gce-discussion
Hello!

I'm designing an internal load balancer+autoscaling group architecture for batch processing. I would like the target pool to use preemptible instances if they're available, but non-preemptible instances otherwise so that we save money and always satisfy our load. From the docs it sounds like if you specify a preemptible instance, the autoscaler will try repeatedly to launch instances until they're available. Is it possible to configure it to fallback to non-preemptible? I haven't tested to see how common it is to not have preemptible instances available, so maybe this isn't a problem.

Was looking at the failover feature (pool A is preemptible, B is not), but the failover rules and health check don't seem conducive to this.

Thanks,
Zach

George

unread,
Nov 23, 2015, 4:52:10 PM11/23/15
to gce-discussion
Hello Zach,

You can use Prevmtable in order to manage a pool of preemtible GCE VMs across zones. You can have more information about this matter in this Github post.

I hope this helps.

Sincerely,
George
Reply all
Reply to author
Forward
0 new messages