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
gefragt vor 8 Monaten352 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
beantwortet vor 8 Monaten
profile picture
EXPERTE
überprüft vor 8 Monaten
profile picture
EXPERTE
überprüft vor 8 Monaten
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
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen