Skip to main content
All comparisons

Updated

Google Cloud Run vs Heroku

Comparison facts

Platform

Hosting model
Managed
Supported
Managed
Supported
Open source / license
—
Open source / license
—
Services
Compute
Supported
Compute
Supported
Functions
Supported
Functions
Not supported
GPU Compute
Supported
GPU Compute
Not supported
Key-Value Store
Not supported
Key-Value Store
Supported
Managed Databases
Not supported
Managed Databases
Supported
Workloads
AI Inference
Supported
AI Inference
Not supported
APIs
Supported
APIs
Supported
Backend Services
Supported
Backend Services
Supported
Background Workers
Supported
Background Workers
Supported
Data Processing
Supported
Data Processing
Not supported
Real-Time Applications
Not supported
Real-Time Applications
Supported
Scheduled Jobs
Supported
Scheduled Jobs
Supported
Web Applications
Supported
Web Applications
Supported
Capabilities
Compute Autoscaling
Supported
Compute Autoscaling
Supported
Deployment Rollbacks
Supported
Deployment Rollbacks
Supported
Deployment Traffic Splitting
Supported
Deployment Traffic Splitting
Not recorded
Preview Environments
Supported
Preview Environments
Supported
Scale to Zero
Supported
Scale to Zero
Supported
Zero-Downtime Application Deployments
Supported
Zero-Downtime Application Deployments
Supported

Development & Execution

Deployment & packaging
Docker / OCI
Supported
Docker / OCI
Supported
Serverless (Managed Runtime)
Supported
Serverless (Managed Runtime)
Supported
Runtimes
.NET Runtime
Supported
.NET Runtime
Supported
Custom Runtime
Supported
Custom Runtime
Not recorded
Deno
Supported
Deno
Not recorded
JVM
Supported
JVM
Supported
Node.js
Supported
Node.js
Supported
Python Runtime
Not recorded
Python Runtime
Supported
Languages
C#
Supported
C#
Supported
Clojure
Not supported
Clojure
Supported
Go
Supported
Go
Supported
Java
Supported
Java
Supported
JavaScript
Supported
JavaScript
Supported
Kotlin
Supported
Kotlin
Not supported
PHP
Supported
PHP
Supported
Python
Supported
Python
Supported
Ruby
Supported
Ruby
Supported
Rust
Supported
Rust
Not supported
Scala
Not supported
Scala
Supported
TypeScript
Supported
TypeScript
Not supported
Frameworks
Django
Supported
Django
Supported
Express.js
Supported
Express.js
Not supported
FastAPI
Supported
FastAPI
Not supported
Fastify
Supported
Fastify
Not supported
Laravel
Supported
Laravel
Not supported
Next.js
Supported
Next.js
Not supported
Ruby on Rails
Supported
Ruby on Rails
Supported
Spring Boot
Supported
Spring Boot
Supported
SvelteKit
Supported
SvelteKit
Not supported

Pricing

Free entry / commitment
Recurring free allowances
Eco is billed for the full subscription month. Other dyno charges are prorated to the second while provisioned, including idle time. Private Spaces and data services are billed separately. Workers and review apps consume dyno runtime.

Infrastructure & Availability

Infrastructure provider
  • Google Cloud Platform
  • Amazon Web Services
Supported providers
  • Google Cloud Platform
  • Amazon Web Services
Placement control
  • Regional
  • Customer-Selected
  • Regional

Security & Compliance

Access & identity
Access Control
Resource-level IAM and authenticated invocation Cloud Run services/jobs
App-level roles for viewing, deploying, operating and managing
Audit Logging
Cloud Audit Logs Management coverage; data-access classes may require configuration
Unknown
Multi-Factor Authentication (MFA)
Unknown
Mandatory account MFA
Encryption & secrets
Encryption at Rest
Customer-managed encryption key for deployed container image Customer Cloud KMS configuration
Database disk encryption Heroku Postgres plans
Encryption in Transit
Unknown
Managed TLS certificates Application endpoints; configuration restrictions apply
Network isolation & protection
Private Networking
VPC Service Controls perimeter and VPC ingress/egress Customer organization/network configuration
Unknown
Network Isolation
Unknown
Dedicated isolated network Private Spaces; verified Teams or Enterprise
Assurances & programs
FedRAMP
FedRAMP High Authorized service and region/configuration scope
Unknown
HIPAA
HIPAA-eligible use Google Cloud BAA and customer controls required
Unknown

Alternative comparisons

Compare these products with other alternatives.