Google Cloud CLI (gcloud) · Compute Engine

Delete a VM

Delete a VM instance permanently.

gcloud compute instances delete my-vm --zone us-central1-a

Caution: Deleting is permanent, and boot disks are deleted by default.

Official Google Cloud CLI (gcloud) documentation

More compute engine commands

All compute engine commands · Google Cloud CLI (gcloud) cheatsheet

Was this page helpful?