Clone this repo and use this index file or direclty copy the html code and paste it.
There is no restriction that you need to use this only. you can use any other or write on your own. For simplicity I have made this repo.
If you would like to enhance it you can do that by submitting a pr. Thank you for learning from this tutorial
Have a great day.
python3 -m http.server 8000
scp -i /home/sajiyah/Downloads/new_os.pem /home/sajiyah/Downloads/new_os.pem ubuntu@{instance_public_ip}:/home/ubuntu