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, 2019 in AWS by Viky
2,188 views

1 answer to this question.

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, 2019 by Jayant

Related Questions In AWS

0 votes
2 answers
0 votes
1 answer

What is File Gateway in AWS Storage Gateway?

Hi@akhtar, File Gateway is a configuration of the AWS ...READ MORE

answered Dec 8, 2020 in AWS by MD
• 95,460 points
637 views
0 votes
0 answers
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,640 points
6,824 views
+9 votes
17 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,280 points

edited Jul 10, 2023 by Khan Sarfaraz 128,504 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP