Quotas and Limits

This page contains usage quota and limits that apply when using Cloud Run.

The number of Cloud Run resources is limited. Quotas for Cloud Run encompass API rate limits, which affect the rate at which you can call the Cloud Run Admin API.

There is no direct limit for:

  • The size of container images you can deploy.
  • The number of concurrent requests served by a Cloud Run service.

Resource limits for Cloud Run

Resource Description Limit Can be increased Scope
Service Maximum number of services 1000 No per region
Revision Maximum number of revisions. When limit is reached, non-serving revisions are automatically deleted in historical order 1000 No per service
Revision Maximum number of revisions serving traffic 1000 No per region
Revision tag Maximum number of revision tags 1000 No per region
Container instance Maximum number of container instances 1000 Yes per service
Container instance Maximum container startup time, in minutes 4 No per container instance
Memory Maximum memory size, in GB 8 No per container instance
CPU Maximum number of vCPU 4 No per container instance
Disk Maximum writable, in-memory filesystem, limited by instance memory, in GB 8 No per container instance
Environment variable Maximum variable length, in Kb 32 No per variable
Request Maximum number of concurrent requests 1000 No per container instance
Request Maximum number of concurrent streams 100 No per HTTP/2 client connection
Request Maximum time before timeout, in minutes 60 No per request
Request Maximum HTTP/1 request size, in MB 32 if using HTTP/1 server. No limit if using HTTP/2 server. No per request
Response Maximum HTTP/1 response size when using non-streaming mechanisms, in MB 32 No per response
Domain mapping Maximum number of SSL certificates 50 No per top domain and per week
Domain mapping Maximum number of duplicate SSL certificates 5 No per top domain and per week
Access token Maximum number of unique access token generated 50 No per container instance per second
Identity token Maximum number of unique identity token generated 50 No per container instance per second

Cloud Run Admin API rate Limits

The following rate limits apply to the Cloud Run Admin API. They do not apply to the requests reaching your deployed Cloud Run services.

Quota Description Limit Increasable? Scope
Cloud Run Admin API read requests The number of API reads per 60 seconds per project. This is not the number of read requests to your Cloud Run services, which is not limited. 1,200 per 60 seconds Yes Global
Cloud Run Admin API write requests The number of API writes per 60 seconds per project. This is not the number of write requests to your Cloud Run services, which is not limited. 60 per 60 seconds Yes Global

How to increase quota

To increase quotas above the defaults listed on this page:

  1. Go to the Cloud Run Quotas page.

  2. Select the quota(s) you want to modify and click EDIT QUOTAS.

  3. If prompted, provide your user information, and enter the new quota limit for each quota you selected.

Eventarc quotas and rate limits

The following usage quotas and limits apply to Eventarc when used with Cloud Run.

Eventarc uses Pub/Sub push subscriptions which are subject to throughput limits per publish region.

Resource limits

The number of Eventarc resources is limited for a given project. There is no direct limit on the size of the Eventarc API request.

Resource Description Limit Can be increased Scope
Trigger Maximum number of triggers 500 No Per location
Event Event size 512KB No N/A

Quota rate limits

Quota Description Limit Can be increased Scope
Trigger read requests The number of Eventarc Trigger API reads per minute per project 6000 Yes Per project
Trigger write requests The number of Eventarc Trigger API writes per minute per project 600 Yes. The global location has a write limit of 10 QPS. Per project

How to increase quota

To increase quotas above the defaults listed on this page:

  1. Go to the Eventarc Quotas page.

  2. Select the quota(s) you want to modify and click EDIT QUOTAS.

  3. If prompted, provide your user information, and enter the new quota limit for each quota you selected.