How to make custom Elastic Beanstalk AMI
- Start environment with your desired configuration (e.g. Python 3.4)
- Find generated instance in EC2 console. The AMI ID is your base image.
- Launch an instance from the base AMI (It will be in the list of community AMISs)
- Provision that instance.
- Make an AMI from it. Use the AMI ID in your beanstalk environment configuration.
Based on https://github.com/wavded/ogre/wiki/Compiling-a-recent-ogr2ogr-from-source-on-CentOS-(RHEL)