Google Cloud Tip: Use Preemptible VMs for Cost Savings

Bibin Wilson
DevOps Learners
Published in
Jun 16, 2021

Want to save cost in Google Cloud while doing POCs and dev setup ? 💸

Use Preemptible VMs whenever you are testing or doing POC on Google cloud.

Preemptible VMs are very affordable and can save money!

Also, it only lasts for up to 24 hours.

In terms of GKE, you can even use it for your dev clusters where you can afford a node failure.

The autoscaling will spin up another preemptible VM.

Also, if you are using a Google Cloud trial account to spin up more VMs without, Preemptible VMs are the way to go!

You just have to add the --preemptible flag to your gcloud command.

Here is an example gcloud command with a preemptible flag.

gcloud compute instances create poc-instance \
--zone=us-central1-a \
--preemptible
google cloud preemptible VMS to save cost

--

--