Geo IP lookups are used all over the place, from analytics, to marketing, to localization, and even fraud prevention.

There are dozens of free and commercial services in the space, and they might be a good fit for you. But many teams will decide they need to host their own Geolocation API to meet security, privacy, performance, or availability guarantees.

I recently helped a client deploy their own Geo IP lookup service, and wanted to show you how to do it too. You can get this setup in a matter of minutes, with just one open source library and using AWS Lambda for serverless hosting. The Serverless Framework makes deployment a breeze.

Want to do it yourself?

Check out the video below and you might take my next paid gig!

Please join me at @nedmcclain for more posts and videos on serverless, infrastructure, and operations!

Photo by Andrew Coelho on Unsplash