Suddenly unable to connect to EC2 instance from ssh and html.

0

I have an EC2 created in the Frankfurt region. I have ssh and html ports open so that I can connect from outside. I've been able to connect without problems for the last 5 days. The connection was suddenly cut off while I was working today. I haven't changed any security settings. The file may have been corrupted because it was interrupted while updating the file. I want to check it, but it continues to be unable to connect at all. I haven't changed any settings on my device or network. Is there a way to connect the EC2?

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

Hi,

It is important to confirm that there really was no change in the security group, but it is quite valid to assess the NACL where this EC2 resides "https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html “, check the status of the EC2, that is, whether the EC2 is running.

If all settings are correct and EC2 is running, you can try using the Session Manager service "https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html “, with Session Manager, you can manage EC2 instances. Use an interactive browser-based shell or the AWS Command Line Interface (AWS CLI). Session Manager provides secure and auditable node management without the need to open gateways, maintain bastion hosts, or manage SSH keys.

Best Regards,

Marcelo Oliveira

profile pictureAWS
已回答 1 年前

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

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

回答問題指南