Stopping EC2 Instance

0

I had a load balancer die for some unknown reason after being reliable for over 18 months. (instance i-0454bab93c338d6df). I had no SSH access so the only thing I can do is stop/start the instance. WHY DOES IT TAKE SO LONG!? I remember the old days (do I remember this right?) when you could just upgrade the instance size on the fly without a reboot. Now that I'm forced to Stop and then Start (taking everything down in the process) I no longer ever want to upgrade anything - it is too time consuming to make an image, spin up a new server and move traffic to it... So my question is this: Does everyone experience this 10-minute delay when stopping a dead server? Why would it take so long. I ended up doing a "force stop" but still that took minutes to complete. I was about to ask for help here with a stuck instance but as I was typing it finally stopped.

demandé il y a 2 ans209 vues
1 réponse
1

According to Troubleshoot stopping your instance:

"If you have stopped your Amazon EBS-backed instance and it appears stuck in the stopping state, there may be an issue with the underlying host computer."

I don't remember a time when you could change the instance type of a running instance, you have to go through the stop-change-start cycle.

You can also setup the auto recovery option on your instance, Recover your instance

profile pictureAWS
EXPERT
kentrad
répondu il y a 2 ans
  • Thanks @kentrad! That auto recovery seems like the perfect thing for this mission critical server. I'm going to set that up!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions