Cloud Equivalents

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.

Partial match Use it to: Rewrite URLs, redirect, add security headers, validate tokens, or run A/B tests at the edge on every request.

Last verified: · Edit on GitHub · Report an error

Side-by-side comparison

Lightweight edge request logic: AWS vs Google Cloud side by side
AspectAmazon Web ServicesGoogle Cloud
ServiceCloudFront FunctionsService Extensions
LifecycleGenerally availableGenerally available
What it isLightweight 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 modelPer 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.
DocsCloudFront Functions docsService Extensions docs
Pricing pageCloudFront 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).

Related AWS vs GCP comparisons

Official sources