In the AWS Management Console search bar, enter EC2, and click the EC2 result under Services:
Navigate to instances
Select your instance and click Connect:
The Connect to your instance form will load.
In the form, ensure the EC2 Instance Connect tab is selected:
You will see the instance's Instance ID and Public IPv4 address displayed.
In the User name textbox, enter ubuntu.
To connect to the instance using a browser-based shell, click
A browser-based shell will open in a new window and you will see a shell similar to:
You can also connect to the instance using your preferred SSH client and the PPK (Windows) or PEM (Mac/Linux) key files like I explained in a previous post.