Skip to content

An example Lambda Layer containing MaxMind's free GeoIP DBs

Notifications You must be signed in to change notification settings

dschep/geoip-lambda-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • /opt/maxminddb/GeoLite2-City.mmdb
  • /opt/maxminddb/GeoLite2-Country.mmdb
  • /opt/maxminddb/GeoLite2-ASN.mmdb

How to use

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

About

An example Lambda Layer containing MaxMind's free GeoIP DBs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published