What if pem file is deleted?

0 votes
What if my oem file was deleted by mistake? What do I do? Is there a way to recover it back?
Apr 12 in AWS by Viky
11 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Hey @Viky, there is no way to recover the deleted pem file. The only solution is to create another one. And this can not be done using the console. You will have to use the CLI.

Example:

aws ec2 create-key-pair --key-name MyKeyPair --query 'KeyMaterial' --output text > MyKeyPair.pem
answered Apr 12 by Jayant

Related Questions In AWS

0 votes
2 answers
0 votes
3 answers
0 votes
1 answer

if instance is a part of some AutoScaling Group in AWS or not ?

You can run this command below on ...READ MORE

answered Jun 1, 2018 in AWS by Cloud gunner
• 4,240 points
21 views
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,120 points
69 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

What is the best way to check if table exists in DynamoDB?

This function gives you a nice boolean ...READ MORE

answered Nov 30, 2018 in AWS by Archana
• 5,360 points
422 views
+3 votes
12 answers

AWS VPC - What is the difference between Internet Gateway & NAT

Internet Gateway An Internet Gateway is a logical connection ...READ MORE

answered Apr 24, 2018 in AWS by Flying geek
• 3,130 points
5,477 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.