CDN, edge compute & global acceleration · AWS vs Google Cloud
CloudFront Functions vs Service Extensions
CloudFront Functions maps partly to Service Extensions plugins, which run custom code inline in the load balancer and Media CDN data path.
Side-by-side comparison
| Aspect | Amazon Web Services | Google Cloud |
|---|---|---|
| Service | CloudFront Functions | Service Extensions |
| Lifecycle | Generally available | 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. | Plugins (custom code inline in the data path) and callouts for Cloud Load Balancing, Media CDN, and Secure Web Proxy. |
| Pricing model | Per million invocations (included in flat-rate plans). | Pricing is consolidated with related edge products under a billing tier (such as Global Front End Enterprise); see the Service Extensions documentation. |
| Docs | CloudFront Functions docs | Service Extensions docs |
| Pricing page | CloudFront Functions pricing | — |
Key differences
- Plugins run on the load balancer and Media CDN data path; check which products support plugins versus callouts.
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 →
- GCP
- Pricing is consolidated with related edge products under a billing tier (such as Global Front End Enterprise); see the Service Extensions documentation.
And on Azure?
Partial match Azure's equivalent is Azure Front Door rule sets, Azure Front Door edge actions. AWS vs Azure comparison →
Verification notes
- Service Extensions plugin pricing was not confirmed on 2026-10-27.
FAQ
What is the Google Cloud equivalent of CloudFront Functions?
CloudFront Functions maps partly to Service Extensions plugins, which run custom code inline in the load balancer and Media CDN data path.
How does pricing compare between CloudFront Functions and Service Extensions?
AWS: Per million invocations (included in flat-rate plans). Google Cloud: Pricing is consolidated with related edge products under a billing tier (such as Global Front End Enterprise); see the Service Extensions documentation. Check the official pricing pages for current rates.
What is the Azure equivalent?
Azure Front Door rule sets and Azure Front Door edge actions (partial match). CloudFront Functions maps to Azure Front Door rule sets (no-code rules) and Front Door edge actions (custom JavaScript, in preview).