ECS scale in on task exit

0

The container I'm using with ECS is a GPU accelerated instance, and it is very costly. So, I want the EC2 instance to be immediately destroyed on task exit. However, even when using an auto scaling group, I cannot get it to scale in. Can you provide instructions on how to setup a cluster to respond to task exit?

1 Antwort
0

One solution is to use Target tracking scaling policies: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html

profile picture
beantwortet vor 9 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen