Restoring an Amazon EC2 Backup

Did something wrong on EC2? dont panic. If you have a snapshot of the EC2 EBS (Elastic Block Store), you can easily restore this in under 2 minutes.

  1. Goto your snapshots and create a volume from the snapshot
  2. Go to the instance and stop the instance running
  3. Detach the EBS from the instance
  4. Attach the new volume to the instance, make sure its /dev/sta1
  5. Now reinitiate the instance
  6. If you have an elastic IP, now you can relink this ip to your instance