Whats the difference between .ppk and .pem . Where .pem is stored in amazons ec2 cluster?

Divine Retribution picture Divine Retribution · Dec 4, 2013 · Viewed 34.9k times · Source

I am using Amazon's EC2 cluster for running GraphLab. They want the location of my .pem file, which is my private key.

After searching I still I could not find the file in ubuntu. I am using PuTTY.

Answer

slayedbylucifer picture slayedbylucifer · Dec 4, 2013

.pem file is what you have download from AWS when you created your key-pair. This is only a one time download and you cannot download it again.

Your software is asking for .pem file. Now you are the one who needs to locate that file. You might have downloaded it on you laptop/desktop...etc.

As I said above, .pem is not saved anywhere on EC2. It is a one time download and you have to keep it safe.

For Putty (windows ssh client), it does not support .pem format. Hence you have to convert it to .ppk format using PuTTyGen. Its essentially .pem but in a different format so that Putty can work with it.