gcloud メモ (チートシート)

gcloud Version 471.0.0

gcloud cheet-sheet

gcloud-python3 % ./google-cloud-sdk/bin/gcloud cheat-sheet


      gcloud iam service-accounts set-iam-policy: Replace existing IAM

        policy binding.

      gcloud iam service-accounts keys list: List a service account's keys.


  Docker & Google Kubernetes Engine (GKE)

    Manage containerized applications on Kubernetes


      gcloud auth configure-docker: Register the gcloud tool as a Docker

        credential helper.

      gcloud container clusters create: Create a cluster to run GKE

        containers.

      gcloud container clusters list: List clusters for running GKE

        containers.

      gcloud container clusters get-credentials: Update kubeconfig to get

        kubectl to use a GKE cluster.

      gcloud container images list-tags: List tag and digest metadata for a

        container image.


  Virtual Machines & Compute Engine

    Create, run, and manage VMs on Google infrastructure


      gcloud compute zones list: List Compute Engine zones.

      gcloud compute instances describe: Display a VM instance's details.

      gcloud compute instances list: List all VM instances in a project.

      gcloud compute disks snapshot: Create snapshot of persistent disks.

      gcloud compute snapshots describe: Display a snapshot's details.

      gcloud compute snapshots delete: Delete a snapshot.

      gcloud compute ssh: Connect to a VM instance by using SSH.


  Serverless & App Engine

    Build highly scalable applications on a fully managed serverless platform


      gcloud app deploy: Deploy your app's code and configuration to the

        App Engine server.

      gcloud app versions list: List all versions of all services deployed

        to the App Engine server.

      gcloud app browse: Open the current app in a web browser.

      gcloud app create: Create an App Engine app within your current

        project.

      gcloud app logs read: Display the latest App Engine app logs.


  Miscellaneous

    Commands that might come in handy


      gcloud kms decrypt: Decrypt ciphertext (to a plaintext file) using a

        Cloud Key Management Service (Cloud KMS) key.

      gcloud logging logs list: List your project's logs.

      gcloud sql backups describe: Display info about a Cloud SQL instance

        backup.

      gcloud sql export sql: Export data from a Cloud SQL instance to a SQL

        file.


EXAMPLES

    To view this cheat sheet, run:

        $ gcloud cheat-sheet

GCLOUD WIDE FLAGS

    These flags are available to all commands: --access-token-file, --account,

    --billing-project, --configuration, --flags-file, --flatten, --format,

    --help, --impersonate-service-account, --log-http, --project, --quiet,

    --trace-token, --user-output-enabled, --verbosity.


    Run $ gcloud help for details.



コメント

このブログの人気の投稿

[OBS] Twitchコメント欄向けCSSカスタマイザー (試作)

『コメ欄』用カスタムCSS - L◯NE風 (ツイキャス) - OBSのブラウザでも使えます。

[ツイキャス配信・閲覧支援ツール] キャスポケットツール: 初期設定

ツイキャスで他の人がサポートしている人って見えますか? (キャスポケットツール)

[OBS] コメントを逆の順番で表示 (ツイキャス/YouTube)

ツイキャス専門 『コメ欄』Lite (ライト)と『コメ欄』✚ (プラス)

キャスポケットツール: 検索の巻 (ツイキャスのユーザー検索とライブ検索)

『コメ欄』✚(プラス): 一般設定画面