Processing content at the edge with Lambda@Edge

Lambda@Edge was launched by AWS during the 2016 AWS re:Invent summit; however, it had been in the preview mode until right now. The service basically allows you to execute Lambda functions in edge locations in response to CloudFront events. With this service, you now don't need to install, configure, or scale servers globally in order to customize your content. With Lambda@Edge, all this work is handled by the Lambda service itself. All you need to do is write the function and deploy it, and that's it!

At the time of writing, Lambda@Edge supports writing functions for the following CloudFront events:

  • Viewer request: When CloudFront receives a request from a viewer
  • Viewer response: Before CloudFront ...

Get Mastering AWS Lambda now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.