wmarbut
wmarbut

Reputation: 4685

Does Creating an Image of an Amazon EC2 Linux instance cause downtime?

Does Creating an Image of an Amazon EC2 Linux instance cause any downtime? Can I image a running server?

Upvotes: 3

Views: 3885

Answers (2)

qrtt1
qrtt1

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.

enter image description here

Upvotes: 4

Nishant
Nishant

Reputation: 55866

Already answered correctly, but I wanted to add a couple of caveats:

  1. --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.

  2. 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

Related Questions