You can view information about your instance in the EC2 Console Instances view. You can reach it from the EC2 Dashboard with any of these links.
Checking the box will select the instance in this view, and clicking the link will open the instance details in its own view. For this guide, we’ll click the link and open the instance details in its own view.
Look for Public IPv4 DNS on the Details tab. Log onto the server using this DNS address, and the keypair you selected when creating the instance.
To view server logs, run docker container logs <container_name>.