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 Risposta
0

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

profile picture
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande