When I stop instance and then start it, it wont work , whats going wrong ?

0

I am following the official course by AWS on Coursera. I'd make an instance in EC2, it works like a charm. Then if I stop it and start again, it won't work (it shows running in console but the web page against it wont work based off of the IP address they way it'd work before). Then I create a new one exactly the way I had made the former one, it works too. Tested it a couple of times on different instances, what could possibly be wrong here ? Regards

  • Can you provide screen grabs from the AWS console from before restarting and after restarting the instance. And the error message that you see when you try the web page after restart.

已提问 1 年前267 查看次数
1 回答
-1

Hi - If you are talking about the public IP address then your instance's public IP address is released when it is stopped, hibernated, or terminated. Your stopped or hibernated instance receives a new public IP address when it is started. If you require a persistent public IP address that can be associated to and from instances as you require, use an Elastic IP address instead. Please check if thats the case. Also assuming that your security groups and NACLs are configured per instructions which you are following.

profile pictureAWS
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则