I beleived that Google Cloud Platform preemptive instances were restarted automaticaly when the engine releases the ressource but I was wrong.
Once preempted the instance seems to need a manual restart.
Is there a way to restart the instance automaticaly after preemption ??
Thank you.
You can instance status periodically and restart it if it was terminated. Assuming instance name
instance1and period 5 minutes it will be something like this: