instance does not want to connect


I set up an instance, somehow in the middle of deploying something with Docker, it broke down.

I can read, it says, "try again later".

But this is not what I am expecting from AWS. Can I change the cluster, and access my instance right away?


asked 3 months ago105 views
2 Answers

Screenshot of AWS Session Manager

Unfortunately, after setting up via quick setup, rebooting multiple times, giving up, and find courage to try again, I still cannot really use my instance reliably. Somehow, it cannot connect to my instance even after setting up the sessions manager. It is just a black void. No Linux terminal, nothing to begin with. It is not responsive.

How do I fix this or make it work? The experience so far is underwhelming.

answered 3 months ago
  • Alright, I closed many tabs, rebooted and now it seems to connect...for a brief moment. I typed in commands to orientate myself (sudo su) and so on. Now, I was idling for 5 minutes reading about it, and the connection is lost again.

    What am I doing wrong here? It is completely unreliable.

  • I wonder if you have a packet mangler (SSL inspection) or any other security software messing with you. Try connecting in from another computer \ network.


Consider using the Session Manager option instead:

AWS Session Manager:

Notable pre-requisites:

  • Your instance must have a network path to the public endpoint for AWS Systems Manager, either through Internet Gateway, NAT Gateway or private endpoint. If you were using instance connect before, this should already be taken care of.
  • Your instance must have a role attached to it with the following managed IAM permissions: AmazonSSMManagedInstanceCore
  • Your instance must have the SSM agent installed, it should already be pre-installed on most Linux images.

The session manager option is right up there in the console where Instance Connect is. Please note that once you meet all re-requisites, it may take up to 10-15 mins for the agent inside the instance to link up with the service.

answered 3 months 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