Questions tagged with Edge Computing
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
Obtain client IP address through a network load balancer (TCP socket server, Python)
Hi All, I run a couple of TCP socket server on EC2, behind a network load balancer (NLB). even I've set the target_group to preserve client IP address. I am not able to obtain the actual client IP address in my Python TCP socket server. All I am getting seems to be a few fixed IP address, likely belong to the load balancer or some edge computing node ? when I bypass the load balancer, my server app is able to obtain the proper client IP address. any idea, what I am missing here ?
lambda@edge origin-response handler with cloudfront + s3 origin custom headers
Hello, I've a function that works for `origin-response`. I've added in my *Cloudfront* distro custom header, call it `X-My-Header` with a custom value (say `a`) I want to read this custom header in the `origin-response` function (by using _Typescript_, shouldn't matter). This header is no where to be found in either `request.origin.s3.customHeaders` nor `request.origin.custom.customHeaders`. This is super difficult to debug. If someone has a suggestion or a direction I'll be extremely happy to hear. Thanks