AWS Lambda@Edge Overview
Core Product
Information Resources
What is AWS Lambda@Edge?
AWS Lambda@Edge is an extention of Amazon’s well known serverless compute services Lambda and CloudFront Functions. As of September 2024, Lambda@Edge is available at all 600+ Cloudfront Edge Locations globally.
Focus
Lambda@Edge is ideal for complex operations such as dynamic content generation, custom authentication, and advanced routing logic. The functions can access the public internet, allowing them to make HTTP requests to external services or APIs. This capability is essential for scenarios that require fetching data from outside the AWS environment or integrating with third-party services. Lambda@Edge can also access underlying filesystems, enabling more complex operations that require reading or writing files
Deployment
Lambda@Edge is Lambda functions in response to Cloudfront events.The Lambda function must be created in the us-east-1
US East (N. Virginia) Region, if code taken from bucket, bucket also needs to be in us-east-1
region After you create the function, you can add triggers in either the Lambda console or CloudFront console, or use Lambda and CloudFront API operations to set up your functions and triggers programmatically.
Service Types
Functions Runtimes
Execution Limits and Resource Quotas
Free Tier
Priicing Model
Duration cost depends on the amount of memory you allocate to your function. You can allocate any amount of memory to your function between 128 MB and 10,240 MB, in 1 MB increments.
- Requests: $0.60 per 1M requests
- Duration: $0.00005001 per GB-second
Lambda@Edge functions are deployed with a global scope in the Cloudfront Edge network. Cloudfront has 600+ PoPs to execute logic where your end viewers are located.
*Information is subject to change. Verify with the official AWS Lambda@Edge website.
Alternatives to AWS Lambda@Edge are generated by matching platform type and supported runtimes