<div dir="ltr"><div>Thanks.</div><div><br></div>Isn't the "EC2 MountPoint Property Type" used in Volumes property for mounting storage volumes when the VM instance is already running? So the effect would be similar to this working example:<div>
<br></div><div><div> "DemoInstance" : {</div><div>   "Type" : "AWS::EC2::Instance",</div><div>   "Properties" : {</div><div>     "KeyName" : { "Ref" : "KeyName" },</div>
<div>     "ImageId" : "cirros-0.3.1-x86_64-disk",</div><div>     "InstanceType": "m1.small"</div><div>   }</div><div>  },</div><div><br></div><div>  "StorageVolume" : {</div>
<div>   "Type" : "OS::Cinder::VolumeAttachment",</div><div>   "Properties" : {<span class="" style="white-space:pre"> </span></div><div>     "instance_uuid" : { "Ref" : "DemoInstance" }, </div>
<div>     "mountpoint" : "/dev/vdb",</div><div>     "volume_id" : "04fbad7a-41bf-41d9-9b53-2c2bb715f25c"<span class="" style="white-space:pre">     </span></div><div>   }</div><div>  }</div>
</div><div><br></div><div>...but the question remains is it possible somehow to define that the instance is started (booted) from the volume. E.g. instead of ImageId defined for AWS::EC2::Instance, define the reference to the  volume somehow.  </div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 9 December 2013 12:56, Juha Tynninen <span dir="ltr"><<a href="mailto:juha.tynninen@tieto.com" target="_blank">juha.tynninen@tieto.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm using stable/havana version of Openstack.</div><div><br></div><div>I can boot instance from the pre-existing bootable Cinder volume with nova command:</div>
<div>nova boot --flavor 2 --block_device_mapping vda=<volume id>:::0 <name for instance><br>
</div><div><br></div><div>...but how can this be done with a Heat template? Or can it be done?</div><div><br></div><div>AWS::EC2::Instance resource doesn't seem to have a property for this.</div><div><br></div><div>Thanks,</div>

<div>-Juha</div></div>
</blockquote></div><br></div>