Amazon Web Services → Microsoft Azure
Azure equivalent of CloudFront Functions
CloudFront Functions maps to Azure Front Door rule sets (no-code rules) and Front Door edge actions (custom JavaScript, in preview).
About CloudFront Functions
| Provider | Amazon Web Services |
|---|---|
| Status | Generally available |
| What it is | Lightweight JavaScript functions that run at CloudFront edge locations on viewer requests and responses, with sub-millisecond startup and an optional key-value store. |
| Documentation | docs.aws.amazon.com |
| Pricing | Official pricing page |
Azure mappings (1)
| Capability | Azure equivalent | Match |
|---|---|---|
| Lightweight edge request logic | Azure Front Door rule sets, Azure Front Door edge actions Preview | Partial match |
CDN, edge compute & global acceleration(1)
Lightweight edge request logic Partial match
CloudFront Functions maps to Azure Front Door rule sets (no-code rules) and Front Door edge actions (custom JavaScript, in preview).
- Code. CloudFront Functions run JavaScript on viewer request and viewer response events, with sub-millisecond startup and an optional CloudFront KeyValueStore. Edge actions run JavaScript on client requests only during preview, with a 16 KB code limit and a 10 ms execution limit.
- No-code. Many CloudFront Functions use cases (redirects, header changes, URL rewrites) are handled on Azure by rule set actions without code.
- Maturity. CloudFront Functions is generally available. Edge actions was in preview when verified.