In order to roll a blue/green deployment there must be spare capacity available to spin up a task based on your updated task definition. If there's not capacity to do this your deployment will fail.
An alternate option provided here is --kill-task. This will attempt to stop an existing task, making way for the blue/green rollout.
This has obvious implications, reducing your horizontal scale by one during the deployment. If you're only running a single task you'll experience some down time.
In order to roll a blue/green deployment there must be spare capacity available to spin up a task based on your updated task definition. If there's not capacity to do this your deployment will fail.
An alternate option provided here is
--kill-task
. This will attempt to stop an existing task, making way for the blue/green rollout.This has obvious implications, reducing your horizontal scale by one during the deployment. If you're only running a single task you'll experience some down time.