GCP GCloud commands cheatsheet

GCP GCloud commands cheatsheet

# list disks
gcloud compute disks list

# increase size of existing disk
gcloud compute disks resize DISK_NAME --size=30GB --zone=us-central1-a

# list zones
gcloud compute zones list

# describe VM config
gcloud compute instances describe VM_NAME --zone=us-central1-a

# reserve IP
gcloud compute addresses create IP_NAME --addresses=IP --region=us-central1

ref 1


30. Mar 2024