CDN, edge compute & global acceleration
CloudFront Functions vs Azure Front Door rule sets / Azure Front Door edge actions
CloudFront Functions maps to Azure Front Door rule sets (no-code rules) and Front Door edge actions (custom JavaScript, in preview).
Side-by-side comparison
| Aspect | Amazon Web Services | Microsoft Azure |
|---|---|---|
| Service | CloudFront Functions | Azure Front Door rule sets Azure Front Door edge actions Preview |
| Lifecycle | Generally available | Generally available preview |
| 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. | No-code rules that match on request properties and modify headers, rewrite or redirect URLs, override caching, and change origin groups at the edge. Custom JavaScript that runs at Front Door PoPs on client requests (header changes, URL rewrite and redirect, request rejection, origin selection, JWT validation), with a 16 KB code and 10 ms execution limit in preview. |
| Pricing model | Per million invocations (included in flat-rate plans). | Rule sets are included in Front Door pricing (with limits by tier). Check the pricing page for edge actions. |
| Docs | CloudFront Functions docs | Azure Front Door rule sets docs Azure Front Door edge actions docs |
| Pricing page | CloudFront Functions pricing | Azure Front Door rule sets pricing Azure Front Door edge actions pricing |
| Exams | DVA-C02 Retiring ANS-C01 Retiring | AZ-700 |
Key differences
- 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.
Pricing summary
Pricing models only. No prices are quoted because they change by region and over time.
- AWS
- Per million invocations (included in flat-rate plans). CloudFront Functions pricing →
- Azure
- Rule sets are included in Front Door pricing (with limits by tier). Check the pricing page for edge actions. Azure Front Door rule sets pricing → Azure Front Door edge actions pricing →
Certification exam mapping
| Exam | Provider | Level | Status |
|---|---|---|---|
| AWS Certified Developer – Associate DVA-C02 | AWS | Associate | retiring Being updated to DVA-C03. Registration for DVA-C03 opens Oct 27, 2026. Last day to take DVA-C02 is Nov 30, 2026. |
| AWS Certified Advanced Networking – Specialty ANS-C01 | AWS | Specialty | retiring The exam is being retired. The last day to take it is Dec 31, 2026. Existing certifications stay active for their three-year period. |
| Microsoft Certified – Azure Network Engineer Associate AZ-700 | Azure | Associate | current |
Relevance is based on each exam's published scope, not a line-by-line objective match. Check the official study guide.
Verification notes
- Front Door edge actions was in public preview when verified, so limits and pricing may change at GA.
FAQ
What is the 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).
How does pricing compare between CloudFront Functions and Azure Front Door rule sets and Azure Front Door edge actions?
AWS: Per million invocations (included in flat-rate plans). Azure: Rule sets are included in Front Door pricing (with limits by tier). Check the pricing page for edge actions. Check the official pricing pages for current rates.
Which certification exams cover this topic?
AWS Certified Developer – Associate (DVA-C02) [retiring]; AWS Certified Advanced Networking – Specialty (ANS-C01) [retiring]; Microsoft Certified – Azure Network Engineer Associate (AZ-700).