CloudFront Functions Network Calls: When Should Your Store Use Them?
AWS lets CloudFront Functions make live network calls. Learn when to use them for ecommerce delivery checks, what they cost and how to test the fallback.

A shopper opens a product page to check whether their PIN code qualifies for same-day delivery. The page itself is already cached. The delivery answer changes as stock moves and dispatch cutoffs pass. If your store uses Amazon CloudFront, a November update gives you another place to make that decision. It also gives you another way to slow down an otherwise fast page.
What AWS added in November
On 18 November 2026, AWS announced that CloudFront Functions could make network calls from all CloudFront edge locations. These functions run at points in AWS’s content delivery network close to visitors. The new fetch method can call an origin already configured on your distribution and use the answer during the request. A separate beacon method can send an event in the background.
AWS allows one network call per function invocation across both methods. The call has a one-second timeout and a 10 KB response-body limit. A request that waits for the answer can still pick up delay even when the page would otherwise come straight from cache. The one-second limit is an AWS cap. Your own acceptable wait should come from measurements on the customer journey.
Use a live check where the answer changes the next step
Take an Indian retailer that delivers from two local warehouses. A product photo, dimensions and care instructions can stay cached. When a shopper submits a PIN code to check same-day delivery, the store can make a small request for that answer alone. The page can continue to load while the shopper decides whether to check. If the service times out, the store can say “Check delivery at checkout” and leave browsing available. The checkout still verifies the delivery promise before the order is placed.
For a list of delivery zones that changes only occasionally, start with a lookup table. AWS documents CloudFront KeyValueStore as an option for data like redirect maps and infrequently changed flags. A useful first question for your hosting team is how old the answer can be before it causes a customer problem. If yesterday’s answer is good enough, a live call on every visit has little to earn.
Price the lookup and the service behind it
AWS lists pay-as-you-go network calls at US$0.10 per million, on top of CloudFront Functions invocation charges. The calls are included on flat-rate Pro plans and above. AWS lists Pro at US$15 per month per distribution. The Free flat-rate plan does not support network calls.
At the published pay-as-you-go rate, two million network calls add US$0.20 for that line item. That example leaves out function invocations and the cost of running the service that answers the calls. Ask your managed ecommerce website hosting provider to estimate how many calls the proposed route will generate and which backend services will handle them. A lookup triggered by a shopper checking delivery has a different cost and failure profile from one triggered by every product page view.
Test the fallback before sending customer traffic
Pick one route and record its current response times and error rate. Then test the lookup on a staging distribution with a normal response, a slow response and an unavailable backend. AWS says its console Test tab and TestFunction API cannot run these network calls, so use staging to exercise the live path.
Measure the time from PIN-code submission to an answer, including the slowest requests, and record how often customers would see the fallback. Give the hosting team a way to turn the lookup off quickly and name the person who can make that call. If the delivery check proves useful and stays within the response-time limit you set, consider the next route. Leave checkout as its own decision.
If you’re reviewing managed ecommerce website hosting or need help deciding what belongs at the edge, ElloSpaces can help you map the request path and test it before rollout.
Sources
AWS announcement on CloudFront Functions network calls