MGN Migration - Windows \ Linux Test instances - unable to login through SSM

0

As part of MGN Migration Launched Test instances for both Windows \ Linux instances. In Post Launch action template, for both Test and Cutover instances have selected to Install the SSM agent and to create the IAM Roles related to System Manager

But after launching Test instances, unable to connect any of the Test instances through SSM. Even Host configuration is created in SSM but no luck to login to the instances through SSM

SSM Session manager is Not listing the Test instances. Even fully migrated instance (cutover completed) instances also not listed in SSM

When trying to open the Test instance through RDP client its erroring out saying EC2Keypair is not associated with the instance

Is there a way to login to the Test instances in this scenario without keypair & SSM ?

1개 답변
1

You should be able to login to the Test instance using the Local credentials of your source server which is replicating into AWS MGN service.

Once you are logged into the instance, I would suggest running "ssm-cli" diagnostic tool (1) and reviewing the SSM agent logs to identify the reason for SSM issue on the Test instance

SSM-CLI Tool:

(-) Windows : & 'C:\Program Files\Amazon\SSM\ssm-cli.exe' get-diagnostics --output table

(-) Linux : ssm-cli get-diagnostics --output table

SSM Agent logs:

(-) Windows : %PROGRAMDATA%\Amazon\SSM\Logs\

(-) Linux : /var/log/amazon/ssm/

Additionally, please also check article (2) to troubleshoot SSM issue.


References:

(1) https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-cli.html

(2) Troubleshoot "ConnectionLost" status - https://repost.aws/knowledge-center/systems-manager-ec2-instance-not-appear

AWS
지원 엔지니어
Aamir_H
답변함 2달 전
  • Also, you need to either have VPC endpoint created for SSM service if you want to connect via private link or have Internet connectivity to reach SSM public endpoint.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠