Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I re-download the pem file in AWS EC2?

I made a key pair pem file called "test.pem", and I downloaded to my PC.

I made a new instance with this pem file.

Now I am in a different pc, and I don't have this pem file in my local, and my previous pc is in the middle of the sea (shipping).

How can I re-download the "test.pem" file again?

like image 841
Canna Avatar asked Mar 25 '14 05:03

Canna


People also ask

How do I download AWS key again?

To replace a lost key pair, you can use the AWS Systems Manager AWSSupport-ResetAccess Automation document. Or, you can create an Amazon Machine Image (AMI) of the existing instance, launch a new instance, and then select a new key pair.


2 Answers

No, you cannot download .pem file again. You can download the .pem file ONLY once and that is when you create a new key-pair.

like image 139
slayedbylucifer Avatar answered Sep 21 '22 15:09

slayedbylucifer


You can not download such security key files more than once. You can reuse them for multiple instances.

Best you can do is to download it and also store it at S3, of course in a private access bucket.

like image 23
diegoaguilar Avatar answered Sep 20 '22 15:09

diegoaguilar