I’m looking for some ways to speed up my deployments, and I came across this AWS blog post: “Amazon ECS Adds Options to Speed Up Container Launch Times”.
I saw that there is an
ECS_IMAGE_PULL_BEHAVIOR variable which we can set to
prefer-cachedis specified, the image is pulled remotely if there is no cached image. Otherwise, the cached image on the instance is used. Automated image cleanup is disabled for the container to ensure that the cached image is not removed.
I believe that it would be possible for Convox to use this setting, because we use different tags for each build (it doesn’t work if you just use a fixed tag.)
I guess the speed improvement wouldn’t be huge, but it might help a little bit.