1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Are you managing your EC2 instances with Spot Instances or AutoScaling?
If you are running EC2 with AutoScaling or Spot Instances, it may disappear automatically.
https://repost.aws/knowledge-center/troubleshoot-ec2-instance-terminate
Also, data restoration is not possible unless EBS snapshots remain.
If the snapshot remains, you can restore data up to the time the snapshot was taken.
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html
Relevant content
- asked 4 years ago

yes, the instance is part of an autoscaling group. I checked the Activity history and it says that "an instance was taken out of service in response to an EC2 health check indicating it has been terminated or stopped" and immediatly after that "an instance was launched in response to an unhealthy instance needing to be replaced" but the launched instance seems to not be working properly