Reputation: 576
I'm using to Run Task on AWS ECS for batch tasks.
Sometimes it takes 10 seconds for the task to be on pending start and move to running status and sometimes it can take 5 minutes to start running between pending status to start running.
What can i do in order to prevent the 5 minutes delay issues? Is there some settings or kind of "warm up" procedures?
Upvotes: 6
Views: 4122
Reputation: 8871
The delay is due to your task starting on a container instance that doesn't have your base image already downloaded. There are a few things you can do to help with this:
Upvotes: 1