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?

Andy
已提問 9 個月前檢視次數 254 次
1 個回答
0

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

profile picture
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南