Application Migration Service With Key Pair

0

Hi All,

I used Application Migration Service to migrate one of our On-Premise VM machines to AWS Ec2, and I choose one of our existing key pairs on the template migration server. After the Migration was completed successfully, I couldn't log in to the new AWS server through the Key pair but I can log in through username and password that the on-premise server setup with. Is there a way to set up the key pair with the new server?

1개 답변
0

Application Migration Service MGN replicates the entire disk contents from onprem and even though you are asked to configure a launch template certain settings within the launch template have no effect. Keypair is one of them - See here for more details

Adding the keypair is possible only via a post launch script or via ssm agent. Your script would need to insert the public key into the ~/.ssh folder for the required user

AWS
전문가
Peter_G
답변함 2년 전

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

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

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