All Content tagged with Lambda@Edge

Lambda@Edge is a feature of Amazon CloudFront that lets you run code closer to users of your application, which improves performance and reduces latency.

Content language: English

Select up to 5 tags to filter
Sort by most recent
69 results
I have a Lambda function that is using a docker image that's running Ubuntu 22.04 and NodeJS 14. The function works fine, but when I try to deploy it to @edge, it gives me this error: "Correct the er...
Accepted AnswerLambda@Edge
1
answers
0
votes
1.6K
views
asked 2 years ago
I'm using a CloudFront with an origin-request Lambda@Edge function to switch between S3 origins in different regions, much like the "[Using an origin-request trigger to change the Amazon S3 origin Reg...
0
answers
0
votes
628
views
profile picture
asked 2 years ago
Hi, I have followed steps provided by AWS account team and was not able to view or use AWS lambda service or ec2 service. There appears the issues with the account. However, any public URLs I cannot v...
0
answers
0
votes
129
views
asked 2 years ago
Hello, Trusted Advisor gave me a performance recommandation which was to increase the memory size of some of my Lamda@Edge from 128Mo to at least 160Mo. ![Enter image description here](/media/postIma...
2
answers
0
votes
1.3K
views
asked 2 years ago
I do understand that Lambda@Edge can't be deleted unless they are de-attached from all other services including Cloudfront and when all replicas are deleted automatically. My problem is in my cleanup...
1
answers
0
votes
659
views
asked 2 years ago
We have a Cloudfront distribution whose origin is set to an application load balancer(by default). We want to set this load balancer host based on user's CloudFront-Viewer-Country. Below is the lambda...
1
answers
0
votes
717
views
asked 2 years ago
I have a Lambda@Edge on `origin-request` and it returns a `Server-Timing` header, however the value is ignored or missing. According to the Cloudfront documentation on [Server-Timing header metrics](...
1
answers
0
votes
461
views
profile picture
asked 2 years ago
I have a node js project which used as a lambda authorizer in AWS. The node project structure will be like below ``` /authorizer /lib -index.js -package.json -node_modules -package.lock.j...
1
answers
0
votes
1.9K
views
asked 2 years ago
I have recently used aws amplify to host my nextjs SSR app. By default, it somehow selected north virginia region for s3 bucket due to which i am facing latency in getting images on my website. Can i...
2
answers
0
votes
3.2K
views
asked 2 years ago
Hello I made a mistake. I deleted the lambda function that I was using. I want to restore the deleted lambda function. Can you tell me how?
2
answers
1
votes
8.5K
views
asked 2 years ago
Hi, I have an issue with an Origin Request Lambda@Edge lambda. After it returns the modified request object the request throws an error and returns a 400. (I checked the requests never reached the Or...
1
answers
0
votes
1.3K
views
asked 3 years ago
I'm using AWS Amplify to host a next SSR application. My environment is configured to use node 16.13.0. This is working at build time. At the moment of the deploying, the lambda@edge generated for th...
0
answers
0
votes
97
views
asked 3 years ago