Sorry, I am not a Meteor developer, though I am keen to learn how other DevOps folk handle this scenario I faced.
In my opinion, I want the application Image to launch as quickly as possible.
But in Meteor’s case, sometimes there are complex migrations happening, and they can take some time.
The problem (can you guess?) I had was that the migrations didn’t get enough time, since I have like a 2 unhealthy check of interval 10s on my AWS ECS load balancer. Workaround is to give it much more time.
Are there any other strategies I am missing to accommodate these MongoDB migrations that I might be missing?
And avoid long unhealthy check intervals? Or rather lower deployment times, but making this quicker somehow.