I have a server running on AWS Micro instance. As it has EBS storage by default - there is no risk to loose data in case of termination. Am I right to skip AMI creation for micro instances?
thank you
|
I have a server running on AWS Micro instance. As it has EBS storage by default - there is no risk to loose data in case of termination. Am I right to skip AMI creation for micro instances? thank you
| |||
|
feedback
|
|
You don't need to create an AMI unless you want to launch additional instances that are exactly like the one you are running, for example to launch a cluster of web servers serving the same content. In this situation, you could restore a server by creating a new instance, detaching the EBS volume that was created for it, and attaching the volume that you want to recover. You are correct that the EBS storage means that the storage device will persist through termination of the instance. | |||||||||
feedback
|
|
EBS storage does not persist by default when it is the root volume (i.e. EBS backed micro instances) - you must explicitly set it to be so. If you launch many AMIs, when they terminate, the root EBS volume will be deleted. (Set the DeleteOnTermination flag using ec2-modify-instance-attributes or use the AWS console) EBS storage only persists by default if you manually create the EBS volume and then attach it to an instance. As for migrating from a micro instance to a small instance, you do not need an AMI for that (although, you could use one). There are two common approaches.
| ||||
|
feedback
|