amazon linux 2 ec2 -use unable to connect highly urgently solution required

0

Enter image description here

till about 4 hours ago i was able to connect properly to this instance then it just abrubtly stopped connecting. i have ssh port 22 opened in instance. time zone is same as that of server , sweden and no changes in key pair or ip adress . pls help urgently

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

Have you tried connecting using AWS Systems Manager Session Manager? https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html

In the EC2 section of AWS Console is the instance state Running, and its status is 2/2 checks passed ? https://eu-north-1.console.aws.amazon.com/ec2/home?region=eu-north-1#Instances:

If you select the instance and go to the Monitoring tab is there anything of concern in the metrics shown for resource consumption?

What's the instance type and what workload is running on it?

It may be necessary to restart the instance, and if it comes back okay after that then it would be helpful to setup CloudWatch agent to collect more detailed system logs https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html If the incident recurs then this will give you more information to find the root cause.

profile picture
專家
Steve_M
已回答 1 個月前
profile picture
專家
已審閱 1 個月前
  • ANSWER 2 ) YES Instance is running and 2/2 checks passed answer 3)no all metrics appear to be low and fine . i am unable to provide a scrrenshot as comments dont support images answer 4) t3. micro free instance and i was trying to runa hadoop map reduce job on 10,000 documents on it

  • hadoop map reduce job on 10,000 documents

    I'm wondering if a t3.micro has got enough resources to run this? 2 cores and 1GB of memory isn't a lot. It would definitely be worthwhile installing CloudWatch Agent on the instance so you can get a much better view of resource usage.

    An instance type with more resources might give you a better outcome, but if you want to stay within Free Tier on a t3.micro then consider adding some additional swap space https://repost.aws/knowledge-center/ec2-memory-swap-file

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

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

回答問題指南