Google cloud sdk

From 탱이의 잡동사니
Revision as of 10:05, 6 December 2018 by Pchero (talk | contribs) (→‎compute)
Jump to navigation Jump to search

Overview

google cloud sdk 내용 정리

Install

google cloud sdk Downlaod

gcloud wide flags

gcloud 전역에서 사용되는 flag 정리.

--account

Google cloud platform user account to use for invocation. Overrides the default core/account property value for this command invocation.

--account=ACCOUNT

--project

The google cloud platform project name to use for this invocation. If omitted, then the current project is assumed; the current project can be listed using `gcloud config list --format='text(core.project)'` and can be set using `gcloud config set project PROJECTID`. Overrides the default core/project property value for this command invocation.

--project=PROJECT_ID

compute

compute instances

Read and manipulate Google Compute Engine virtual machine instances

gcloud compute instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]

list

List google compute engine instances

gcloud compute instances GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]


$ gcloud compute instances list