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

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

profile picture
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas