Change task placement strategy of Amazon ECS Service

amazon-ecsamazon-web-services

I have about 15 micro-services running in a single ECS cluster with 5 EC2 instances. While setting up the services I did not pay too much attention to the task placement strategy and now I want to change it, but so far I have not found a way to do so.
It seems to be that you can only define the strategy when creating a service, not when updating it (the Amazon documentation doesn't mention it for updating but it doesn't say it's impossible either).

Is there a way to change the Task Placement or do I have to re-create every service ?

Best Answer

You can only update the deployment configuration after creating an ECS service, i.e. minimumHealthyPercent and maximumPercent, see the API documentation.

Thus, if you want to change the placement strategy, you have to re-create the service.