Re:GCP releases Spot VMs, the next generation of Pre-emptibl...
by technics256 on Wednesday October 13, 2021 @08:08AM
(#28851125)
How do you coordinate the failover? Custom scripts or?
[ Parent
| on HN ]
Re:GCP releases Spot VMs, the next generation of Pre-emptibl...
by roca on Thursday October 14, 2021 @05:56PM
(#28870719)
We use custom logic. There are various ways to do it. One way to do it is to poll for the termination signal on the running instance, as part of your app say, and if you see termination coming, trigger a Lambda that supervises the bringup of an on-demand instance. For critical stuff you probably want a backup system that checks instance health and brings up a new instance if the old one is not available ... but you probably want that even if you always run on-demand.