Hot to change 'Preemptibilty' setting on VM instance in Google Cloud

Currently running a small number of machines in Google Cloud Platform. When originally setup, the 'Preemptibility' availability policy was turned on and the machine is being terminated by Google.

Looking for a way to the Google 'Preemptibility' policy off so the machines stay powered on at all times without having to build new machines.

GUI does not appear to have an option to turn off and unable to find a command line option either.

Thanks.


You most likely can't. This is equivalent to the AWS Spot instance, and the instances billing function is set at startup and is immutable. https://cloud.google.com/preemptible-vms/ states "Preemptible VMs offer the same machine types and options as regular compute instances and last for up to 24 hours.", so you are going to have to recreate that functionality on a standard node.