Cloud Run
发布时间:2026-09-02 | 浏览:1
Google is a Leader in the 2026 Gartner® Magic Quadrant™ for Cloud-Native Application Platforms. Download your complimentary copy to learn more.
Build apps or websites quickly on a fully managed platform
Run frontend and backend services, batch jobs, host LLMs, and queue processing workloads without the need to manage infrastructure.
Get two million requests free per month.
Product highlights
The flexibility of containers with the simplicity of serverless
The flexibility of containers with the simplicity of serverless
Start with source code and run your app in 20+ regions at once
Start with source code and run your app in 20+ regions at once
Only pay when your code is running
Only pay when your code is running
Deploy and build web apps and websites
Deploy and build web apps and websites
What is Cloud Run? 1:58
What is Cloud Run?
Any language, any library, any binary
You can write code using your favorite language, framework, and libraries, package it up as a container, run "gcloud run deploy," and your app will be live—provided with everything it needs to run in production. Building a container is completely optional. If you're using Go, Node.js, Python, Java, .NET Core, or Ruby, you can use the source-based deployment option that builds the container for you, using the best practices for the language you're using.
Fast autoscaling
Whether you own event-driven, long running services, or deploy containerized jobs to process data, Cloud Run automatically scales your containers up and down from zero—this means you only pay when your code is running.
On-demand access to NVIDIA L4 GPUs for running AI inference workloads. GPU instances start in 5 seconds and scale to zero.
Cloud Run functions
Write and deploy functions directly with Cloud Run, giving you complete control over the underlying service configuration.
Automatically build container images from your source
Cloud Run can also automate how you get to production, using buildpacks to enable you to deploy directly from source—without having to install Docker on your machine. You can automate your builds and deploy your code whenever new commits are pushed to a given branch of a Git repository.
Run scheduled jobs to completion
Cloud Run jobs allow you to perform batch processing, with instances running in parallel. Execute run-to-completion jobs that do not respond to HTTP requests—all on a serverless platform. Let your jobs run for up to 24 hours.
Direct VPC connectivity
Send traffic to a VPC network directly and connect with all the services you have running on the VPC.
Cloud Run is a fully managed platform that enables you to run your code directly on top of Google’s scalable infrastructure. Cloud Run is simple, automated, and designed to make you more productive.
Cloud Run is a fully managed platform that enables you to run your code directly on top of Google’s scalable infrastructure. Cloud Run is simple, automated, and designed to make you more productive.
Websites and web applications
Deploy and host a website with Cloud Run
Build your web app using your favorite stack, access your SQL database, and render dynamic HTML pages. Cloud Run also gives you the ability to scale to zero when there are no requests coming to your website.
In this codelab, you'll begin with a Docker image created via Cloud Build, which you trigger in Cloud Shell. Then, you'll deploy that image to Cloud Run with a command in Cloud Shell.
Build and deploy a Python service to Cloud Run
Build and deploy a Python service to Cloud Run
Build and deploy a Node.js service to Cloud Run
Build and deploy a Node.js service to Cloud Run
View full list of supported languages for web services
View full list of supported languages for web services
Tutorials, quickstarts, & labs
Deploy and host a website with Cloud Run
Build your web app using your favorite stack, access your SQL database, and render dynamic HTML pages. Cloud Run also gives you the ability to scale to zero when there are no requests coming to your website.
In this codelab, you'll begin with a Docker image created via Cloud Build, which you trigger in Cloud Shell. Then, you'll deploy that image to Cloud Run with a command in Cloud Shell.
Build and deploy a Python service to Cloud Run
Build and deploy a Python service to Cloud Run
Build and deploy a Node.js service to Cloud Run
Build and deploy a Node.js service to Cloud Run
View full list of supported languages for web services
View full list of supported languages for web services
AI inference workloads
Host LLMs with Cloud Run GPUs
Perform real-time AI inferencing using LLMs of your choice on Cloud Run, including Llama 3.1, Mistral, and Gemma 2. Also ideal for compute-intensive applications, such as image recognition, video transcoding, and streaming.
Best practices: AI inference on Cloud Run with GPUs
Best practices: AI inference on Cloud Run with GPUs
Learn more about GPUs on Google Cloud
Learn more about GPUs on Google Cloud
Sign up for Cloud Run with GPUs
Sign up for Cloud Run with GPUs
Tutorials, quickstarts, & labs
Host LLMs with Cloud Run GPUs
Perform real-time AI inferencing using LLMs of your choice on Cloud Run, including Llama 3.1, Mistral, and Gemma 2. Also ideal for compute-intensive applications, such as image recognition, video transcoding, and streaming.
Best practices: AI inference on Cloud Run with GPUs
Best practices: AI inference on Cloud Run with GPUs
Learn more about GPUs on Google Cloud
Learn more about GPUs on Google Cloud
Sign up for Cloud Run with GPUs
Sign up for Cloud Run with GPUs
AI agents leverage advanced AI models and tools to act on behalf of users, under their control. These agents can be implemented as Cloud Run services to manage asynchronous tasks and facilitate user interaction through multiple request-response cycles.
Learn how to build AI Agents on Cloud Run
Learn how to build AI Agents on Cloud Run
CodeLab: Learn how to build and deploy a LangChain app on Cloud Run
CodeLab: Learn how to build and deploy a LangChain app on Cloud Run
Enable MCP-compatible AI agents to deploy apps to Cloud Run
Enable MCP-compatible AI agents to deploy apps to Cloud Run
Tutorials, quickstarts, & labs
AI agents leverage advanced AI models and tools to act on behalf of users, under their control. These agents can be implemented as Cloud Run services to manage asynchronous tasks and facilitate user interaction through multiple request-response cycles.
Learn how to build AI Agents on Cloud Run
Learn how to build AI Agents on Cloud Run
CodeLab: Learn how to build and deploy a LangChain app on Cloud Run
CodeLab: Learn how to build and deploy a LangChain app on Cloud Run
Enable MCP-compatible AI agents to deploy apps to Cloud Run
Enable MCP-compatible AI agents to deploy apps to Cloud Run
APIs and microservices
You can build a REST API, GraphQL API, or private microservices that communicate over HTTP or gRPC.
Serve traffic from multiple regions
Serve traffic from multiple regions
Using WebSockets
Using WebSockets
Tutorials, quickstarts, & labs
You can build a REST API, GraphQL API, or private microservices that communicate over HTTP or gRPC.
Serve traffic from multiple regions
Serve traffic from multiple regions
Using WebSockets
Using WebSockets
Streaming data processing
Cloud Run services can receive messages from Pub/Sub push subscriptions and events from Eventarc.
Tutorials, quickstarts, & labs
Cloud Run services can receive messages from Pub/Sub push subscriptions and events from Eventarc.
Batch data processing
Run scripts, cron jobs, or parallelized data processing workloads. Great for long running jobs or jobs where time to completion matters.
Tutorials, quickstarts, & labs
Run scripts, cron jobs, or parallelized data processing workloads. Great for long running jobs or jobs where time to completion matters.
$0.00001800 / vCPU-second
First 240,000 vCPU-seconds free per month
$0.00000200 / GiB-second
First 450,000 GiB-seconds free per month
View pricing details
Lower continuous use of Cloud Run by purchasing flexible committed use discounts .
How Cloud Run pricing works
Pay-per-use, with an always free tier, rounded up to the nearest 100 millisecond. If you don't use it, you don't pay for it.
$0.00001800 / vCPU-second
First 240,000 vCPU-seconds free per month
$0.00000200 / GiB-second
First 450,000 GiB-seconds free per month
View pricing details
Lower continuous use of Cloud Run by purchasing flexible committed use discounts .
PRICING CALCULATOR
Start your proof of concept
New customers get $300 in free credits to try Cloud Run and other Google Cloud products
Have a large project?
Deploy a sample container
Simple integrations
Migrate to Cloud Run
Explore how other businesses cut costs, increase ROI, and drive innovation with Cloud Run
Explore how other businesses cut costs, increase ROI, and drive innovation with Cloud Run
Telegraph Media Group: Sees 90% reduction in costs and carbon emissions with Cloud Run
Moving from microservices architecture to serverless architecture helped us to understand the real usage and needs of those services and those resources.
Related content
Replit: From idea to application in minutes
Replit: From idea to application in minutes
Birdie.ai: GenAI to transform feedback into actionable insights
Birdie.ai: GenAI to transform feedback into actionable insights
VEED: Transforming video creation with AI
VEED: Transforming video creation with AI
Featured customers
Partners & Integration
See all partners
Other resources and support
Can you deploy and host a website with Cloud Run?
With Cloud Run, you can manage and deploy your website without any of the overhead that you need for VM- or Kubernetes-based deployments. Not only is that a simpler approach from a management perspective, but it also gives you the ability to scale to zero when there are no requests coming to your website.
Deploy and host a website with Cloud Run
What's the difference between Cloud Run and App Engine?
Cloud Run is designed to improve upon the App Engine experience, incorporating many of the best features of both App Engine standard environment and App Engine flexible environment. Cloud Run services can handle the same workloads as App Engine services, including deploying and hosting websites, but Cloud Run offers customers much more flexibility in implementing these services.
Compare App Engine and Cloud Run