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
Need help with setting up an A/B deployment with two CF Distributions. Trying to use some AWS docs to assist, but I'm not sure how to implement my use case with the example. Any guidance will be great...
1
answers
0
votes
329
views
asked a year ago
I am attempting to validate a jwt. Should I used CloudFront function or Lambda@edge?
3
answers
0
votes
1.2K
views
asked a year ago
Good day to you, I own a music streaming app, and I'm looking for ways to minimize my cloudfront cost which has been over the roof for few weeks now, I want a situation whereby each time an mp3 file i...
2
answers
0
votes
587
views
asked a year ago
My function does not seem to ever execute on accessing my website through the cloudfront servers. Testing the function works as expected, and creates logs in cloudwatch as expected, but I have not bee...
2
answers
1
votes
561
views
asked a year ago
Hello, I uploaded web files provided by our customer to be hosted by an S3 bucket and once I used the URL to display everything worked except one image that could not be loaded and the error message i...
1
answers
0
votes
1.8K
views
asked 2 years ago
I have two buckets, one in eu-west-1 and one in us-east-1. Lambda@edge executes on origin requests. The request is dynamically recreated based on the origin of the client. I spun up two servers in res...
3
answers
0
votes
4.2K
views
asked 2 years ago
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy wa...
1
answers
0
votes
5.5K
views
asked 2 years ago
Assume a user connects via a Websocket connection to a server, which serves a personalized typescript function based on a personalized JSON file So when a user connects, - the personalized JSON file...
1
answers
0
votes
332
views
asked 2 years ago
I have a CloudFront distribution with S3 origins. In the origin settings there are custom headers added (i.e. "x-test"). The behaviour has two Lambdas: for "origin request" and "origin response" hooks...
1
answers
0
votes
1.3K
views
asked 2 years ago
Hi there, I filter requests to have crawlers and bots consuming a dedicated origin. This origin is an express webserver using puppeteer on ECS, behind an ALB. Calling directly the ALB using public D...
1
answers
0
votes
865
views
asked 2 years ago
I am having error with lambda once deployed into AWS. ``` <token> not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer <token>' ``` In which here, I am passing Auth0 gen...
0
answers
0
votes
105
views
asked 2 years ago
I'm using a Lambda@Edge function (triggered on origin request) to change the meta tags for a react site, hosted on S3 with Cloudfront, for rich social sharing. It works perfectly for Facebook, but doe...
1
answers
0
votes
952
views
asked 2 years ago