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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南