How do i display all the information about an instance in a ecs cluster?
-
To check things like cpu, memory, docker information, instance type and various other information about the instance.
Use these commands.
First list the instance in your ecs cluster.
$ aws ecs list-container-instances --cluster default { "containerInstanceArns": [ "arn:aws:ecs:eu-west-1:0123456789012:container-instance/3434323-343434-fg45-xxxxxxxxxxx" ] }
Then display the information using this command.
$ aws ecs describe-container-instances --cluster default --container-instances 3434323-343434-fg45-xxxxxxxxxxx
© Lightnetics 2024