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 Antwort
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
EXPERTE
Peter_G
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen