Difference between revisions of "Gcloud"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
<code>[[sudo apt-get update]] && sudo apt-get install google-cloud-sdk</code> | <code>[[sudo apt-get update]] && sudo apt-get install google-cloud-sdk</code> | ||
+ | == Examples == | ||
[[gcloud init]] | [[gcloud init]] | ||
[[gcloud]] compute instances create | [[gcloud]] compute instances create |
Revision as of 19:25, 11 October 2021
Contents
Installation
- MacOS:
brew cask install google-cloud-sdk
- Linux:
sudo apt-get install apt-transport-https ca-certificates gnupg
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt-get update && sudo apt-get install google-cloud-sdk
Examples
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 source repos create gcloud -q source repos delete
gcloud builds submit
gcloud composer environments create
Related
See also
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
- Google Cloud Platform, Google Cloud organizations, Google Cloud projects, Google Cloud SDK,
gcloud, gsutil, bq
, Cloud Build, Google Cloud Operations, Google Cloud free tier, Google App Engine, Cloud Run, BigQuery, Google Secret Manager, Google Cloud Spanner, Looker, Google Cloud Deployment Manager, Google Cloud Shell, console.cloud.google.com/, Google Site Verification API, Anthos, Google Cloud IAM, Vertex AI, Google Cloud Dataflow, Google APIs, Google Cloud Registry, Google cloud role, Cloud Scheduler, Google OS Config Agent, Google Cloud Logs Explorer, Google Cloud error reporting, Google Cloud Platform timeline, GCP KMS, GCP log explorer, GCP machine families, regions, Cost sentry, Cloud Trace, AlloyDB, Cloud TPU, Google Sign-In for server-side apps, Google Cloud Setup - Cloud CLIs: AWS CLI,
eksctl
,sam
,doctl
,gcloud, gsutil
,aliyun
,google-cloud-sdk
,ibmcloud
,cf, heroku
Advertising: