Google Cloud

Manage Google Cloud resources via gcloud CLI. Compute, storage, and cloud functions.

modbender Updated 12 repo stars

File contents

Google Cloud Platform

Cloud infrastructure and services.

Auth

gcloud auth login
gcloud config set project PROJECT_ID

Compute Engine

gcloud compute instances list
gcloud compute instances create vm-name --zone=us-central1-a --machine-type=e2-micro
gcloud compute instances stop vm-name --zone=us-central1-a

Cloud Functions

gcloud functions list
gcloud functions deploy myFunction --runtime nodejs18 --trigger-http --allow-unauthenticated
gcloud functions call myFunction --data '{"name": "test"}'

Cloud Storage

gsutil ls gs://bucket-name/
gsutil cp file.txt gs://bucket-name/
gsutil cp gs://bucket-name/file.txt ./

Cloud Run

gcloud run services list
gcloud run deploy service-name --image gcr.io/project/image --platform managed

Links

modbender/skill-library-mcp/tree/main/data/google-cloud commit 398adbbcf0

Frequently asked questions

npx skillmds@latest add modbender/google-cloud-2