Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional Question asked is to use the same PEM key as earlier, can you please cross check Reply To: Question asked is to use the same PEM key as earlier, can you please cross check

  • TutorialsDojo-Support

    Member
    June 16, 2020 at 9:28 pm

    Hello Joseph,

    Thank you for your feedback.

    “Migrating the instance to a new region by copying the AMI of the EC2 instance to the new region and importing the private key” is incorrect because you have to import the public key and not the private key.

    You can import the AMI to a new region. And you want to use an existing key, you can import the PUBLIC key to AWS. the PRIVATE key is not imported. AWS does not store PRIVATE pem keys. The private key stays with the customer.

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws

    Hope this helps.

    Regards,

    Kenneth Samonte @ Tutorials Dojo