Editing Gcloud

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
 
  
== Installation ==
+
brew cask install google-cloud-sdk
* MacOS: <code>[[brew install --cask google-cloud-sdk]]</code>
 
* Ubuntu <ref>https://cloud.google.com/sdk/docs/install#deb</ref>:
 
<code>[[sudo apt-get install -y]] [[sudo]] [[curl]]</code>
 
<code>[[sudo apt-get install -y]] [[apt-transport-https]] [[ca-certificates]] [[gnupg]]</code>
 
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo [[gpg --dearmor]] -o [[/usr/share/keyrings/]]cloud.google.gpg
 
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a [[/etc/apt/sources.list.d/google-cloud-sdk.list]]
 
<code>[[sudo apt-get update]] && sudo [[apt-get install -y google-cloud-sdk]]</code>
 
 
 
== Examples ==
 
 
  [[gcloud init]]
 
  [[gcloud init]]
 
  [[gcloud]] compute instances create
 
  [[gcloud]] compute instances create
[[gcloud config list]]
+
[[gcloud config list]]
{{Gcloud auth TOC}}
 
[[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]]
 
[[gcloud source]]
 
[[gcloud source repos create]]
 
[[gcloud -q source repos]] delete
 
[[gcloud compute]]
 
[[gcloud iam]]
 
[[gcloud monitoring]]
 
  
* <code>[[gcloud projects get-iam-policy]]</code>
+
== See also ==
 +
* {{GCP}}
 +
* {{Cloud CLIs}}
  
 
<code>[[gcloud builds submit]]</code>
 
 
<code>[[gcloud composer environments create]]</code>
 
 
[[gcloud container clusters list]]
 
[[gcloud container clusters create]]
 
 
== Related ==
 
* [[Google Cloud SDK]]
 
* <code>[[gcloud --help]]</code>
 
* <code>[[anthoscli]]</code>
 
* <code>[[gsutil]]</code>
 
* <code>[[gcloud beta]]</code>
 
* <code>[[2]]>[[&1]]</code> to redirect [[stderr]] output to [[stdout]]
 
 
== Activities ==
 
* https://stackoverflow.com/questions/tagged/gcloud?tab=Votes
 
 
== See also ==
 
* {{gcloud beta}}
 
* {{gcloud}}
 
  
 
[[Category:Google Cloud]]
 
[[Category:Google Cloud]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: