gcloud compute instances describe web-server --zone us-central1-a

Category: Google Cloud & Workspace

gcloud compute instances describe web-server --zone us-central1-a

Show detailed information about a VM

Prints a full description of one instance: machine type, disks, network interfaces, tags, metadata and scheduling policy. Add --format='value(networkInterfaces[0].accessConfigs[0].natIP)' to extract just the external IP. Related: gcloud compute instances list for a compact table.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.