Cloud RunBeta

Run stateless HTTP containers on a fully managed environment or in your own GKE cluster.

Bringing serverless to containers

Cloud Run is a managed compute platform that enables you to run stateless containers that are invocable via HTTP requests. Cloud Run is serverless: it abstracts away all infrastructure management, so you can focus on what matters most — building great applications. It is built from Knative, letting you choose to run your containers either fully managed with Cloud Run, or in your Google Kubernetes Engine cluster with Cloud Run on GKE.

Container to production in seconds

Container to production in seconds

Many serverless platforms add constraints around support for languages, libraries, or even restrict the way you code. Cloud Run enables you to write code your way by allowing you to easily deploy any stateless containers that listen for HTTP requests. Containers offer flexibility and portability of workloads. With Cloud Run, you can build great applications in your favorite language, with your favorite dependencies and tools, and deploy them in seconds.

Natively serverless

Natively serverless

Cloud Run enables you to run stateless HTTP workloads without having to worry about servers. It abstracts away all infrastructure management such as provisioning, configuring, and managing servers, so you focus only on writing code. It automatically scales up and down from zero depending on traffic almost instantaneously, so you don't have to worry about scale configuration ever. Cloud Run also charges you only for the resources you use (calculated down to the nearest 100 milliseconds), so you will never have to pay for your over-provisioned resources.

One experience

One experience, where you want it

Deploy your stateless containers with a consistent developer experience to a fully managed environment or to your own GKE cluster. This common experience is enabled by Knative, an open API and runtime environment built on Kubernetes that gives you freedom to move your workloads across different environments and platforms: fully managed on GCP, on GKE, or anywhere Knative runs.

Features

Simple developer experience

A simple command-line and user interface to quickly deploy and manage your services.

Fast autoscaling

Cloud Run automatically scales up or down from zero to N depending on traffic. When running on GKE, the autoscaling is limited within the capacity of your GKE cluster.

Managed

No infrastructure to manage: once deployed, Cloud Run manages your services so you can sleep well.

Any language, any library, any binary

Use the programming language of your choice, any language or operating system libraries, or even bring your own binaries.

Leverage container workflows and standards

Containers have become a standard to package and deploy code and its dependencies. Cloud Run pairs great with the container ecosystem: Cloud Build, Container Registry, Docker.

Redundancy

Cloud Run services are regional, automatically replicated across multiple zones.

Integrated logging and monitoring

Out-of-the-box integration with Stackdriver Monitoring, Logging, and Error Reporting to ensure the health of an application.

Built on Knative

Cloud Run is built on the Knative open-source project, enabling portability of your workloads across platforms.

Custom domains

Map your services to your own domains.

Choose the platform that fits you

Cloud Run gives you the flexibility to run services in Google Cloud or on Google Kubernetes Engine. If you're already using GKE, Cloud Run can deploy into your cluster, allowing access to custom machine types, additional networking support, and GPUs to extend how your Cloud Run services are run. The best part is you can easily change your mind later, switching from Cloud Run to Cloud Run on GKE or vice versa without reimplementing your service.

Cloud Run

Cloud Run on GKE

Pricing Pay-per-use (see below). Available as part of Kubernetes Engine. Pricing will be determined before GA.
Machine types One vCPU per instance with ability to change memory. Standard or custom machine types on GKE, including GPUs.
Identity and Policy Manage the identities that are allowed to invoke each service (or allow unauthenticated invocations). Publish services to the internet or make them available to cluster or VPC network only.
Networking No access to VPC / Compute Engine network. Services are not part of the Istio service mesh. Access to VPC / Compute Engine network. Services participate in the Istio service mesh.
URLs Automatic service URLs and SSL certificates. Custom domains only with manual SSL certificates.

Pricing

For more detailed information on pricing, see our documentation page here.

Cloud Run pricing

Cloud Run charges you only for the resources you use, billed to the nearest 100 milliseconds.

Total Price=
Compute+
$0.00002400 per
vCPU-second
Memory+
$0.00000250 per
GB-Second
Requests+
$0.40 per million
requests
Free tier:
180,000
vCPU-seconds
per month
360,000
GB-seconds
per month
2 million
requests per
month
1 GB platform-wide
egress traffic
per month

Cloud Run on GKE pricing

Cloud Run on GKE is an add-on to Google Kubernetes Engine clusters. Workloads deployed by Cloud Run on GKE are included in your GKE pricing. Final pricing for Cloud Run on GKE will be determined before GA. Google Kubernetes Engine is priced based on provisioned resources for the cluster. You can use the Google Cloud Pricing Calculator to estimate the cost of a Google Kubernetes Engine cluster.

Resources

Explore more helpful resources for Cloud Run and Cloud Run on GKE.

Deploy a container to Cloud Run

Build and deploy a container to Cloud Run using Cloud Build and Container Registry

Deploy a container to Cloud Run on GKE

Google Cloud

Get started

Learn and build

New to GCP? Get started with any GCP product for free with a $300 credit.

Need more help?

Our experts will help you build the right solution or find the right partner for your needs.

This product is in beta. For more information on our product launch stages, see here.