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 個月前檢視次數 270 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南