In my early days as KVM admin, when I had to do a backup of a VM image, I followed the next steps:
- Pause the VM
- Snapshot LVM volume
- Resume the VM
- Copy image
- Remove LVM snapshot
Now I've got some machines in EC2, but I'm facing a doubt:
Amazon official documentation says
"you should stop the instance before taking the snapshot"
but there's sometimes you can't stop a production instance. I've been taking snapshots without stopping the instance and I've restored it (everything's gone fine) but the doubt is knocking my head time to time.
So my question is, can I pause (stop is not and option) an EC2 instance so that I can take a consistent snapshot of it?