<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: EC2 on Rails</title>
	<link>http://pauldowman.com</link>
	<description>Software Developer</description>
	<pubDate>Thu, 28 Aug 2008 02:45:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Yan</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-4178</link>
		<dc:creator>Yan</dc:creator>
		<pubDate>Wed, 16 Apr 2008 18:48:22 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-4178</guid>
		<description>Very cool! Just wanted to let everyone know we've launched a service (totally free and no signup required to try) that lets you custom configure a stack (whether rails or anything else) and build it to a variety of virtualization formats including vmware, xen, parallels, and of course Amazon EC2 - you can build and launch your stack into the cloud with just a couple clicks. Check it out: Elastic Server On Demand (http://es.cohesiveft.com). Feedback very welcome.</description>
		<content:encoded><![CDATA[<p>Very cool! Just wanted to let everyone know we&#8217;ve launched a service (totally free and no signup required to try) that lets you custom configure a stack (whether rails or anything else) and build it to a variety of virtualization formats including vmware, xen, parallels, and of course Amazon EC2 - you can build and launch your stack into the cloud with just a couple clicks. Check it out: Elastic Server On Demand (http://es.cohesiveft.com). Feedback very welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soren Burkhart</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-3529</link>
		<dc:creator>Soren Burkhart</dc:creator>
		<pubDate>Sun, 23 Mar 2008 09:13:33 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-3529</guid>
		<description>Great work... this is awesome!</description>
		<content:encoded><![CDATA[<p>Great work&#8230; this is awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-2844</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Tue, 04 Mar 2008 06:01:04 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-2844</guid>
		<description>Paul, thanks for the image and for making it public!

Very cool stuff ..</description>
		<content:encoded><![CDATA[<p>Paul, thanks for the image and for making it public!</p>
<p>Very cool stuff ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Rehfeld</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1577</link>
		<dc:creator>Martin Rehfeld</dc:creator>
		<pubDate>Sun, 16 Dec 2007 07:57:45 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1577</guid>
		<description>Now that Amazon has annouced SimpleDB, I think it's time to add that to the equation, some thoughts on http://inside.glnetworks.de/2007/12/15/amazon-simpledb-web-service-complementing-the-ec2-compute-cloud/

The Rails deployment stack just made a big leap ahead!</description>
		<content:encoded><![CDATA[<p>Now that Amazon has annouced SimpleDB, I think it&#8217;s time to add that to the equation, some thoughts on <a href="http://inside.glnetworks.de/2007/12/15/amazon-simpledb-web-service-complementing-the-ec2-compute-cloud/" rel="nofollow">http://inside.glnetworks.de/2007/12/15/amazon-simpledb-web-service-complementing-the-ec2-compute-cloud/</a></p>
<p>The Rails deployment stack just made a big leap ahead!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederico Araujo</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1478</link>
		<dc:creator>Frederico Araujo</dc:creator>
		<pubDate>Wed, 28 Nov 2007 11:32:39 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1478</guid>
		<description>Nice work. I wish I knew it before... :)

I wrote some nginx tasks

ec2onrails:server:nginx_start/stop
ec2onrails:server:nginx_configure

nginx to frontend 10 mongrel clusters

ps: there is a fair mode nginx version.
it uses round robin technique instead.
http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel

source:
http://git.localdomain.pl/?p=nginx.git;a=tree;hb=upstream_fair-0.6</description>
		<content:encoded><![CDATA[<p>Nice work. I wish I knew it before&#8230; :)</p>
<p>I wrote some nginx tasks</p>
<p>ec2onrails:server:nginx_start/stop<br />
ec2onrails:server:nginx_configure</p>
<p>nginx to frontend 10 mongrel clusters</p>
<p>ps: there is a fair mode nginx version.<br />
it uses round robin technique instead.<br />
<a href="http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel" rel="nofollow">http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel</a></p>
<p>source:<br />
<a href="http://git.localdomain.pl/?p=nginx.git;a=tree;hb=upstream_fair-0.6" rel="nofollow">http://git.localdomain.pl/?p=nginx.git;a=tree;hb=upstream_fair-0.6</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Farina</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1220</link>
		<dc:creator>Dan Farina</dc:creator>
		<pubDate>Mon, 08 Oct 2007 09:12:16 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1220</guid>
		<description>Another vote to release a decent stand-alone "bare" Feisty (or Gutsy pretty soon...) image. Right now there aren't any obviously good ones and I have quasi-stripped down your image + rebundled to fill this need. I'm extremely happy that the rebundling works so easily and that I get to use my GNU/Linux flavor of choice!</description>
		<content:encoded><![CDATA[<p>Another vote to release a decent stand-alone &#8220;bare&#8221; Feisty (or Gutsy pretty soon&#8230;) image. Right now there aren&#8217;t any obviously good ones and I have quasi-stripped down your image + rebundled to fill this need. I&#8217;m extremely happy that the rebundling works so easily and that I get to use my GNU/Linux flavor of choice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1192</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 04 Oct 2007 06:17:55 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1192</guid>
		<description>This is great. Thanks for providing this.</description>
		<content:encoded><![CDATA[<p>This is great. Thanks for providing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dowman</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1090</link>
		<dc:creator>Paul Dowman</dc:creator>
		<pubDate>Thu, 13 Sep 2007 01:55:17 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1090</guid>
		<description>Brandon: The php command-line interpreter isn't installed, only the php apache module is installed. You need to install the package php5-cli. "aptitude install php5-cli".

Let me know what other unexplained behaviour you're seeing and I'll see if I can find an explanation for you! :-)</description>
		<content:encoded><![CDATA[<p>Brandon: The php command-line interpreter isn&#8217;t installed, only the php apache module is installed. You need to install the package php5-cli. &#8220;aptitude install php5-cli&#8221;.</p>
<p>Let me know what other unexplained behaviour you&#8217;re seeing and I&#8217;ll see if I can find an explanation for you! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Z</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1089</link>
		<dc:creator>Brandon Z</dc:creator>
		<pubDate>Thu, 13 Sep 2007 00:47:04 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1089</guid>
		<description>You're right Paul, PHP is enabled.  It does seem to be having problems.   Some of the issues I'm having could be related to other things, and so may not be worth mentioning, but there are two things that seem clear indications of *something* wrong, even if these two things are not big deals on their own--they just seem like possible indications of deeper problems.

which php returns nothing.
php --version doesn't give any info either.

and yet PHP pages are being processed (at least when specifically addressed with a full URL including the page name)...  if anyone has any ideas I'm all ears.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right Paul, PHP is enabled.  It does seem to be having problems.   Some of the issues I&#8217;m having could be related to other things, and so may not be worth mentioning, but there are two things that seem clear indications of *something* wrong, even if these two things are not big deals on their own&#8211;they just seem like possible indications of deeper problems.</p>
<p>which php returns nothing.<br />
php &#8211;version doesn&#8217;t give any info either.</p>
<p>and yet PHP pages are being processed (at least when specifically addressed with a full URL including the page name)&#8230;  if anyone has any ideas I&#8217;m all ears.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beng</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1070</link>
		<dc:creator>beng</dc:creator>
		<pubDate>Sat, 08 Sep 2007 18:47:23 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1070</guid>
		<description>Thanks !  I have setup rails so many times following input from all over and gems always lands here /usr/lib/ruby/gems/1.8/gems/, but looks like your right !

Also, trying out the rmagick stuff now.

For the base feisty, there are quite a few feisty images out there, so never know which one to start with.  I'd like a trustworthy feisty that
- feisty server
- bundling script
- tasksel install lamp

pretty much a snapshot of what you have but at an earlier stage of building up.  

But now that you've explained my concerns, I'll just stick with this...

still want/need my libxml-ruby gem though !!!!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p>Thanks !  I have setup rails so many times following input from all over and gems always lands here /usr/lib/ruby/gems/1.8/gems/, but looks like your right !</p>
<p>Also, trying out the rmagick stuff now.</p>
<p>For the base feisty, there are quite a few feisty images out there, so never know which one to start with.  I&#8217;d like a trustworthy feisty that<br />
- feisty server<br />
- bundling script<br />
- tasksel install lamp</p>
<p>pretty much a snapshot of what you have but at an earlier stage of building up.  </p>
<p>But now that you&#8217;ve explained my concerns, I&#8217;ll just stick with this&#8230;</p>
<p>still want/need my libxml-ruby gem though !!!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dowman</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1069</link>
		<dc:creator>Paul Dowman</dc:creator>
		<pubDate>Sat, 08 Sep 2007 17:23:13 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1069</guid>
		<description>beng: 

Actually the normal location for gems on Ubuntu (when rubygems is installed using the Ubuntu/Debian package management) is &lt;strong&gt;/var/lib/gems/1.8/gems&lt;/strong&gt;, you can verify that by looking at the &lt;a href="http://packages.ubuntu.com/cgi-bin/search_contents.pl?searchmode=filelist&#038;word=libgems-ruby1.8&#038;version=feisty&#038;arch=all&#038;page=3&#038;number=50" rel="nofollow"&gt;list of files&lt;/a&gt; for the libgems-ruby1.8 package.

rmagick is installed using the Ubuntu/Debian package management system (which is also quite "normal"), and the reason it's better to install it that way rather than using "gem install" is that it relies on native libraries (libmagick), and this way they will be kept in sync.

I'm not sure what you mean by "you should have a base feisty up there with your bundling scripts".
</description>
		<content:encoded><![CDATA[<p>beng: </p>
<p>Actually the normal location for gems on Ubuntu (when rubygems is installed using the Ubuntu/Debian package management) is <strong>/var/lib/gems/1.8/gems</strong>, you can verify that by looking at the <a href="http://packages.ubuntu.com/cgi-bin/search_contents.pl?searchmode=filelist&#038;word=libgems-ruby1.8&#038;version=feisty&#038;arch=all&#038;page=3&#038;number=50" rel="nofollow">list of files</a> for the libgems-ruby1.8 package.</p>
<p>rmagick is installed using the Ubuntu/Debian package management system (which is also quite &#8220;normal&#8221;), and the reason it&#8217;s better to install it that way rather than using &#8220;gem install&#8221; is that it relies on native libraries (libmagick), and this way they will be kept in sync.</p>
<p>I&#8217;m not sure what you mean by &#8220;you should have a base feisty up there with your bundling scripts&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beng</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1068</link>
		<dc:creator>beng</dc:creator>
		<pubDate>Sat, 08 Sep 2007 16:59:17 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1068</guid>
		<description>how to add this gem...

gem install -y libxml-ruby

with my "normal" vmware installation, that just works</description>
		<content:encoded><![CDATA[<p>how to add this gem&#8230;</p>
<p>gem install -y libxml-ruby</p>
<p>with my &#8220;normal&#8221; vmware installation, that just works</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: beng</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1067</link>
		<dc:creator>beng</dc:creator>
		<pubDate>Sat, 08 Sep 2007 16:52:59 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1067</guid>
		<description>why are gems in the non standard place ?

normal for ubuntu is here: /usr/lib/ruby/gems/1.8/gems/

how did you install rmagick, again "normal" is via: gem install -y rmagick

don't get me wrong, love it, but just wished somethings were different...

you should have a base feisty up there with your bundling scripts, so others can have a going at rail enabling...

thanks for all the work</description>
		<content:encoded><![CDATA[<p>why are gems in the non standard place ?</p>
<p>normal for ubuntu is here: /usr/lib/ruby/gems/1.8/gems/</p>
<p>how did you install rmagick, again &#8220;normal&#8221; is via: gem install -y rmagick</p>
<p>don&#8217;t get me wrong, love it, but just wished somethings were different&#8230;</p>
<p>you should have a base feisty up there with your bundling scripts, so others can have a going at rail enabling&#8230;</p>
<p>thanks for all the work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dowman</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1045</link>
		<dc:creator>Paul Dowman</dc:creator>
		<pubDate>Wed, 05 Sep 2007 01:37:27 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1045</guid>
		<description>Jaime: I don't know how to get Capistrano to do different tasks as different users, but you can call rsync from a Capistrano task and have rsync log in as root, something like:

rsync -rlvzcC --rsh="ssh -l root -i privkey" files/ "#{hostname}:/"

I know it's a bit of a workaround but you could also have a Capistrano task that does something like this:

ssh -l root@hostname adduser app admin

Which will give the app user sudoers access, this only needs to be done once.

I admit these are workarounds. I'm open to further discussion about it, join the mailing list and bring this topic up there.
</description>
		<content:encoded><![CDATA[<p>Jaime: I don&#8217;t know how to get Capistrano to do different tasks as different users, but you can call rsync from a Capistrano task and have rsync log in as root, something like:</p>
<p>rsync -rlvzcC &#8211;rsh=&#8221;ssh -l root -i privkey&#8221; files/ &#8220;#{hostname}:/&#8221;</p>
<p>I know it&#8217;s a bit of a workaround but you could also have a Capistrano task that does something like this:</p>
<p>ssh -l root@hostname adduser app admin</p>
<p>Which will give the app user sudoers access, this only needs to be done once.</p>
<p>I admit these are workarounds. I&#8217;m open to further discussion about it, join the mailing list and bring this topic up there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaime</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1040</link>
		<dc:creator>Jaime</dc:creator>
		<pubDate>Mon, 03 Sep 2007 18:31:09 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1040</guid>
		<description>One big downside of not giving the app user sudo access is that how do you do things (such as overwriting image root files, etc.) that require root access? Paul suggests doing rsync, but then this is bypassing all the Capistrano goodness of roles, and ends up violating DRY-ness. 

But try as I might i couldn't get Capistrano to selectively with doing some things as one user ("app") and some other things as another ("root").

Is there a good way of doing this?</description>
		<content:encoded><![CDATA[<p>One big downside of not giving the app user sudo access is that how do you do things (such as overwriting image root files, etc.) that require root access? Paul suggests doing rsync, but then this is bypassing all the Capistrano goodness of roles, and ends up violating DRY-ness. </p>
<p>But try as I might i couldn&#8217;t get Capistrano to selectively with doing some things as one user (&#8221;app&#8221;) and some other things as another (&#8221;root&#8221;).</p>
<p>Is there a good way of doing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugen Martin</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1038</link>
		<dc:creator>Eugen Martin</dc:creator>
		<pubDate>Mon, 03 Sep 2007 15:38:56 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1038</guid>
		<description>Hey Paul!

I have been actually testing the performance of Swiftiply and some app servers full of mongrels - dynamically starting + stopping app servers and mongrels without balancer reconfiguration. 

My first goal was to find out IF it is possible to add app-server instances under load. The result is: it IS possible. I really liked Swiftiply + swiftiplied_mogrels: good performance and easy to set up (though I lost some time then found + fixed a bug in the Swiftiply 0.6.1-gem which did not allow distributed mongrels connect to an other host than localhost). I think I will make some more tests with NginX + Swiftiply.

Though I must say: I am a bit dissapointed of the EC2-processor performance: 

I tried to outperform a single hardware server (Opteron 1210, Dual 1,8 Ghz, 1GB RAM) with a bunch of EC2-Instances. I needed at least 4 of them to have a comparable performance (dynamic Rails requests, without DB load). If I benchmark requests with an excessive DB usage - the results are even more dissappointing. If you are interested, I can post some more details... Did you do any performance tests? Maybe its our application, that is so CPU-intensive....?


My further goal would be to write cap/capazon tasks to start/stop multiple app-server-instances all dynamically connecting to a given running load-balancer + DB-server. And another bunch of tasks setting up the DB-server + load balancer - which is not THAAAT complicated...

Unfortunately my company has decided NOT to take EC2 as primary deployment platform, because of the relatively high costs and the poor performance: but we might use EC2 as a supplementary and/or backup solution. 

Therefore I think I will not work on the EC2-specific deployment part part any longer. But I will let you know, if I have any new details...</description>
		<content:encoded><![CDATA[<p>Hey Paul!</p>
<p>I have been actually testing the performance of Swiftiply and some app servers full of mongrels - dynamically starting + stopping app servers and mongrels without balancer reconfiguration. </p>
<p>My first goal was to find out IF it is possible to add app-server instances under load. The result is: it IS possible. I really liked Swiftiply + swiftiplied_mogrels: good performance and easy to set up (though I lost some time then found + fixed a bug in the Swiftiply 0.6.1-gem which did not allow distributed mongrels connect to an other host than localhost). I think I will make some more tests with NginX + Swiftiply.</p>
<p>Though I must say: I am a bit dissapointed of the EC2-processor performance: </p>
<p>I tried to outperform a single hardware server (Opteron 1210, Dual 1,8 Ghz, 1GB RAM) with a bunch of EC2-Instances. I needed at least 4 of them to have a comparable performance (dynamic Rails requests, without DB load). If I benchmark requests with an excessive DB usage - the results are even more dissappointing. If you are interested, I can post some more details&#8230; Did you do any performance tests? Maybe its our application, that is so CPU-intensive&#8230;.?</p>
<p>My further goal would be to write cap/capazon tasks to start/stop multiple app-server-instances all dynamically connecting to a given running load-balancer + DB-server. And another bunch of tasks setting up the DB-server + load balancer - which is not THAAAT complicated&#8230;</p>
<p>Unfortunately my company has decided NOT to take EC2 as primary deployment platform, because of the relatively high costs and the poor performance: but we might use EC2 as a supplementary and/or backup solution. </p>
<p>Therefore I think I will not work on the EC2-specific deployment part part any longer. But I will let you know, if I have any new details&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dowman</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1021</link>
		<dc:creator>Paul Dowman</dc:creator>
		<pubDate>Fri, 31 Aug 2007 00:58:18 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1021</guid>
		<description>Eugen: That's great, I'm very interested to hear how it goes, and if you're interested I'd love to work together on it.</description>
		<content:encoded><![CDATA[<p>Eugen: That&#8217;s great, I&#8217;m very interested to hear how it goes, and if you&#8217;re interested I&#8217;d love to work together on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugen Martin</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1015</link>
		<dc:creator>Eugen Martin</dc:creator>
		<pubDate>Wed, 29 Aug 2007 18:19:16 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-1015</guid>
		<description>First - thanks for the great job: your work is even MORE than most of open-source folks claim to have in mind!

Actually I am working on a clone of your image with Swiftiply + Mongel(in eventmode)+ Capistrano 2.0 + Capazon. It will be able to run multiple instances of the same Image in different roles and on the fly add/remove app-server instances. I think it will take some weeks, till it's production ready.. 

I keep you posted if you are interested. 

Greetz from Berlin</description>
		<content:encoded><![CDATA[<p>First - thanks for the great job: your work is even MORE than most of open-source folks claim to have in mind!</p>
<p>Actually I am working on a clone of your image with Swiftiply + Mongel(in eventmode)+ Capistrano 2.0 + Capazon. It will be able to run multiple instances of the same Image in different roles and on the fly add/remove app-server instances. I think it will take some weeks, till it&#8217;s production ready.. </p>
<p>I keep you posted if you are interested. </p>
<p>Greetz from Berlin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dowman</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-979</link>
		<dc:creator>Paul Dowman</dc:creator>
		<pubDate>Wed, 22 Aug 2007 10:39:16 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-979</guid>
		<description>Alex: Thanks for the feedback. The recommended way to start/stop/restart mongrel is using /etc/init.d/mongrel. It ensures that mongrel_cluster_ctl runs as the app user. This is the script that is run automatically on startup and shutdown.

You raise a good point about the rebundle script cleaning up after itself. It just runs the Amazon tools which leave the image part files, but it might be nice to delete those after.</description>
		<content:encoded><![CDATA[<p>Alex: Thanks for the feedback. The recommended way to start/stop/restart mongrel is using /etc/init.d/mongrel. It ensures that mongrel_cluster_ctl runs as the app user. This is the script that is run automatically on startup and shutdown.</p>
<p>You raise a good point about the rebundle script cleaning up after itself. It just runs the Amazon tools which leave the image part files, but it might be nice to delete those after.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex N</title>
		<link>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-978</link>
		<dc:creator>Alex N</dc:creator>
		<pubDate>Wed, 22 Aug 2007 07:42:08 +0000</pubDate>
		<guid>http://pauldowman.com/projects/ruby-on-rails-ec2/#comment-978</guid>
		<description>Sorry for so many comments, but I'm using it a lot :)

Just a warning to others - although the mongrel start script is in root's home path, these scripts should NOT be run as root.  This also applies to all other start scripts.  You will need to chown or delete your log files and/or the indexes if you do this.

Perhaps these scripts should be in app's home directory?</description>
		<content:encoded><![CDATA[<p>Sorry for so many comments, but I&#8217;m using it a lot :)</p>
<p>Just a warning to others - although the mongrel start script is in root&#8217;s home path, these scripts should NOT be run as root.  This also applies to all other start scripts.  You will need to chown or delete your log files and/or the indexes if you do this.</p>
<p>Perhaps these scripts should be in app&#8217;s home directory?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
