EC2 no longer reachable via SSH or HTTP

0

I have an EC2 instance that is no longer reachable.
I was setting up a CAS (Central Authentication Server) Client for SSO. But was getting a Port Occupied error in the validation tests during the maven build.
So I was using lsof and ufw to check and open ports so see if I could fix it
I then moved to the EC2 Security Group tab in the console to see if the port was being blocked there.
After trying several things
I wondered if I had needed to restart the EC2 instance for the changes to take
and upon doing so, by rebooting from the console, the instance became unreachable.
I attempted to undo what I had done in the Security Group. But no luck and including a restart.
Since the EC2 had an ELB that it was registered to and some googling revealed that it might be the issue. I tried unregistering and reregistering the instance and just removing the instance from the ELB.

I have also tried the Amazon Support EC2 Resue SSM but that failed in execution

已提問 4 年前檢視次數 242 次
1 個回答
0

Remade the setup with fixed the issue

已回答 4 年前

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

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

回答問題指南