When you access the URL from any browser, you need to make sure that port 80 is the port, which is the default port. If you just launched an instance of Linux ec2, it is only available through ssh. To access these instances, you need an access certificate created at startup, and an ssh client such as ssh for Linux or putty for Windows. In addition, if you have a service running on port 80 or any other, you must ensure that these ports are open in the security policy of your instance.
source share