Hacker News new | ask | show | jobs
by evangow 2009 days ago
You can do IP to location if you deploy a Lamda@Edge and get the cloudfront headers

https://aws.amazon.com/about-aws/whats-new/2020/07/cloudfron...

1 comments

You don't even have to use Lamda@Edge, you can just forward them to your origin and use them there.

A client used an IP to country service until we realized that we already had the information they needed in the Cloudfront headers.