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?

asked a year ago262 views
1 Answer
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions