amazon-web-servicesamazon-ec2serverwebserveraws-ec2-instance-connect

Ec2 Instance on stop and restart the instance cannot be accessed by that url


Recently I stopped my instance for 2 days and I again stated that the status is showing running. However, if I hit that IP in the browser it is not opening. It shows this error:

Error


Solution

  • It sounds like you are not using an Elastic IP Address. Go to the console and there should be a new public IP address.

    If you're planning to use this instance more permanently you should take a look at adding an Elastic IP Address.

    More documentation available: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#using-instance-addressing-eips-allocating