Search code examples
amazon-web-servicesamazon-s3amazon-elastic-beanstalkgeoipmaxmind

MaxMind GeoIP libraries and database on Amazon Elastic Beanstalk


I'm trying to figure out how to install and use GeoIP libraries on AWS (Elastic Beanstalk). As far I know EB has an "ephemeral filesystem", but I could store the CeoCity binary in S3… but what about MaxMind C libraries? Has anyone configured EB to use MaxMind's api?

(My stack is based on Python/Django)


Solution

  • I believe you have two options to handle situations where new EC2 instances are being created automatically for you:

    Amazon issues a notice about using custom AMI:s:

    "After you are running on your own custom AMI, you will no longer receive any 
    automated updates to the operating system, software stack, or the AWS Elastic 
    Beanstalk host manager."
    

    Personally, I've stuck to using configuration files. Takes a bit of tinkering, but once I got it working it operates pretty well.

    Good luck!