Google Cloud Functions vs Google Cloud Run

Compare Service Types, Runtimes, Execution Limits, Compliance, Regions and Alternatives

Features

Google Cloud Functions
Service Types

Functions
Containers

Google Cloud Run
Service Types

Functions
Containers

Google Cloud Functions
Functions Runtimes

.Net Core
.NET Core
C#
Go
Groovy
Java
JavaScript
Kotlin
Node.js
PHP
Python
Ruby
Scala

Google Cloud Run
Functions Runtimes

.Net Core
.NET Core
C#
Go
Groovy
Java
JavaScript
Kotlin
Node.js
PHP
Python
Ruby
Scala

Google Cloud Functions
Container Runtimes

Docker
Docker Private Registry

Google Cloud Run
Container Runtimes

Docker
Docker Private Registry

Google Cloud Functions
Execution Limits and Resource Quotas

Min. Memory
128 MB
Max. Memory
8 GB / 32 GiB
Default Timeout
60 sec
Max. Timeout
9 min / 60 min
Request Payload
10 MB / 32 MB
Response Payload
10 MB / 32 MB

Google Cloud Run
Execution Limits and Resource Quotas

Min. Memory
512MiB
Max. Memory
32GiB
Default Timeout
10min
Max. Timeout
24h
Request Payload
32MiB
Response Payload

Google Cloud Functions
Regional Availability

Deployment Scope
Regional
Regions
NA, LATAM, EU, APAC
Points of Presence
23 / 40

Google Cloud Run
Regional Availability

Deployment Scope
Regional
Regions
Global
Points of Presence
40

Alternatives are matched on service types, programming languages and container support

Compare Features, Languages, Execution Limits and Alternatives

Service Types

Installable Platform
Functions
Containers
Database
PaaS
IaC
Edge Compute
Local Emulator
API as a Service

Functions Runtimes

.Net Core
.NET Core
C#
Go
Groovy
Java
JavaScript
Kotlin
Node.js
PHP
Python
Ruby
Scala

Container Runtimes

Docker
Docker Private Registry
Docker Swarm
Kubernetes
Managed Kubernetes

Execution Limits and Resource Quotas

128 MB
Min. Memory
512MiB
8 GB / 32 GiB
Max. Memory
32GiB
60 sec
Default Timeout
10min
9 min / 60 min
Max. Timeout
24h
10 MB / 32 MB
Request Payload
32MiB
10 MB / 32 MB
Response Payload

Compliance

Certificates

Regional Availability

Regional
Deployment Scope
Regional
NA, LATAM, EU, APAC
Regions
Global
23 / 40
Points of Presence
40

Sustainabilty

Green Energy