(opens in a new window)

AWS Lambda@Edge vs Amazon Cloudfront Functions

Compare Service Types, Runtimes, Execution Limits, Compliance, Regions and Alternatives

Features

AWS Lambda@Edge
Service Types

Functions
Edge Compute

Amazon Cloudfront Functions
Service Types

Functions
Edge Compute

AWS Lambda@Edge
Supported Runtimes

JavaScript
Node.js
Python

Amazon Cloudfront Functions
Supported Runtimes

JavaScript
Node.js
Python

AWS Lambda@Edge
Execution Limits and Resource Quotas

Min. Memory
128 MB
Max. Memory
10 GB
Default Timeout
5 sec
Max. Timeout
30 sec
Request Payload
6 MB
Response Payload
6 MB

Amazon Cloudfront Functions
Execution Limits and Resource Quotas

Min. Memory
2 MB
Max. Memory
2 MB
Default Timeout
Max. Timeout
~1 ms
Request Payload
10 KB
Response Payload
10 KB

AWS Lambda@Edge
Regional Availability

Deployment Scope
Global
Regions
N/A
Points of Presence
600+

Amazon Cloudfront Functions
Regional Availability

Deployment Scope
Global
Regions
13
Points of Presence
600+

Alternatives are matched on service types, programming languages and container support

Compare Features, Languages, Execution Limits and Alternatives

Service Types

Installable Platform
Functions
Containers
Database
PaaS
IaC
Edge Compute
Local Emulator
API as a Service

Supported Containers

Docker
Docker Private Registry
Docker Swarm
Kubernetes
Managed Kubernetes

Supported Runtimes

JavaScript
Node.js
Python

Supported Frameworks

Supported Frameworks

Execution Limits and Resource Quotas

128 MB
Min. Memory
2 MB
10 GB
Max. Memory
2 MB
5 sec
Default Timeout
30 sec
Max. Timeout
~1 ms
6 MB
Request Payload
10 KB
6 MB
Response Payload
10 KB

Compliance

Certificates

Regional Availability

Global
Deployment Scope
Global
Regions
13
600+
Points of Presence
600+

Sustainabilty

Green Energy

Alternatives are matched on service types, programming languages and container support.

Alibaba Cloud Function Compute logo
AWS Lambda logo
Convox logo
DigitalOcean Functions logo