Hello,
I've been trying to SSH into my EC2 instances but I can't stay in them for long. If I launch a new instance, I am able to SSH into the server if I do it immediately, but after like a minute or so I get a broken pipe error (the error message is in the title). If I stop the instance and start it again, I am able to SSH into the new instance but still run into the same issue after a minute. If I start a new instance and try to SSH in after about a minute, I am unable to do so and get a "ssh: connect to host whatever.compute-1.amazonaws.com port 22: Operation timed out" error.
I've tried so many different things to try and get it working but I haven't had any luck. I found a couple of threads where people have had the same issues as me where they also had their account suspended at one point and have the same connection issues. It seems like the AWS team had to do something to help "release the servers" or something along those lines. Could I get some assistance with this?
This thread is an example of what I'm referring to: https://forums.aws.amazon.com/thread.jspa?threadID=228154