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.
sls deploy
The GeoLite2 libraries can be found at the following paths in your running Lambda:
/opt/maxminddb/GeoLite2-City.mmdb
/opt/maxminddb/GeoLite2-Country.mmdb
/opt/maxminddb/GeoLite2-ASN.mmdb
Check out the example for how to use this layer with the Serverless Framework.