Last active
December 10, 2019 11:51
-
-
Save zycon/f3dd8efb8b0238a109cfeeef34e68d51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get all zones by region filter | |
gcloud compute zones list --filter="region:europe-west1" | |
get all instances by instance groups by region | |
gcloud compute instance-groups list-instances GROUP_NAME --region REGION_NAME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
instance describe
instanceId=instanceName
gcloud compute instances describe $instanceId --zone europe-west1-c --format='get(networkInterfaces.networkIP)'