Send feedback
Configure Cloud Run in Application Design Center
Stay organized with collections
Save and categorize content based on your preferences.
Preview
This product is subject to the "Pre-GA Offerings Terms" in the General Service Terms section
of the Service Specific Terms .
Pre-GA products are available "as is" and might have limited support.
For more information, see the
launch stage descriptions .
Cloud Run is a managed compute platform that lets you run containers
directly on top of Google's scalable infrastructure.
For more information, see Cloud Run overview .
This document describes the parameters you can configure when using
App Design Center to create a Cloud Run service.
Required configuration parameters
If your template includes a Cloud Run component, you must configure the
following parameters before you deploy.
Optional configuration parameters
The following parameters are optional. To display advanced parameters, in the
Configuration area, select Show advanced fields .
Feature
Subfeature
Parameter name
Description and constraint information
Background information
Containers
Container Name
name
Building containers
Container Image
image
Deploying container images to Cloud Run
Working Dir
The container's working directory. If not specified, the container runtime's default is used, which might be configured in the container image.
workingDir
Depends on Container
dependsOn[]
Configure container start order for sidecar deployments
Container Args
args[]
Configure containers for services
Container Command
command
Configure containers for services
Env Vars
Key
name
Environment variables for services
Value
value
Environment variables for services
Env Secret Vars
Key
EnvVarSource
Manage secrets
Secret
secret
Manage secrets
Version
version
Manage secrets
Volume Mounts
Name
name
Connect from Cloud Run
Mount Path
mountPath
Connect from Cloud Run
Ports
Name
name
Use HTTP/2 for services
Container Port
containerPort
Use HTTP/2 for services
Resources
CPU
limits
Configure CPU limits for services
Memory
limits
Configure memory limits for services
CPU Idle
Whether CPU is only allocated during requests.
cpuIdle
Startup CPU Boost
startupCPUBoost
Set startup CPU boost
Startup Probe
Failure Threshold
failureThreshold
Configure container health checks for services
Initial Delay Seconds
initialDelaySeconds
Configure probes
Timeout Seconds
timeoutSeconds
Configure probes
Period Seconds
periodSeconds
Configure probes
HTTP Get Path
path
Configure probes
HTTP Get Port
port
Configure probes
HTTP Headers Name
name
Configure probes
HTTP Headers Value
value
Configure probes
TCP Socket Port
port
The default TCP startup probe
GRPC Port
port
Configure probes
GRPC Service
service
Configure probes
Liveness Probe
livenessProbe
Use cases
Description
description
Set service descriptions
Create Service Account
Create a new service account for the Cloud Run service.
Configure service identity for jobs
Service Account Project Roles
Roles to grant to the newly created service account. Enable Create Service Account and don't provide input for Service Account .
Configure service identity for jobs
Members
Users and service accounts that can invoke the service.
Configure service identity for jobs
VPC Access
Connector
connector
VPC with connectors
Egress
egress
Control egress service traffic
Network Interfaces
Network
network
Deploy a service
Subnetwork
subnetwork
Deploy a service
Tags
tags
Deploy a service
Cloud Run Deletion Protection
Prevents Terraform from destroying or recreating Cloud Run jobs and services.
deletion_protection
Enable Prometheus Sidecar
Enable Promethus sidecar in the Cloud Run instance.
Write Prometheus metrics by using the Prometheus sidecar
Volumes
Name
name
Configure an in-memory volume
Secret
Secret
secret
Make a secret accessible to Cloud Run
Default Mode
defaultMode
Path
path
Make a secret available to Cloud Run
Version
version
Make a secret available to Cloud Run
Mode
mode
Make a secret available to Cloud Run
Cloud SQL Instance
Instances
instances[]
Connect from Cloud Run
Empty Dir
Medium
medium
Configure in-memory volume mounts for services
Size Limit
sizeLimit
Configure in-memory volume mounts for services
GCS
Bucket
bucket
Configure Cloud Storage volume mounts for services
Read Only
readOnly
Configure Cloud Storage volume mounts for services
NFS
Server
server
Configure NFS volume mounts for services
Path
path
Configure NFS volume mounts for services
Read Only
readOnly
Configure NFS volume mounts for services
Service Scaling
Min Instance Count
minInstanceCount
Set minimum instances for services
Ingress
IngressTraffic
Restrict network ingress for Cloud Run
Revision
revision
Cloud Run service revisions
Template Scaling
Min Instance Count
minInstanceCount
Set minimum instances for services
Max Instance Count
maxInstanceCount
About maximum instances
Encryption Key
encryptionKey
Using customer managed encryption keys
Max Instance Request Concurrency
maxInstanceRequestConcurrency
Maximum concurrent requests for services
Session Affinity
sessionAffinity
Set session affinity for services
Execution Environment
executionEnvironment
About service execution environments
Traffic
Type
type
Rollbacks, gradual rollouts, and traffic migration
Percent
percent
Rollbacks, gradual rollouts, and traffic migration
Revision
revision
Rollbacks, gradual rollouts, and traffic migration
Tag
tag
Rollbacks, gradual rollouts, and traffic migration
Service Labels
Key
labels
Configure labels for services
Value
labels
Configure labels for services
Service Annotations
Key
annotations
annotations
Value
annotations
annotations
Client
Name
Arbitrary identifier for the API client.
client
Version
Arbitrary identifier for the version identifier.
clientVersion
Launch Stage
LaunchStage
Product launch stages
Custom Audiences
customAudience
Set custom audiences for services
Binary Authorization
Breakglass Justification
breakglassJustification
Use breakglass
Use Default
useDefault
Use Binary Authorization
Template Labels
Key
labels
Configuring labels for services
Value
labels
Configuring labels for services
Template Annotations
Key
annotations
annotations
Value
annotations
annotations
Timeout
timeout
Set request timeout for services
Service Account
serviceAccount
Configure service identity for services
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-12 UTC."],[[["Cloud Run is a managed platform for running containers directly on Google's infrastructure."],["Pre-General Availability (Pre-GA) products, like Cloud Run, are offered \"as is\" and may have limited support."],["Deploying a Cloud Run component requires configuring parameters such as Project ID, Region, and Service Name within the App Hub service project."],["There are many optional configuration parameters for Cloud Run, including Container details, Environment Variables, Volumes, Ports, Resource management, and Startup Probes, among others, allowing for detailed customization."],["Advanced settings include VPC Access, Network Interfaces, Service Scaling, Traffic management, Security, and Template settings, enabling extensive control over Cloud Run services."]]],[]]