Skip to content

EC2 Instance Disappeared

0

I tried to ssh to my instance as usual, discovered it is completely gone from EC2 dashboard - not in global view, can't ssh, just gone. Public IP: 3.88.180.43. Instance is not Spot, is dedicated.

ECS however says I still have 2 registered container instances and indeed I see that a new instance was auto launched 10 hours ago. My instance that disappeared however had attached EBS storage I need to get to (not visible in EBS dashboard).

In addition I see the old instance no longer in any Registered Target Groups, implying that traffic would now be going only to the 2nd instance and the newly launched instance is idle. It is not idle, and seems less than the other one so not sure if traffic is flowing to it.

In short, instance and all record of it was wiped from the face of the earth and apparently replaced by a new one (into a different region also I might add).

How can I find my old instance/EBS storage?

asked a year ago236 views
3 Answers
1

Hello.

I don't think that EC2 instances that are managed by AutoScaling or are not Spot Instances will disappear automatically.
Is it possible that the public IPv4 address has simply changed due to a reboot, etc.?
Also, can you confirm that the target EC2 has disappeared in the "DeleteInstance" event from the CloudTrail event history?
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html

If EC2 disappears, if snapshots remain, it is possible to restore EBS to the data at the time the snapshot was created, but if no snapshots remain, it is not possible to restore.

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago
0

Hello,

Follow these steps to locate and possibly recover your old instance or its attached EBS storage:

  • Check CloudTrail Logs: Go to AWS CloudTrail and search for any "TerminateInstances" or "DeleteInstance" events to understand why and when the instance was removed.View CloudTrail Events

  • EBS Snapshots: Check the EBS dashboard for any snapshots that might have been automatically created. If found, you can create a new EBS volume from the snapshot.

  • Navigate to the Snapshots section in the EC2 Dashboard.

  • EBS Volumes: If the EBS volume is not visible, try searching for it in all regions to ensure it wasn't mistakenly associated with a different region. In the EC2 Dashboard, check the Volumes section in all regions.

EXPERT
answered a year ago
0

can you check here for the troublehsooting because this questions has been asked in the past :- https://repost.aws/questions/QUqnsARN-kTlCzTNlYyAXfJA/one-of-my-ec2-instance-is-disappeared

Thanks

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.