Cloud Run's built-in OIDC identity tokens simplify service-to-service auth, but audience validation, IAM condition limits, and local dev gaps require deliberate design. A worked example shows least-privilege bindings and the metadata server call pattern.
Min instances on Cloud Run eliminate cold starts by keeping containers warm, but this trades latency risk for continuous operational cost. Sizing must target sustained baseline RPS, not just average traffic.
Cloud Run request concurrency and CPU allocation control where queueing happens and whether idle instances can run background work. Here is how to reason about the trade-offs and run a load-test matrix that points to the right setting.
Cloud Run caps each HTTP request at 60 minutes. Learn how to set the timeout with gcloud, why the limit exists, and how to avoid cost and reliability mistakes with long-running requests.
Learn how to add a Redis cache to a Cloud Run service, reduce DB load, and measure hit ratios. Includes example, trade-offs, and a verification checklist.
Decide between Cloud Run’s CPU options—none, 1, or 2—to balance cost and latency. Use a concise decision table, update with gcloud, and validate with Cloud Monitoring and billing.
Connect a Cloud Run service to a private Cloud SQL instance using a Serverless VPC Access connector and the Cloud SQL Auth Proxy. Learn the minimal architecture, trust boundaries, operational checks, failure modes, and triggers for redesign.
Learn how to choose between request-based and always-allocated CPU in Cloud Run to balance cold start latency, background processing needs, and operational costs.
Cloud Run's default concurrency of 80 is often wrong. Learn how to set --concurrency based on CPU profile, framework threading, and connection type, with a worked gcloud deployment and verification steps.