New answers tagged snapshot
Additional EBS volumes will be included within the AMI, I think that the only limitation is that the AMI excludes the volumes mounted under: /sys /proc /dev /media /mnt so just mount your volumes somewhere else and any AMI should include all your volumes as well
The only thing you are missing is to quiesce the guest filesystem before taking the snapshot, to ensure that it is consistent. This can be done with virsh domfsfreeze if you are using libvirtd. For example, the order of operations is: # Freeze guest filesystems virsh domfsfreeze $VM_NAME # Create snapshot qemu-img create -f qcow2 -b $VM_NAME.qcow2 ...
I have to snapshot each mounted volume separately, even the root vol, right? --> yes Is it best to snapshot non-root volumes while they're unmounted, rather than mounted? - Is it best to shut down the instance before a snapshot of the root volume? it is a good practice to stop any "write" operation on the volumes to get a consistent snapshot, so ...
If you have multiple volumes and you want all of the snapshots to be consistent with one another your best option is to shutdown the instance. No need to unmount the volumes. After you start the snapshot you can turn back on the instance immediately as the snapshots will get a consistent snapshot of the drive from when you started creating the snapshot.
Top 50 recent answers are included