3 個答案
- 最新
- 最多得票
- 最多評論
0
Are you sure that instance state remains healthy when you get disconnected from VS code SSH client.
Based on the problem description, issue seems to be something at instance side, network configuration might be right as after rebooting the instance you are able to connect.
I'd start with following:
Check cloudwatch metrics for this EC2 instance and make sure that EC2 instance is not running out of memory/CPU 100% utilization
Next thing I'd do is, set up EC2 Serial Console and then see what exactly is going on.
Comment here how it goes, happy to assist further.
Abhishek
0
I get the same issue. VS code keeps disconnecting from the EC2, and I am not able to reconnect unless I restart the instance.
已回答 8 個月前
相關內容
- 已提問 7 個月前
- 已提問 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
The cpu is almost 0 because nothing is running at the moment.
Yes my CPU utilization goes to 100%. How will I be able to fix that?