Home › Forums › AWS › AWS Certified Solutions Architect Professional › CloudFront Functions executes Lambda@Edge
Tagged: Lambda@edge
-
CloudFront Functions executes Lambda@Edge
Irene-TutorialsDojo updated 3 weeks, 6 days ago 2 Members · 2 Posts
-
Hi,
my topic is about this question:
An e-commerce platform experiences significant traffic spikes during peak shopping seasons,…
In the explanation you are saying:
Amazon CloudFront Functions allow you to execute lightweight Lambda@Edge functions at CloudFront edge locations, enabling you to customize and extend the behavior of your CloudFront distribution.
I don’t find information that CloudFront Functions can call Lambda@Edge functions. Can you please provide documentation etc about it? Never heard about this possibility.
Thank’s,
Chris
-
Hi Chris,
Thank you for your question and catching that — we appreciate your attention to detail!
You are absolutely correct: Amazon CloudFront Functions and Lambda@Edge are two separate features that both run code at CloudFront edge locations, but they operate independently. CloudFront Functions do not invoke Lambda@Edge functions.
CloudFront Functions are designed for lightweight, high-performance JavaScript operations at the edge. They’re ideal for simple tasks like modifying viewer requests/responses with minimal latency.
Lambda@Edge, on the other hand, allows you to run more complex AWS Lambda functions in response to CloudFront events, offering greater flexibility but with slightly higher latency.
We apologize for the earlier confusion and have updated our explanation to reflect this distinction accurately.
Please don’t hesitate to ask any further questions — we’re happy to help!
Best,
Irene @ Tutorials Dojo
Log in to reply.