Difference between revisions of "Gcloud"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  [[gcloud auth list]]
 
  [[gcloud auth list]]
 
  [[gcloud compute images list]]
 
  [[gcloud compute images list]]
 
+
[[gcloud compute instances create]] VM_NAME \
 +
    [--image=IMAGE | --image-family=IMAGE_FAMILY] \
 +
    --image-project=IMAGE_PROJECT
 +
    --machine-type=MACHINE_TYPE
  
 
  gcloud projects get-iam-policy
 
  gcloud projects get-iam-policy

Revision as of 14:53, 29 April 2021

brew cask install google-cloud-sdk
gcloud init
gcloud compute instances create
gcloud config list
gcloud auth list
gcloud compute images list
gcloud compute instances create VM_NAME \
   [--image=IMAGE | --image-family=IMAGE_FAMILY] \
   --image-project=IMAGE_PROJECT
   --machine-type=MACHINE_TYPE
gcloud projects get-iam-policy

See also

Advertising: