Instance reachability check failed (Ubuntu 20.04). Cannot SSH into the instance.

0

We recently moved from t2.micro to t2.medium. We were able to connect using SSH and work with the instance without any issue. This morning, we observed error connecting using SSH and also found on the console that Instance reachability check failed for this instance.

The System Log shows many errors. First of which says "Failed to start Network Time Synchronization" and after that it also shows OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data' Failed to start Network Service Failed to start Network Name Resolution and so on...

We are unable to connect using EC2 instance connect or EC2 serial console. Any pointers or help will be greatly appreciated.

已提問 2 個月前檢視次數 101 次
1 個回答
0

Hello.

Have you tried restarting EC2?
https://repost.aws/knowledge-center/ec2-linux-status-check-failure

Your boot volume may have become corrupted.
I think it would be a good idea to detach the EBS volume from EC2 and attach it to another EC2, then use the following command to look for errors.
https://repost.aws/knowledge-center/ec2-linux-emergency-mode

https://stackoverflow.com/questions/52069573/read-only-file-system-on-vagrant-visualbox-ubuntu16-04

sudo fsck -f /dev/sdaX
profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前

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

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

回答問題指南