Skip to main content
Comparison

DigitalOcean Functions vs Google Cloud Run functions

Compare categories, runtimes, pricing, regions, infrastructure, and platform trade-offs.

Comparison space

Updated

Comparison facts

Platform

Delivery
Managed
Supported
Managed
Supported
Services
Functions
Supported
Functions
Supported
Workloads
APIs
Supported
APIs
Supported
Backend Services
Supported
Backend Services
Supported
Background Workers
Supported
Background Workers
Supported
Data Processing
Not supported
Data Processing
Supported
Scheduled Jobs
Supported
Scheduled Jobs
Supported
Capabilities
Compute Autoscaling
Supported
Compute Autoscaling
Supported
Deployment Rollbacks
Not recorded
Deployment Rollbacks
Supported
Deployment Traffic Splitting
Not recorded
Deployment Traffic Splitting
Supported
Preview Environments
Not recorded
Preview Environments
Supported
Scale to Zero
Supported
Scale to Zero
Supported
Zero-Downtime Application Deployments
Not recorded
Zero-Downtime Application Deployments
Supported

Development & Execution

Deployment & packaging
Local Emulator
Supported
Local Emulator
Supported
Serverless (Managed Runtime)
Supported
Serverless (Managed Runtime)
Supported
Runtimes
.NET Runtime
Not supported
.NET Runtime
Supported
JVM
Not supported
JVM
Supported
Node.js
Supported
Node.js
Supported
Languages
C#
Not supported
C#
Supported
Go
Supported
Go
Supported
Java
Not supported
Java
Supported
JavaScript
Supported
JavaScript
Supported
PHP
Supported
PHP
Supported
Python
Supported
Python
Supported
Ruby
Not supported
Ruby
Supported
TypeScript
Supported
TypeScript
Supported
Triggers
Database Events
Not supported
Database Events
Supported
Direct Invocation
Supported
Direct Invocation
Not supported
HTTP Requests
Supported
HTTP Requests
Supported
Publish-Subscribe Topics
Not supported
Publish-Subscribe Topics
Supported
Queue Messages
Not supported
Queue Messages
Supported
Scheduled Invocation
Supported
Scheduled Invocation
Supported
Storage Events
Not supported
Storage Events
Supported

Pricing

Billing basis
Resource based DigitalOcean Functions Usage
Resource based Cloud Run Functions First-Generation Usage
Requests / executions
Unknown
  • Invocations — $0.40 · per 1 million invocations
Compute
  • Compute — $0.0000185 · per GiB-second beyond the monthly allowance
  • Memory time — $0.0000025 · per GB-second
  • CPU time — $0.0000100 · per GHz-second
Free entry / commitment
Recurring free allowances
Recurring free allowances

Infrastructure & Availability

Infrastructure provider
  • DigitalOcean
  • Google Cloud Platform
Execution & placement
  • Execution: Single Region
  • Scope: Regional
  • Execution: Single Region
  • Execution: Multi Region
  • Scope: Regional
Availability footprint
Unknown
  • 43 Regions

Resource & Execution Limits

Execution time
15 minutes Per invocation
60 minutes 2nd gen HTTP function
Memory
128 MB-1 GB 256 MB default
32 GiB 2nd gen function
Concurrency
120 Per namespace
Unknown
Request payload
1 MB input / 1 MB result Per invocation
32 MB 2nd gen HTTP function

Security & Compliance

Access & identity
Access Control
Revocable namespace access keys and authenticated web functions Functions namespaces
Function-level IAM and authenticated invocation Role differs for 1st gen and Cloud Run-based functions
Audit Logging
Unknown
Cloud Audit Logs Management coverage; data-access classes may require configuration
Encryption & secrets
Encryption at Rest
Function code and sensitive parameters DigitalOcean-managed storage
Customer-managed encryption keys Supported build and runtime resources; customer configuration
Encryption in Transit
HTTPS/TLS function endpoints DigitalOcean Functions
Unknown
Network isolation & protection
Network Isolation
Dedicated networking and compute safeguards Functions managed service
Unknown
Private Networking
Unknown
VPC Service Controls perimeter and VPC egress Customer organization and network configuration
Assurances & programs
SOC Reports
SOC 2 Type II DigitalOcean Functions
Unknown
FedRAMP
Unknown
FedRAMP High Authorized service and region/configuration scope
HIPAA
Unknown
HIPAA-eligible use Google Cloud BAA and customer controls required