To check the status of containers inside the Container instance, we need to ssh inside Container instance using its public IP.
- Click on Instance ID below the EC2 Instances tab, then we will be redirected to the EC2 console; from there, we can fetch the public IP:
- The following image shows the EC2 instance public IP:
- Now, open your system terminal and use the key pair try to ssh into this EC2 instance or Container instance. (Before that open port 22 in the Security group of that EC2 instance.) ...