Closed k2nr closed 7 years ago
The current rolling update has been working fine but it has some problems. ECS released task constraint recently http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementConstraint.html with task constraints and autoscaling group lifecycle hook, we can do instance replacement better. Here's my rough idea:
Compared to the current "rolling update" strategy, this way has several benefits
ECS has released DRAINING state feature (I had been waiting this feature for a year!), so we no longer need to implement this complex replacement logic. I'll rewrite the description
This is done
The current rolling update has been working fine but it has some problems. ECS released task constraint recently http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementConstraint.html with task constraints and autoscaling group lifecycle hook, we can do instance replacement better. Here's my rough idea:
Prerequisites
Replacement Strategy
Benefits
Compared to the current "rolling update" strategy, this way has several benefits