MJN All Blog Cheatsheets Elasticsearch GCP JS LinuxBash Misc Notes Other ShortcutKeys / - Search

Home / GCP / GCP Training / Section 3 - gcloud


Contents

Overview

Some services have specific tools:

gcloud is part of Google Cloud SDK (Cloud SDK requires Python).

Install: https://cloud.google.com/sdk/docs/install

Syntax: gcloud GROUP SUBGROUP ACTION ...

Connecting to GCP:

gcloud init - initialize or reinitialize gcloud.

gcloud config list - lists all properties of the active configuration.

Other Examples:

gcloud compute instances list

gcloud compute zones list

gcloud compute regions list

gcloud compute machine-types list

gcloud compute machine-types list --filter="zone:us-central1-b"

gcloud compute machine-types list --filter="zone:( us-central1-b europe-west1-d )"

Cloud Shell


This page was generated by GitHub Pages. Page last modified: 22/12/21 20:33