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?

已提问 8 个月前275 查看次数
1 回答
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
已回答 8 个月前
profile picture
专家
已审核 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则