Thanks alot buddy it saved me on the last day of my assignment, I was trying from 2 days on other methods like ssh shell and cmd but the main problem was my public key was not matching with VM instance. I watched your video then I tried it worked, trust it was a pleasure to solve this problem after 2 days.
I have done everything you said. I can now enter my website by its IP address. though I cannot enter the website using its URL. I checked the DNS in some checkers, and it works. Should I wait? Basically IP is working fine and URL is not