Can you migrate from ECS blue/green to rolling?

I have been testing the new built in blue green functionality on ECS and it works really well. I would like the ability to use rolling or blue green at will, however I am experiencing an issue when I try to change the strategy to rolling after a successful blue green deploy. It keeps telling me a hook failed although the rolling config contains no lifecycle hooks - I even explicitly set it to an empty array. Is this even possible using the same service? I cannot find any documentation on this scenario and my suspicion is that the blue green feature was rolled out too early.


Related discussions:

I am also looking for this answer. Still not tried rolling feature.

You’re hitting one of those “works in theory, breaks in practice” AWS edges. Once a service is tied to CodeDeploy blue/green, it bakes in the lifecycle hook expectations even if you switch the config. Empty array won’t matter because the deployment controller type is still blue/green under the hood.

If you want true rolling again, you basically have to:

  1. Create a new service with deployment type ECS (not CodeDeploy)
  2. Point it at the same task def and ALB rules
  3. Cut traffic over and nuke the old one

AWS doesn’t make this clear, but there’s no clean toggle back—blue/green → rolling in place isn’t officially supported. You can only fake it by re-creating.

OP is not talking about CodeDeploy but the new native blue/green feature in ECS.

Yes exactly, I never liked the Code series of services. This was supposed to be my time to shine!