I lost my pem file now how to login into EC2 instance

0 votes
I lost my .pem file now how to login into EC2 instance?
Sep 30, 2020 in AWS by anonymous
• 19,620 points
353 views

2 answers to this question.

0 votes
answered Sep 30, 2020 by Sajid
0 votes
Hi,

If you forget your .pem file then you can't log in to your instance. But the below document shows you some other approach.

https://aws.amazon.com/premiumsupport/knowledge-center/user-data-replace-key-pair-ec2/

It is something like you are formatting your instance. So you need to backup your hard disk and all.
answered Sep 30, 2020 by MD
• 95,300 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to ssh into EC2 instance without PEM key?

You need ssh-agent to supply your PEM file during ...READ MORE

answered Mar 13, 2019 in AWS by trisha
961 views
0 votes
1 answer

I have an ec2 instance I want to store my backups in s3 how can I store it?

Mount the s3 bucket in the instance ...READ MORE

answered Oct 12, 2020 in AWS by vickie
145 views
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,288 views
+2 votes
1 answer
0 votes
1 answer