MemberJune 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
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”
MemberJune 16, 2020 at 9:28 pm
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.
Hope this helps.
Kenneth Samonte @ Tutorials Dojo
Log in to reply.