#ec2instance #pemfile #lostec2pemfile
Recover EC2 Instance PEM file
1) Create New Instance
2) Stop Both Instance
3) De-attach and Attach Main Instance EBS with Recovery Instance
4) Start Recovery Instance and Mount New Attached Disk
5) Copy and paste Recovery Instance .ssh/authorized_keys file content with Attached EBS .ssh/authorized_keys file
6) Stop Recovery Instance
7) De-attach and Attach that EBS with main Instance as root volume
8) Connect SSH main Instance from Recovery Instance pem file.
Whatsapp Group Link : https://chat.whatsapp.com/JjSnWn6PV9G...