Hello Not used for NodeJs, but as long as it's within a Docker container, the idea will be the same. Amazon's ECS will do it for you, as long as you're running more than one instance. - update your task definition to target your new image - downscale the desired tasks from n to n-1 - restore your desired tasks to it's original value. The new slot will be started with the new version. - once started, the instance(s) running the old version will be stopped by ECS and restarted with the new version, one by one.
(plug it with wercker, and you have your ci/cd chain up and running)