EC2 Instance Connect is unable to connect to instance.

0

How can we connect if the port is changed for ssh? When I change the port number, the AWS terminal does not open.Enter image description here

  • Have you been able to resolve your issue? If so, would you select an answer that matched your issue to close out the thread?

asked 8 months ago257 views
1 Answer
1

If you would like to continue to access your instances using the AWS Management console, consider using the Session Manager option instead:

AWS Session Manager: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html

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 but you should double check.

The session manager option is right up there in the console where Instance Connect is.

AWS
LondonX
answered 8 months ago
profile picture
EXPERT
reviewed a month 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