- Newest
- Most votes
- Most comments
Finally I was able to find the instance running, it was that I was not checking the correct zone. However, I wasn't able to login to the instance via login sh script or via the AWS EC2 panel. I had to STOP and re run the EC2 instance, which changed the public IP address ( a mess, I had to redirect many things) and I lost lot of data from the customer's database. I still don't know what could happen, I'm afraid it can happen again at any moment.
Why EC2 instance is disappear?
using/constructing an AMI that does not have SSH properly set up. using/constructing an AMI that does not boot properly (network and/or sshd issues) and failing to look into console output. instance reboot failing.
How do you recover EC2 instance?
You can create an Amazon CloudWatch alarm that monitors an Amazon EC2 instance and automatically recovers the instance if it becomes impaired due to an underlying hardware failure or a problem that requires AWS involvement to repair. Terminated instances cannot be recovered.
Recover your instance : https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html
Relevant content
- asked 2 years ago
- asked 7 months ago
- asked 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
If you require a static public IP address, use an "Elastic IP" for your instance rather than a "Public IP". That way, the Elastic IP address will persist through reboots and shutdown/restart cycles.