Instant Recovery of EC2 Instance from Snapshots

| By Manoj Thakur

Recovery of EC2

  1. Select Snapshots from the Elastic Block Store menu on the Amazon EC2 interface.
  2. Find the snapshot you wish to restore, then choose it.
  3. Choose Actions, and then choose Create Volume.
    Recovery of EC2
  4. In the same Availability Zone as your EC2 instance is, create the new volume.
  5. Choose the instance from the Amazon EC2 console.
  6. Make a note of the device name you wish to replace in the Root device entry or Block Devices entry in the instance details.
    Check the screenshot below for “Root Device Name”, as I marked with a red line arrow.
  7. Now you can attach the volume. Now goto the EC2 Dashboard again and follow the steps written below.
    • Now, stop the EC2 instance.
    • Select the root volume you wish to replace from the EC2 Elastic Block Store Volumes menu.
    • Goto Actions, and then choose Detach Volume.
    • Now select your volume. From EC2 EBS Volumes menu.
    • Choose Actions, and then choose Attach Volume, as shown in below ScreenShot.
    • Use the same device name that you identified before to choose the instance to which you wish to attach the volume, Like the below ScreenShot.
    • Now start the instance.

Leave a Reply

Your email address will not be published. Required fields are marked *