Live Chat Register Client Login

recover aws ec2 pem key

Elastic Container (EC2) is the most commonly used product along with its product range in Amazon web service’s (AWS). As for security reasons the access to the Linux environment containers are restricted with the key. At the time of creation of container, a key pair is generated and a pem file is available for download. This file is only available once hence making it highly fragile for the user. If a user loses or deletes this file it is impossible to re-download the file from AWS.

In order to recover the files or instance if a key is lost or deleted we at Skynats implement the different technique. Most of the task here is to be done by a Linux professional, which includes changing the instance types and disk to recover the data and imprints in the server. The process involves checking the metadata of the current running server along with its boot logs to find the schematics with which the server is booted in AWS. The disk to the server is either recover or reattached in this scenario.

Major steps that covered for the recovery process

  • Detach root volume from the machine
  • Create a new instance with new pem key
  • Attach the disk to the new instance
  • SSH to the machine and mount the correct partition
  • Check everything is working fine
  • Use the latest pem key to access the machine and data

Please follow the above steps and if  you face any issue or need any assistance, please contact our support team for a free consultation on live chat at https://www.skynats.com