One of my EC2 instance is disappeared.

0

I couldn't access my instance with ssh anymore. Then I checked on EC2 dashboard, it's gone. Disappeared.

  • There is no filter in the management console.
  • I'm sure I'm checking the correct region
  • Cloudtrail was disabled. So there is no log.
Ste
demandé il y a 8 mois354 vues
2 réponses
1
Réponse acceptée

Hi Ste,

Since you have a spot-instance tagged, it might be the likely reason why your EC2 Instance disappeared unexpectedly,

Quoting AWS's documentation: (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-spot-instances-work.html) "Your Spot Instance runs until you stop or terminate it, or until Amazon EC2 interrupts it (known as a Spot Instance interruption)."

You can set up spot interruption handling steps, read more here: https://aws.amazon.com/blogs/compute/best-practices-for-handling-ec2-spot-instance-interruptions/

If your instance was not a spot instance, I highly recommend:

  • Reviewing any ASG for policies that could have terminated unhealthy instances
  • No AWS config rules with automated compliance actions ie stopping non-compliant resources

Hope I helped! Cordially, Brian

profile picture
répondu il y a 8 mois
profile picture
EXPERT
vérifié il y a 8 mois
profile picture
EXPERT
vérifié il y a 8 mois
1

Hi,

EC2 instance can't disappear by itself. either they can be terminated or stopped.

You will find this answer helpful in your case https://repost.aws/questions/QUTF8xpuRFR-6DK5fhcT96Jg/one-of-my-ec2-instance-was-disappeared

Thanks,
Abhishek

profile picture
répondu il y a 8 mois

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