Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I determine the boot volume for a server

When creating a server I can specify an image or a block_device_mapping. Once the server is active is there any way to determine which was used? When using an image the Server API returns the image ID. When using block_device_mapping, no image ID is returned. From this can I infer that a block_device_mapping was used to set the boot volume? If so, how can I determine which volume was used as the boot volume? The Server API returns attached volumes, but I'm not sure how to determine which attached volume is the boot volume. I could have several attached volumes and some could be marked bootable. Is there a way to query the attached volumes to determine which one is the actual boot volume?

Thanks, Steve