ECS and Autoscaling groups

1

Good morning folks,

I created in Amazon ECS one cluster with autoscaling group with min capacity 1 and max capacity 5. Then, I modified in EC2 the desidered capacity from 0 to 1. With this operation, I can see one EC2 instance running (that's good). What I aspect now but it doesn't happen is to see the running instance under Enter image description here ECS-Infrastructure-Container instances. It is always 0 but should be 1 because ALB has one running instance.

Enter image description here

Can you help me?

Thanks in advance, Rocco

1 個回答
1

Is the container task activated in this state?

You can see the ECS agent logs in EC2 as shown in the following document, so please check for errors, etc.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/logs.html

Other than that, the new ECS console is simply too slow, so it is a good idea to try changing the display to the old console and see if EC2 is registered.

profile picture
專家
已回答 1 年前

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

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

回答問題指南