Home

Awesome

GeoIP Lambda Layer

This is the source project for an AWS Lambda Layer that contains MaxMind's free GeoLite2 geo IP databases and the C library for reading them and python3.6 build of the library against it.

Deploy

sls deploy

DB path when Lambda is executing

The GeoLite2 libraries can be found at the following paths in your running Lambda:

How to use

Check out the example for how to use this layer with the Serverless Framework.