`<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
I wish to run up a number of OmniOS instances in AWS.<br>
<br>
The current OmniOS AMIs in AWS seem to use pv virtualization, precluding<br>
their use on the t2 and m4 instance types that I want to use.<br></blockquote><div><br></div><div>Worse; newer regions only support hvm. In my case, this rules out London.<br> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
So, I thought I would try to produce my own AMI with hvm virtualization.<br>
<br>
I am looking to use omniosce r151022, is this likely to work at all?<br>
<br>
I have read <a target="_blank" rel="noreferrer" href="https://omnios.omniti.com/wiki.php/Ec2Ami">https://omnios.omniti.com/<wbr>wiki.php/Ec2Ami</a>, does anyone know<br>
how that procedure would be amended to cater for loader/hvm instead of<br>
pv-grub?<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></blockquote><div> </div></div>The following should get you going:<br><br><a href="https://www.prakashsurya.com/post/2017-02-06-creating-a-custom-amazon-ec2-ami-from-iso/">https://www.prakashsurya.com/post/2017-02-06-creating-a-custom-amazon-ec2-ami-from-iso/</a><br clear="all"><br></div><div class="gmail_extra">Essentially, if you install any illumos distro you can send the disk image up<br>to AWS and create an AMI. If you create the image by installing using Xen<br></div><div class="gmail_extra">*exactly* as described, you're done. If you're getting the image from somewhere<br></div><div class="gmail_extra">else then the phys_path to the disk embedded in the pool will be wrong and need<br>to be rewritten, which basically means going into Xen again.<br><br></div><div class="gmail_extra">(I don't have Xen, so I'm currently at the stage where my hvm AMI panics on<br>boot because the pool has got the wrong labels. That's for Tribblix, but the<br>procedure is identical for any illumos distro. You have a similar issue if you try<br></div><div class="gmail_extra">and convert the pv AMI to hvm; it panics because the hardware has changed <br>underneath. I'm close, but not there yet.)<br></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">-Peter Tribble<br><a target="_blank" href="http://www.petertribble.co.uk/">http://www.petertribble.co.uk/</a> - <a target="_blank" href="http://ptribble.blogspot.com/">http://ptribble.blogspot.com/</a></div>
</div></div>
`