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.
- Goto your snapshots and create a volume from the snapshot
- Go to the instance and stop the instance running
- Detach the EBS from the instance
- Attach the new volume to the instance, make sure its /dev/sta1
- Now reinitiate the instance
- If you have an elastic IP, now you can relink this ip to your instance