Skip to content

Serverless container deployment on Google Cloud Run with scaling, traffic splitting, and least-privilege guardrails.

CCM score
40 of 100
skills.sh installs
545
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers building and deploying containers with gcloud CLI commands, plus Terraform configuration for Cloud Run services
  • Includes reference guides for gcloud deployment, a Node.js containerized app, Terraform setup, and Docker build and push
  • Sets CPU, memory, timeout, and min or max instance limits, and gates public access through IAM roles/run.invoker bindings
  • Designed for stateless HTTP workloads such as microservices, APIs, web backends, and background workers

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill gcp-cloud-run -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GCP Cloud Run

Table of Contents

Overview

Google Cloud Run enables deployment of containerized applications at scale without managing infrastructure. Run stateless HTTP containers with automatic scaling from zero to thousands of instances, paying only for compute time consumed.

When to Use

  • Microservices and APIs
  • Web applications and backends
  • Batch processing jobs
  • Long-running background workers
  • CI/CD pipeline integration
  • Data processing pipelines
  • WebSocket applications
  • Multi-language services

Quick Start

Minimal working example:

# Build container image
gcloud builds submit --tag gcr.io/MY_PROJECT_ID/my-app:latest

# Deploy to Cloud Run
gcloud run deploy my-app \
  --image gcr.io/MY_PROJECT_ID/my-app:latest \
  --platform managed \
  --region us-central1 \
  --memory 512Mi \
  --cpu 1 \
  --timeout 3600 \
  --max-instances 100 \
  --min-instances 1 \
  --no-allow-unauthenticated \
  --set-env-vars NODE_ENV=production,DATABASE_URL=postgresql://...

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
DevOps & Cloud, Backend & APIs
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258

Similar to Gcp Cloud Run

More DevOps & Cloud