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.

posta un anno fa266 visualizzazioni
1 Risposta
-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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande