Debugging Deployment Configuration
If you’re seeing an error about
(service app1-web-dev-EcsService-8FMliG8m6M2p) was unable to stop or start tasks during a deployment because of the service deployment configuration. Update the minimumHealthyPercent or maximumPercent value and try again.
The error can happen if you have a deployment configuration that prevents containers from spinning up. For example, if you only have 1 container and you set a
ecs.maximum_percent = 150. Then ECS is not permitted to deploy 2 containers or
Try setting the
ecs.minimum_healthy_percent back to their defaults:
Ufo.configure do |config| config.ecs.maximum_percent = 200 config.ecs.minimum_healthy_percent = 100 end