I try to find public IP addresses of all EC2 instances within a ECS cluster. I can see EC2 instances id's with command:
aws ecs list-container-instances --cluster myCluster
But this won't show IP addresses. I searched ECS CLI documentation but I can't find a command to retrieve associated IP addresses for each EC2 instance. What is easiest way to do this?
Thanks.