Skip to content

nricklin/elastic-beanstalk-scipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elastic-beanstalk-scipy

Getting scipy to work on elastic beanstalk with Python 2.7.

This package will compile scipy from source (which in turn requries getting a fortran compiler onto the beanstalk instance). It takes a long time, and is not suitable for actual deployment. BUT, you can do this once, then tarball up the /opt/python/run/venv virtual environment and use that for faster deployment.

Run:

eb init

Building scipy will take forever on a micro instance due to cpu throttling, so change the instance type to a small:

Edit the .elasticbeanstalk/optionsettings file and change InstanceType=t1.micro to InstanceType=m1.small.

Then propagate those settings to elastic beanstalk:

eb update

Then create the environment and deploy the application:

eb start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages