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 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions