The main goal of this chapter is to create a simple Hello World web application. Since we are starting with a Vanilla OS, we need to connect to the host to make the necessary changes to turn our standard server into a web server. In order to SSH our instance, we need to find the DNS name of our running instance, as follows:
$ aws ec2 describe-instances \ --instance-ids i-057e8deb1a4c3f35d \ --query "Reservations[*].Instances[*].PublicDnsName"[ [ "ec2-34-201-101-26.compute-1.amazonaws.com" ]]
We now have the public DNS name of our instance and the private key to SSH into it. The last thing to know is that, for the OS that we selected while choosing our AMI in Amazon Linux, the default user account ...