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 Answer
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions