Skip to main content
Comparison

AWS Lambda Functions vs Google Cloud Run functions

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

Comparison space

Updated

Comparison facts

Platform

Hosting model
Managed
Supported
Managed
Supported
Services
Functions
Supported
Functions
Supported
Workloads
APIs
Supported
APIs
Supported
Backend Services
Not supported
Backend Services
Supported
Background Workers
Not supported
Background Workers
Supported
Data Processing
Supported
Data Processing
Supported
Scheduled Jobs
Supported
Scheduled Jobs
Supported
Web Applications
Supported
Web Applications
Not supported
Capabilities
Compute Autoscaling
Supported
Compute Autoscaling
Supported
Deployment Rollbacks
Supported
Deployment Rollbacks
Supported
Deployment Traffic Splitting
Supported
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
Docker / OCI
Supported
Docker / OCI
Not supported
Local Emulator
Supported
Local Emulator
Supported
Serverless (Managed Runtime)
Supported
Serverless (Managed Runtime)
Supported
Runtimes
.NET Runtime
Supported
.NET Runtime
Supported
Custom Runtime
Supported
Custom Runtime
Not supported
JVM
Supported
JVM
Supported
Node.js
Supported
Node.js
Supported
Languages
C#
Supported
C#
Supported
Go
Supported
Go
Supported
Java
Supported
Java
Supported
JavaScript
Supported
JavaScript
Supported
PHP
Not supported
PHP
Supported
Python
Supported
Python
Supported
Ruby
Supported
Ruby
Supported
Rust
Supported
Rust
Not supported
TypeScript
Supported
TypeScript
Supported
Triggers
Database Events
Supported
Database Events
Supported
Direct Invocation
Supported
Direct Invocation
Not supported
Event Streams
Supported
Event Streams
Not supported
HTTP Requests
Supported
HTTP Requests
Supported
Publish-Subscribe Topics
Supported
Publish-Subscribe Topics
Supported
Queue Messages
Supported
Queue Messages
Supported
Scheduled Invocation
Supported
Scheduled Invocation
Supported
Storage Events
Supported
Storage Events
Supported

Pricing

Billing basis
Resource based AWS Lambda On-Demand Usage
Resource based Cloud Run Functions First-Generation Usage
Requests / executions
  • Requests — $0.20 · per 1 million requests
  • Invocations — $0.40 · per 1 million invocations
Compute
  • x86 execution duration — $0.0000166667 · per GB-second
  • 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
  • Amazon Web Services
  • Google Cloud Platform
Execution & placement
  • Execution: Single Region
  • Execution: Multi Region
  • Scope: Regional
  • Execution: Single Region
  • Execution: Multi Region
  • Scope: Regional
Availability footprint
  • 38 Regions
  • 43 Regions

Resource & Execution Limits

Execution time
15 minutes Per invocation
60 minutes 2nd gen HTTP function
Memory
128-10,240 MB Per function
32 GiB 2nd gen function
Concurrency
1,000 Default regional account quota
Unknown
Request payload
6 MB request / 6 MB response Per invocation
32 MB 2nd gen HTTP function

Security & Compliance

Access & identity
Access Control
IAM execution roles, identity policies and resource policies
Function-level IAM and authenticated invocation Role differs for 1st gen and Cloud Run-based functions
Audit Logging
AWS CloudTrail management events Some data-event coverage requires configuration
Cloud Audit Logs Management coverage; data-access classes may require configuration
Encryption & secrets
Encryption at Rest
AWS-managed encryption; customer-managed KMS keys supported Coverage depends on Lambda data type
Customer-managed encryption keys Supported build and runtime resources; customer configuration
Secrets Management
AWS Secrets Manager integration Separate AWS service; customer IAM configuration required
Unknown
Network isolation & protection
Private Networking
Customer VPC access Functions still run in a Lambda-managed VPC
VPC Service Controls perimeter and VPC egress Customer organization and network configuration
Assurances & programs
FedRAMP
Class C / Class D East/West / GovCloud respectively
FedRAMP High Authorized service and region/configuration scope
HIPAA
HIPAA eligible Executed AWS BAA and customer controls required
HIPAA-eligible use Google Cloud BAA and customer controls required