Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

Get $3 OFF ALL CCP, SAA, CDA, and SysOps Video Courses!

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

Tagged: ,

  • Question asked is to use the same PEM key as earlier, can you please cross check

  • joseph

    Member
    June 16, 2020 at 12:02 pm

    Dear Tutorials Support

    Please check the below question, in the question it says to use the same PEM key as earlier, please see the below question and give your suggestion

    Question

    You are working as a Solutions Architect for an online sports betting company in Melbourne, Australia which uses a large on-demand EC2 instance to host its online betting platform. To ensure redundancy, your manager instructed you to migrate the large on-demand EC2 instance from one region to another, and use its same PEM key which was generated using the Amazon EC2 console.

    How can you satisfy this requirement?

    Is it not the answer is ” Migrate the instance to a new region by copying the AMI of the EC2 instance to the new region and importing the private key.” , rather than “Copy the AMI of your EC2 machine to your new region and start up an instance using the AMI”

  • 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

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now