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 Resposta
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
ESPECIALISTA
Peter_G
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas