On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address
(refer Putty Guide for details on how to connect using putty/ssh)
Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to **SSH- >Auth **, click on Open.
login as ubuntu.
run below command to set the ubuntu user password.
sudo passwd ubuntu