Skip to content

Instantly share code, notes, and snippets.

@makmanalp
Created April 6, 2017 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makmanalp/34b33349709394261a41f960a1416033 to your computer and use it in GitHub Desktop.
Save makmanalp/34b33349709394261a41f960a1416033 to your computer and use it in GitHub Desktop.
Elastic beanstalk python gotchas

Config not being run / used

Don't forget to actually commit the config or run eb deploy --staged. Also eb deploy -v gives you a detailed view of which config files get pushed.

Where are my application logs?

/var/log/httpd/error.log (unless you put them elsewhere, this is where stdout goes)

I set WSGIPath right and it's still not working, I get 500 errors

You need to name the variable with the WSGI application application. Naming it app as is flask convention won't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment