Lambda@Edge

AWS Lambda@Edge allows you to easily run code across different AWS locations globally. It will provide low latency to the end user. Your AWS Lambda function can be triggered by Amazon CloudFront events, such as content requested to or from origin servers and viewers. AWS Lambda will take care of all the necessary actions such as replication, routing, and scaling the code with high availability at different AWS locations close to the end user when you upload the code to AWS Lambda.

There is no charge when the code is ideal, and you will pay for the compute time your function consumes.

Get Expert AWS Development 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.