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.

preguntada hace 2 años208 visualizaciones
1 Respuesta
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
EXPERTO
kentrad
respondido hace 2 años
  • Thanks @kentrad! That auto recovery seems like the perfect thing for this mission critical server. I'm going to set that up!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas