How to migrate EBS data of an EC2 without private key

0

Hi there!

Yesterday we received an email telling us that one of our EC2 Instances has an underlying hardware's degradation and suggesting to take action. Amazon will retire it after 2019-06-19 22:00 UTC and from now on it may get unreachable.

So, we're a bit nervous here, as that EC2 instance has critical data, indeed it hosts our Git repository. What I want to do as soon as possible is migrating all the data to another system and, then, update my Git software.

To accomplish that task, it's compulsory to access the system through SSH. To do so, I need the private key PEM file and I don't find it.

The current EC2 machine comprises the following configuration and hardware:

  • Instance type: m1.small
  • Availability zone: eu-west-1a
  • ClassicLink: Unlinked
  • Termination protection: False
  • Virtualization: paravirtual
  • Tenancy: default
  • Stop - Hibernation behavior: Disabled
  • EBS-optimized: False
  • Root device type: ebs
  • Root device: /dev/sda1
  • Block devices: /dev/sda1
  • Capacity Reservation Settings: Open

What could I do to first log in to my system through SSH? Once inside, I could perform the backup.

質問済み 5年前186ビュー
1回答
0

Solved!

I just created an AMI image from my existing system and then created a new instance, using a new SSH key pair.

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ