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.

asked a year ago258 views
1 Answer
-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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions