Introducing network calls in Amazon CloudFront Functions
Networking & Content Delivery Blog
This article introduces network calls in Amazon CloudFront Functions, enabling functions to call origins during request processing and use responses for real-time decisions at the edge.
- New cf.fetch() and cf.beacon() methods allow functions to call origins on the same distribution
- Authorize API and MCP requests against permissions and budget at the edge location
- Integrate third-party bot and fraud detection services like DataDome with 60% lower cost than Lambda@Edge
- Collect metrics and signals at the edge using cf.beacon() for fire-and-forget events
- Available at all CloudFront edge locations with pricing at $0.10 per million calls
- Requires Pro tier and above for flat-rate pricing plans
Network calls in CloudFront Functions enable low-latency edge-based logic for authorization, security, and analytics without moving to Lambda@Edge or origin processing.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
2026
2026
2026
2026
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.