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
已提問 8 個月前檢視次數 354 次
2 個答案
1
已接受的答案

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
已回答 8 個月前
profile picture
專家
已審閱 8 個月前
profile picture
專家
已審閱 8 個月前
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
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南