Reputation: 4685
Does Creating an Image of an Amazon EC2 Linux instance cause any downtime? Can I image a running server?
Upvotes: 3
Views: 3885
Reputation: 7957
It is my opinion that No Reboot should prevent the image creation from rebooting. If you are the api user, it also provides argument --no-reboot to do it.
Upvotes: 4
Reputation: 55866
Already answered correctly, but I wanted to add a couple of caveats:
--no-reboot, no guarantee: When you create an image of a AMI with EBS backed root device, you may opt for --no-reboot
, but AWS warns about this. It does not guarantee integrity of the file system. If it's really busy instance and heavy RW operations going on, you may get a corrupted image.
Instance Store, no reboot: Creating an instance store backed image never required reboot to me. It's three simple steps -- bundle-image, upload to S3, and register the image without any rebooting in this whole process.
Upvotes: 10