aws / aws/containers-roadmap

[ECS] [request]: Editable CapacityProviderReservation AlarmLow duration (is always 15min)

Open
#1,220 3 comments 52 reactions 1 assignee Claimed by @AbhishekNautiyal View on GitHub
ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
EC2 scale in via ECS Capacity Provider is too slow ue to the hard coded 15min alarm-low.
I wish I could change it to 5 or 10 min.

**Which service(s) is this request for?**
ECS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
I run tasks that execute jobs stored in a SQS.
A job takes few minutes to execute.
Most of the time, there is no job at all ; 1 job will be created randomly ; sometimes N jobs will be created at once.
When all jobs are finished, I want to scale in quite fast because it is likely there won't be new job in the next few minutes.

CAS automatically creates a "CapacityProviderReservation AlarmLow" that alarms after 15min. Scale in is then very slow, compared to a few minutes job.

Fargate would be an option, but a GPU is required.

**Are you currently working around this issue?**
I don't, I pay for idling EC2 instances.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.