Using boto3, we can create a new task definition: How do we update an existing task definition? Is it just another call with changes and the same family name? Answer update an existing task definition You can’t do this. You have to create a new revision of an existing task definition. Then you will also have to update your ECS
Tag: amazon-ecs
Why are my gunicorn Python/Flask workers exiting from signal term?
I have a Python/Flask web application that I am deploying via Gunicorn in a docker image on Amazon ECS. Everything is going fine, and then suddenly, including the last successful request, I see this in the logs: [2017-03-29 21:49:42 +0000] [14] [DEBUG] GET /heatmap_column/e4c53623-2758-4863-af06-91bd002e0107/ADA [2017-03-29 21:49:43 +0000] [1] [INFO] Handling signal: term [2017-03-29 21:49:43 +0000] [14] [INFO] Worker exiting (pid: