/srv/irclogs.ubuntu.com/2010/02/26/#ubuntu-ec2.txt

=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
=== erichammond1 is now known as erichammond
smoserhi all, anyone know what actually happens when you do a "Instance Actions -> Create Image (EBS AMI)" for an EBS root instance at the AWS console ?16:16
erichammondsmoser: I assume that it takes snapshots of the EBS volumes attached to the instance and registers them as a new AMI.19:32
erichammondHowever, on the surface it appears it might do it backwards with things happening behind the scenes.19:32
erichammondI.e., it creates an AMI id in "pending" state with no snapshots visible for a long time.19:32
erichammondIf the instance is running, there is a chance that the snapshotted file systems are not consistent as the snapshots are initiated externally.19:33
erichammondOh, scratch that.  It appears to "stop" the instance while it takes the snapshots.19:34
smoseryeah19:34
smoseri later looked.19:34
erichammond:-/19:34
smoserthanks though.19:34
smoserits basically (i think) running ec2-create-image19:35
smoserit shuts the image down, takes the data off the snapshot, then starts it back up19:35
erichammondI'm not sure what the criteria are for which EBS volumes are snapshotted and included in the AMI.  It's including both of the volumes attached to my instance, but that might have been because I started the instance with the extra volume attached19:35
smoserits not going to be clean19:35
erichammondIt should be clean.  I believe a "stop" initiates a "shutdown" inside the instance first.19:36
smoserwell, yes, but just because a system is booted and then shut down doesn't mean its ready to be rebundled.19:36
smoserany cruft from boot is still around.19:36
=== erichammond1 is now known as erichammond

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!