I am trying to deploy a django app to elastic beanstalk. I am deploying using amazon's preconfigured Python 3.4 docker container and the new Awsebcli v3 command line tools. When I run eb deploy
I get the message ERROR: Timed out while waiting for command to Complete
, but I can't see any signs of errors being encountered when I run eb logs
. When I navigate to the CNAME provided for the environment it just says Internal Server Error
In the example Amazon gives for deploying to EB using docker preconfigured python containers they use a flask application and run the application with a file called application.py
... I don't have such an application.py file, which I think may be causing the issue. What would I put in the application.py file to run my django app, with any commands necessary for the application (collectstatic, syncdb if DB needs syncing, else makemigrations and migrate, etc)
I'm using Django 1.7 and Python 3.4
Thank you