gcp-cloud-run

Installation
Summary

Production-ready serverless applications on GCP Cloud Run with containerized services and event-driven functions.

  • Covers Cloud Run Services (containerized web apps and APIs) and Cloud Run Functions (HTTP, Pub/Sub, and Cloud Storage event handlers)
  • Includes cold start optimization techniques: startup CPU boost, minimum instances, distroless images, lazy dependency loading, and memory tuning
  • Provides multi-stage Docker builds, graceful shutdown patterns, and Cloud Build deployment pipelines
  • Documents anti-patterns and sharp edges including /tmp memory limits, concurrency configuration, and CPU throttling during idle periods
SKILL.md

GCP Cloud Run

Specialized skill for building production-ready serverless applications on GCP. Covers Cloud Run services (containerized), Cloud Run Functions (event-driven), cold start optimization, and event-driven architecture with Pub/Sub.

Principles

  • Cloud Run for containers, Functions for simple event handlers
  • Optimize for cold starts with startup CPU boost and min instances
  • Set concurrency based on workload (start with 8, adjust)
  • Memory includes /tmp filesystem - plan accordingly
  • Use VPC Connector only when needed (adds latency)
  • Containers should start fast and be stateless
  • Handle signals gracefully for clean shutdown

Patterns

Cloud Run Service Pattern

Related skills
Installs
1.0K
GitHub Stars
37.3K
First Seen
Jan 19, 2026