aws-samples / ecs-refarch-cloudformation

A reference architecture for deploying containerized microservices with Amazon ECS and AWS CloudFormation (YAML)
Apache License 2.0
1.69k stars 1.32k forks source link

Cluster Auto Scaling #107

Open gabegorelick opened 5 years ago

gabegorelick commented 5 years ago

ECS Cluster Auto Scaling is now GA. It would make sense to add that once support is added in CloudFormation.

Cluster Auto Scaling may also remove the need for a dedicated container instance draining lifecycle hook.

bs-thomas commented 4 years ago

Yes, I was about to ask about this, as capacity providers are now generally available.

I was wondering if there are any planned updates for modifying this sample stack to use capacity providers instead.

CloudFormation seems to support them now:

It would be really cool if we can have an example!

Cuz I'm still experiencing issues with unbalanced tasks on different instances:

image

Thank you very much in advance!