Cloud Run is Google Cloud's serverless container platform. You can deploy any Docker image in any language and it auto-scales for you. Built on Knative, it supports both HTTP-request-driven services and batch jobs. Alongside GKE, it has become a first-choice option for microservices.
| Item | Service | Job |
|---|---|---|
| Trigger | HTTP request / Eventarc / Pub/Sub push | Manual / Cloud Scheduler / Workflows |
| Execution time | Up to 60 minutes per request | Up to 7 days per task |
| Parallelism | Horizontally scales with concurrent requests | Parallel tasks via the parallelism setting |
| Primary use case | Web APIs and microservices | Batch processing, ETL, report generation |
| Item | Price (us-central1, 2026) |
|---|---|
| vCPU time | $0.00002400 per vCPU-second (during request processing) |
| Memory time | $0.00000250 per GiB-second |
| Request count | $0.40 per 1 million requests |
| Free tier | 240,000 vCPU-seconds, 450,000 GiB-seconds, and 2 million requests per month |
| Item | Cloud Run | Cloud Functions (2nd gen) | GKE Autopilot |
|---|---|---|---|
| Base | Container | Container (internally) | Kubernetes |
| Language | Any | Node / Python / Go / Java / .NET / Ruby / PHP | Any |
| Max execution time | 60 minutes (service) | 9 minutes (HTTP) / 60 minutes (event) | Unlimited (pod) |
| Scaling | 0 → 1000 | 0 → 3000 | Adjust pod count |
| Pricing | Pay-per-use | Pay-per-use | Pod time (vCPU/memory) |
| Primary use case | General microservices | Event-driven | Complex orchestration |
Cloud Run (backend) + Cloud SQL (PostgreSQL) + Cloud Storage (images) + IAP / Cloud Armor (security)
Pub/Sub → Cloud Run (push) → writes to Firestore / BigQuery
Cloud Scheduler → Cloud Run job → processes BigQuery / GCS data
Global external HTTPS load balancer + Cloud Run services in multiple regions + Cloud CDN
What is the difference between Cloud Run and Cloud Functions?
Cloud Run is container-based, supports any language, and handles long-running requests (up to 60 minutes). Cloud Functions is source-code based, supports specific languages, and targets short-running workloads. Cloud Functions 2nd gen actually runs on top of Cloud Run internally.
What is the difference between Cloud Run services and jobs?
Services are HTTP request-driven (and can stay always-on). Jobs are batch workloads that run until completion or timeout and then exit. Use Cloud Scheduler to trigger jobs on a schedule.
Should I choose GKE or Cloud Run?
If you want Google to handle container scaling for you, pick Cloud Run. If you need the Kubernetes API, custom workloads, or StatefulSets, pick GKE. Cloud Run is overwhelmingly easier for microservices.
How long is a cold start?
It depends on the base image and the application. Go, Rust, and Node.js typically come in under 100 ms; Java and Python take 1-3 seconds. Setting min instances to 1 eliminates cold starts but incurs always-on cost.
How does pricing work?
You pay for CPU time, memory time, and request count. Billing is request-based (CPU is allocated only during request processing) or always-on. The free tier includes 2 million requests per month.
Can Cloud Run hold state?
Cloud Run is stateless by design. Externalize state to Firestore, Cloud SQL, or Memorystore. Persistent volumes are not supported. Cloud Run Volumes (Cloud Storage mounts) are available in a limited form.
How do you set up authentication?
You can make services public (allUsers) or restrict them via IAM (roles/run.invoker). Putting Cloud Endpoints, API Gateway, or Apigee in front is also common. Service-to-service auth uses a service account plus an ID token.
How do you deploy Cloud Run across regions?
Yes, this is supported. Register Cloud Run services from multiple regions as backends behind a global external HTTPS load balancer, and traffic will route automatically to the closest region.
Related Articles: Compute
App Engine 完全ガイド|Standard vs Flexible・料金・Cloud Run 比較 (GCP)
Google App Engine の Standard と Flexible の違い、料金、Traffic Splitting、Cron、Cloud Run / Cloud Functions との使い分け、AWS Elastic Beanstalk / Azure App Service 比較を徹底解説。
GCP Professional Cloud Developer (PCD) 完全ガイド|Cloud Run・GKE・CI/CD・APM
Google Cloud Professional Cloud Developer の試験範囲、Cloud Run / GKE / Cloud Build / Cloud Trace、AWS DVA / Azure AZ-204 比較、学習ロードマップを徹底解説。
Cloud Scheduler + Cloud Functions/Run で定期バッチ自動化チュートリアル (GCP)
Google Cloud Scheduler と Cloud Functions / Cloud Run Job で定期バッチ自動化。cron 形式、OIDC 認証、リトライ、Dead Letter、Workflows 連携、Cloud Run Job 並列実行を 2026 年最新版で解説。
Cloud Functions (2nd gen) 完全ガイド|1st gen 違い・料金・Lambda 比較 (GCP)
Google Cloud Functions 2nd gen の全機能解説。1st gen 違い、Eventarc 統合、Cloud Run ベース、対応言語、コールドスタート対策、AWS Lambda 比較、無料枠・料金体系を網羅。
Google Cloud and Cloud Run are trademarks of Google LLC. For the latest information, see the official Cloud Run documentation.
Practice with certification-focused question sets
View GCP Exam PrepNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Google Cloud Certification Roadmap (2026)
Choose your GCP certification path — Foundational, Associate...
CDL Cloud Digital Leader: Complete Exam Guide (2026)
Pass the Cloud Digital Leader exam — cloud business value, G...
GAIL Generative AI Leader: Complete Exam Guide (2026)
Pass the Generative AI Leader exam — Gemini, Vertex AI, Work...
Vertex AI Fundamentals for GCP Certs (2026)
Vertex AI basics every cert candidate needs — Workbench, Pip...
Associate Cloud Engineer (ACE): Complete Guide (2026)
Pass the Associate Cloud Engineer exam — Console, gcloud, pr...