Cloudflare Workers vs AWS Lambda Functions
Compare categories, runtimes, pricing, regions, infrastructure, and platform trade-offs.
Comparison space
Updated
Comparison facts
Platform
Hosting model
Managed
Supported
Managed
Supported
Services
Edge Functions
Supported
Edge Functions
Not supported
Functions
Not supported
Functions
Supported
Key-Value Store
Supported
Key-Value Store
Not supported
Managed Databases
Supported
Managed Databases
Not supported
Object Storage
Supported
Object Storage
Not supported
Queues
Supported
Queues
Not supported
Workflows
Supported
Workflows
Not supported
Workloads
AI Inference
Supported
AI Inference
Not supported
APIs
Supported
APIs
Supported
Backend Services
Supported
Backend Services
Not supported
Background Workers
Supported
Background Workers
Not supported
Data Processing
Not supported
Data Processing
Supported
Edge Request Processing
Supported
Edge Request Processing
Not supported
Real-Time Applications
Supported
Real-Time Applications
Not supported
Scheduled Jobs
Supported
Scheduled Jobs
Supported
Static Sites
Supported
Static Sites
Not 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
Supported
Preview Environments
Supported
Preview Environments
Not recorded
Scale to Zero
Not recorded
Scale to Zero
Supported
Development & Execution
Deployment & packaging
Docker / OCI
Not supported
Docker / OCI
Supported
Local Emulator
Supported
Local Emulator
Supported
Serverless (Managed Runtime)
Supported
Serverless (Managed Runtime)
Supported
Runtimes
.NET Runtime
Not supported
.NET Runtime
Supported
Custom Runtime
Not supported
Custom Runtime
Supported
JVM
Not supported
JVM
Supported
Node.js
Not supported
Node.js
Supported
Python Runtime
Supported
Python Runtime
Not supported
V8 Isolates
Supported
V8 Isolates
Not supported
Languages
C
Supported
C
Not supported
C#
Not supported
C#
Supported
C++
Supported
C++
Not supported
Go
Not supported
Go
Supported
Java
Not supported
Java
Supported
JavaScript
Supported
JavaScript
Supported
Python
Supported
Python
Supported
Ruby
Not supported
Ruby
Supported
Rust
Supported
Rust
Supported
TypeScript
Supported
TypeScript
Supported
Triggers
Database Events
Supported
Database Events
Supported
Direct Invocation
Supported
Direct Invocation
Supported
Edge Events
Supported
Edge Events
Not supported
Event Streams
Not supported
Event Streams
Supported
HTTP Requests
Supported
HTTP Requests
Supported
Publish-Subscribe Topics
Not 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
Plan based
Resource based
Requests / executions
- Requests — $0.30 · per additional million requests
- Requests — $0.20 · per 1 million requests
Compute
- CPU time — $0.02 · per additional million CPU milliseconds
- x86 execution duration — $0.0000166667 · per GB-second
Free entry / commitment
Recurring free allowances
Recurring free allowances
Infrastructure & Availability
Infrastructure provider
- Own Network
- Amazon Web Services
Execution & placement
- Execution: Edge
- Scope: Global
- Execution: Single Region
- Execution: Multi Region
- Scope: Regional
Availability footprint
- 348 Locations
- 38 Regions
Resource & Execution Limits
Execution time
Unknown
15 minutes
Memory
128 MB
128-10,240 MB
Concurrency
Unknown
1,000
Request payload
Unknown
6 MB request / 6 MB response
Security & Compliance
Access & identity
Access Control
Workers Platform Admin and read-only roles
IAM execution roles, identity policies and resource policies
Audit Logging
Unknown
AWS CloudTrail management events
Encryption & secrets
Secrets Management
Encrypted Worker secrets and Secrets Store bindings
AWS Secrets Manager integration
Encryption at Rest
Unknown
AWS-managed encryption; customer-managed KMS keys supported
Network isolation & protection
Network Isolation
V8 isolates with process sandbox and trust cordons
Unknown
Private Networking
Unknown
Customer VPC access
Assurances & programs
SOC Reports
SOC 2 Type II
Unknown
PCI DSS
PCI DSS v4.0 Level 1
Unknown
FedRAMP
Unknown
Class C / Class D
HIPAA
Unknown
HIPAA eligible