gcloud compute instances list

Category: Google Cloud & Workspace

gcloud compute instances list

List all VM instances in the project

Prints every Compute Engine virtual machine across all zones with its name, zone, machine type, internal and external IPs and status. Add --filter=status:RUNNING to see only running VMs, or --format='table(name,zone,status)' to trim columns. Instances that are stopped but not deleted still appear in this list.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.