Amazon CloudFront Functions vs AWS Lambda@Edge
Compare categories, runtimes, pricing, regions, infrastructure, and platform trade-offs.
Comparison space
Updated
Comparison facts
Platform
Hosting model
Managed
Supported
Managed
Supported
Services
CDN
Supported
CDN
Supported
Edge Functions
Supported
Edge Functions
Supported
Key-Value Store
Supported
Key-Value Store
Not supported
Workloads
Edge Request Processing
Supported
Edge Request Processing
Supported
Capabilities
Compute Autoscaling
Supported
Compute Autoscaling
Supported
Development & Execution
Runtimes
Node.js
Not supported
Node.js
Supported
V8 Isolates
Supported
V8 Isolates
Not supported
Languages
JavaScript
Supported
JavaScript
Supported
Python
Not supported
Python
Supported
TypeScript
Not supported
TypeScript
Supported
Triggers
Edge Events
Supported
Edge Events
Supported
HTTP Requests
Supported
HTTP Requests
Supported
Pricing
Billing basis
Resource based
Resource based
Requests / executions
- CloudFront Functions invocations — $0.10 · per 1 million invocations
- Lambda@Edge requests — $0.60 · per 1 million requests
Compute
Unknown
- Lambda@Edge duration — $0.00000625125 · per 128 MB-second
Free entry / commitment
Recurring free allowances
Lambda@Edge is billed by request and execution duration
Infrastructure & Availability
Execution & locality
- Execution: Edge
- Scope: Global
- Execution: Edge
- Scope: Global
Provider / network
- Amazon Web Services
- Amazon Web Services
Availability footprint
- 750+ PoPs
Unknown
Resource & Execution Limits
CPU / execution time
Submillisecond
30 seconds
Memory
2 MB
128 MB / 10,240 MB
Code / package size
Unknown
50 MB compressed
Security & Compliance
Access & identity
Access Control
AWS IAM for function management
IAM permissions, execution roles, and service-linked roles
Audit Logging
CloudTrail management events and CloudWatch function logs
CloudTrail management events and CloudWatch edge logs
Encryption & secrets
Encryption
Function code, configuration, and key-value data at rest and in transit
Unknown
Network isolation & protection
Network Isolation
Dedicated process and CPU; data cleared between executions
Unknown
Assurances & programs
HIPAA
HIPAA-eligible service
Unknown
SOC Reports
SOC 1, SOC 2, SOC 3
Unknown