- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
So I have recreated the sample flask application from the documentation. I am able to build, deploy and run this application in elastic beanstalk.
I have gone through and as much as possible made my environment match theirs(the sample uses an old version of python and flask). I have the same Procfile with the same wsgi configuration: web: gunicorn --bind :5000 --workers 3 --threads 2 project.wsgi:application
As far as I can see the Docker files are very similar. I don't get a lot of feedback related to the problem aside from the message:
# eb create api-container-dev
Creating application version archive "app-b27b-230210_163707435120".
Uploading api-container/app-b27b-230210_163707435120.zip to S3. This may take a while.
Upload Complete.
ERROR: ServiceError - Configuration validation exception: Unknown or duplicate parameter: WSGIPath
Are there any ways that I can get error logs from this creation sequence to isolate where the problem is?
I am also going to try some things with my code to see if I can isolate the problem.
so I see deploying w/o docker you cant provide [app-name].wsgi:application if you use the eb cli. its just application now I might have to go to EC2 at this point
greetings there is a bug with beanstalk, you need to use the eb cli to deploy the basic app exactly as you see it from the docs, then update all the env vars and configs from there, once then use the eb cli to deploy your actual app, everything you want to make updates you need to deploy the dummy to make changes
Contenuto pertinente
- AWS UFFICIALEAggiornata 6 mesi fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 8 mesi fa
- AWS UFFICIALEAggiornata 4 anni fa