Preemptible VM

Preemptible VMs are the ones we use for a shorter time span, ranging from a few minutes to 24 hours. They are typically used for fault-tolerant applications, such as media transcoding or building a Hadoop cluster.

You can start a preemptible VM using the following command in the CLI:

// ENABLE PREEMPTIBLE OPTIONgcloud compute instances create my-vm --zone us-central1-b --preemptible

Get Cloud Analytics with Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.