<span class="Apple-style-span" style="border-collapse:collapse;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14px">Hi, <div><br></div><div>I also need information about the command line option for making a spot request persistent. I am currently using:</div>

<div><br></div><div>starcluster start -o -b mybid mycluster<br><br></div><div>and in the AWS online GUI console, I see that this generates a one-time spot request not a persistent one. I googled on AWS or starcluster to find out how to change this after request or when I make the initial request, </div>

<div class="im" style="color:rgb(80,0,80)"><div><br></div><div>thank you very much for your support, </div><div><br></div></div><div>Kind Regards, </div></span><br><div class="gmail_quote">On 19 May 2012 11:17, Manal Helal <span dir="ltr">&lt;<a href="mailto:manalorama@gmail.com" target="_blank">manalorama@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rayson, <div><br></div><div>Thank you very much for the extended explanations and for sharing your experience. I had to start fast, and read only quick-guides, and first two pages of everything, and googling what I need only, </div>


<div><br></div><div>thanks again, </div><div><br></div><div>Kind Regards, </div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Manal</font></span><div>

<div class="h5"><br><br><div class="gmail_quote">On 19 May 2012 02:47, Rayson Ho <span dir="ltr">&lt;<a href="mailto:raysonlogin@gmail.com" target="_blank">raysonlogin@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Manal,<br>
<br>
Here&#39;s my spending back in Feb. I am also in the free tier, BTW.<br>
<br>
In that month, I used 27 hours of t1.micro &amp; 1 hour of m1.small, thus<br>
I got charged $ 0.09 ($0.085 rounded up!).<br>
<br>
        Amazon EC2 running Linux/UNIX<br>
                 $0.00 per Micro Instance (t1.micro) instance-hour (or partial<br>
hour) under monthly free tier    27 Hrs  0.00<br>
                 $0.085 per Small Instance (m1.small) instance-hour (or partial<br>
hour)    1 Hr       0.09<br>
<br>
        Amazon EC2 EBS<br>
                 $0.00 per GB-month of provisioned storage under monthly free<br>
tier     0.398 GB-Mo     0.00<br>
                 $0.00 per 1 million I/O requests under monthly free tier        428,595 IOs     0.00<br>
<br>
        Elastic IP Addresses<br>
                 $0.00 per Elastic IP address remap - first 100 remaps / month   1<br>
Count    0.00<br>
<br>
<br>
I am under the free EBS limit (it was then 10GB month, but the limit<br>
got bumped up to 30 GB month recently). Note that you can use 60GB for<br>
15 days, then 0 GB for the rest of the month, and Amazon will not<br>
charge you anything. I think Amazon has a very straightforward<br>
pricing, and you don&#39;t need to worry about whether the EBS is used by<br>
a t1.micro or a cg1.4xlarge or even just left there for backup...<br>
<br>
Basically, feel free to mix and match free &amp; non-free EC2 resource.<br>
<div><br>
Rayson<br>
<br>
================================<br>
Open Grid Scheduler / Grid Engine<br>
<a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
<br>
Scalable Grid Engine Support Program<br>
<a href="http://www.scalablelogic.com/" target="_blank">http://www.scalablelogic.com/</a><br>
<br>
<br>
<br>
</div><div><div>On Thu, May 17, 2012 at 9:59 PM, Rayson Ho &lt;<a href="mailto:raysonlogin@gmail.com" target="_blank">raysonlogin@gmail.com</a>&gt; wrote:<br>
&gt; So you are in the &quot;free tier&quot; indeed! Keep in mind that you get 30 GB<br>
&gt; of free EBS storage, and if you are willing to pay, then you don&#39;t<br>
&gt; need to limit yourself to micro instances.<br>
&gt;<br>
&gt; For example, you can still use CG1 instances (which are not free even<br>
&gt; for those in the free tier) and you still get free 30GB of EBS<br>
&gt; storage. You basically can mix and match free &amp; non-free stuff in AWS.<br>
&gt;<br>
&gt; Rayson<br>
&gt;<br>
&gt; ================================<br>
&gt; Open Grid Scheduler / Grid Engine<br>
&gt; <a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
&gt;<br>
&gt; Scalable Grid Engine Support Program<br>
&gt; <a href="http://www.scalablelogic.com/" target="_blank">http://www.scalablelogic.com/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 17, 2012 at 9:27 PM, Manal Helal &lt;<a href="mailto:manalorama@gmail.com" target="_blank">manalorama@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Thank you very much Justin and Rayson for the explanation,<br>
&gt;&gt;<br>
&gt;&gt; I actually started the cluster Yesterday and learned a few issues by try and<br>
&gt;&gt; error, realising the already mounted EBS in the starcluster HVM AMI, but<br>
&gt;&gt; terminates with it and needs downloading the data. I also realised the<br>
&gt;&gt; unfeasibility of the thought of downloading an image, updating it on my<br>
&gt;&gt; machine, and then upload it after testing and everytime I need it. Also<br>
&gt;&gt; using a spotnode cost less, so I can experiment with less worries, but the<br>
&gt;&gt; IO free-tier is small, and only tiny instances are in the free tier, and I<br>
&gt;&gt; need cg1.4xlarge to use the GPU Cluster,<br>
&gt;&gt;<br>
&gt;&gt; I tried the following steps:<br>
&gt;&gt; <a href="http://instantbadger.blogspot.com.au/2009/09/how-to-create-and-save-ami-image-from.html" target="_blank">http://instantbadger.blogspot.com.au/2009/09/how-to-create-and-save-ami-image-from.html</a><br>
&gt;&gt;<br>
&gt;&gt; to bundle, upload and register the customised running AMI after my updates,<br>
&gt;&gt; and the bundle took time indeed, but this seams like the alternative to the<br>
&gt;&gt; scenario download/upload I was thinking of,<br>
&gt;&gt;<br>
&gt;&gt; thanks again for your help,<br>
&gt;&gt;<br>
&gt;&gt; Kind Regards,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 18 May 2012 07:40, Rayson Ho &lt;<a href="mailto:raysonlogin@gmail.com" target="_blank">raysonlogin@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, May 17, 2012 at 5:23 PM, Justin Riley &lt;<a href="mailto:jtriley@mit.edu" target="_blank">jtriley@mit.edu</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt; If you&#39;re trying to find a way to store data without having to keep the<br>
&gt;&gt;&gt; &gt; cluster around there are much better approaches:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Manal,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Since you mentioned that you are new to AWS, you should be able to get<br>
&gt;&gt;&gt; the benefits of the free tier:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://aws.amazon.com/free/" target="_blank">http://aws.amazon.com/free/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Basically, you can use 30 GB of EBS storage free of charge. On the<br>
&gt;&gt;&gt; other hand, if you pull data from AWS to your local harddrive<br>
&gt;&gt;&gt; everytime you are done with the instance, then you will need to pay<br>
&gt;&gt;&gt; for I/O &amp; data transfer costs.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Justin,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am trying to find the version of the NVIDIA Driver &amp; CUDA toolkit<br>
&gt;&gt;&gt; installed on the CG1 AMIs, but instead of booting up an instance to<br>
&gt;&gt;&gt; find out what&#39;s there, is there a page that lists the additional<br>
&gt;&gt;&gt; software packages installed in the AMIs?? So far, I could only find:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="https://github.com/jtriley/StarCluster/issues/9" target="_blank">https://github.com/jtriley/StarCluster/issues/9</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Rayson<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ================================<br>
&gt;&gt;&gt; Open Grid Scheduler / Grid Engine<br>
&gt;&gt;&gt; <a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Scalable Grid Engine Support Program<br>
&gt;&gt;&gt; <a href="http://www.scalablelogic.com/" target="_blank">http://www.scalablelogic.com/</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 1. Use an external EBS volume with StarCluster and store your data<br>
&gt;&gt;&gt; &gt; there. This will allow you to terminate the cluster and still preserve<br>
&gt;&gt;&gt; &gt; your important data on the EBS volume. See:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; <a href="http://web.mit.edu/star/cluster/docs/latest/manual/volumes.html" target="_blank">http://web.mit.edu/star/cluster/docs/latest/manual/volumes.html</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2. If you don&#39;t wish to use external EBS volumes at all you can always<br>
&gt;&gt;&gt; &gt; use starcluster&#39;s &quot;get&quot; command to manually download files from the<br>
&gt;&gt;&gt; &gt; cluster before terminating, e.g.:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; $ starcluster get mycluster /path/to/results.tar.gz<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Similarly you can upload files using the &quot;put&quot; command:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; $ starcluster put mycluster /path/to/local/file /remote/path/<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; See the following doc for more details:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; <a href="http://web.mit.edu/star/cluster/docs/latest/manual/putget.html" target="_blank">http://web.mit.edu/star/cluster/docs/latest/manual/putget.html</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt;    4. After knowing how to download the image, I will need the command<br>
&gt;&gt;&gt; &gt;&gt; to<br>
&gt;&gt;&gt; &gt;&gt;    start a new cluster using the image I have stored on my local disk.<br>
&gt;&gt;&gt; &gt;&gt; I<br>
&gt;&gt;&gt; &gt;&gt;    think I have seen something to install from an image to the cluster<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Launching a cluster using a locally stored disk image is not supported.<br>
&gt;&gt;&gt; &gt; The latency in doing this would be *insane*. Having to upload multiple<br>
&gt;&gt;&gt; &gt; GBs and register an AMI everytime would make starting a cluster<br>
&gt;&gt;&gt; &gt; *extremely* time-consuming and error-prone.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; As mentioned above you&#39;re better off creating a new AMI for your needs<br>
&gt;&gt;&gt; &gt; and keeping the new AMI on Amazon. Then simply update your StarCluster<br>
&gt;&gt;&gt; &gt; config to use your new AMI. If you need to save data before terminating<br>
&gt;&gt;&gt; &gt; the cluster then either save your data to an external EBS volume or copy<br>
&gt;&gt;&gt; &gt; the data using the &#39;get&#39; command as mentined above.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Hope that helps,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; ~Justin<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt; &gt; StarCluster mailing list<br>
&gt;&gt;&gt; &gt; <a href="mailto:StarCluster@mit.edu" target="_blank">StarCluster@mit.edu</a><br>
&gt;&gt;&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; ==================================================<br>
&gt;&gt;&gt; Open Grid Scheduler - The Official Open Source Grid Engine<br>
&gt;&gt;&gt; <a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Kind Regards,<br>
&gt;&gt;<br>
&gt;&gt; Manal Helal<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ==================================================<br>
&gt; Open Grid Scheduler - The Official Open Source Grid Engine<br>
&gt; <a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
<br>
<br>
<br>
--<br>
==================================================<br>
Open Grid Scheduler - The Official Open Source Grid Engine<br>
<a href="http://gridscheduler.sourceforge.net/" target="_blank">http://gridscheduler.sourceforge.net/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>
</div></div></div>
</blockquote></div><br><br>