Google Cloud CLI (gcloud) · Compute Engine
Stop a VM
Stop an instance. You stop paying for compute but not for its disks.
gcloud compute instances stop my-vm --zone us-central1-a
Official Google Cloud CLI (gcloud) documentation
More compute engine commands
- List VM instances
- Create a VM
- Connect to a VM with SSH
- Delete a VM
- Copy a file to a VM
- Allow traffic to a port
All compute engine commands · Google Cloud CLI (gcloud) cheatsheet