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?

질문됨 일 년 전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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠