I have an EC2 instance what I can not repair. I was trying to make an upgrade but everything fails. Would be possible to reinstall an amazon ec2 instance running on Ubuntu server?
Asked
Active
Viewed 7,044 times
1
-
Just create a new instance and terminate the old one. – ceejayoz May 11 '13 at 12:09
-
I already made that! But would be good to know if is possible to backup my new micro instance – fefe May 11 '13 at 12:15
-
1Sure, you can create an AMI of the instance periodically, which lets you launch clones of it. You should also probably back up anything important just like you'd back up a non-EC2 instance. – ceejayoz May 11 '13 at 12:16
-
okay thanks a lot.I look forward how to make AMI from existing instances. – fefe May 11 '13 at 12:21
1 Answers
2
Would be possible to reinstall an amazon ec2 instance running on Ubuntu server?
You could terminiate your existing instance and create a brand new one.
But would be good to know if is possible to backup my new micro instance
You can create a snapshot of any instance type by right clicking it and selecting "Create Image (EBS AMI)".
Alternatively you can use the command line tools, ie "ec2-create-snapshot"
After creating a snapshot, or AMI (Amazon Machine Image) you can launch new instances based off this image (this would essentially be restoring the backup).
This might help as it takes you through the steps in detail: http://www.techrepublic.com/blog/datacenter/how-to-create-a-new-ami-from-a-snapshot-and-launch-a-new-vm/5349

Drew Khoury
- 4,637
- 8
- 27
- 28
-
2If the original sever won't boot, cloning may not help. It may be best to launch a new server from the base OS AMI, then attach the old drive and copy the data off. – BraveNewCurrency May 11 '13 at 14:49