Rails VPS servers at rimuhosting.com
Posted by ezmobius Fri, 11 Nov 2005 23:51:00 GMT
I have been setting up VPS servers at rimuhosting.com. These guys have really nice prices on Xen based virtual private servers. This blog runs on one of them. I am putting together some documentation on setting up your own debian sarge based VPS for rails/lighttpd development and deployment.
There is a need for rails hosting like this as rails does not lend itself very well to run on shared hosting plans. Textdrive is a great example of this. They are a great host and I like them in general but their uptime lately is dreadful. I have clients with lifetime accounts that are upset that its impossible to run a production site on TextDrive.
The two servers that I am familiar with are Gilford and Nelson. Both of these seem to go offline multiple times a week. Argg! Can’t have that and keep clients happy.
So the best solution I have come up with is to use either VPS or dedicated servers for raisl work. Xen performance is truly a thing of beauty. It comes close to a dedicated solution. And I have a great system for setting up a minimal debian system with just the essentials:
ruby, gems, rails, mysql or postgresql, postfix, subversion, lighttpd, fcgi and all the goodies to tie all those packages together. With this set up you end up with a lean and mean rails machine!
I have found that with this setup the $29 plan at rimu will happily run an install of typo and about 2 -3 other decent sized rails apps and some other static html sites or what-have-you. And it will do so very fast. Lighty really shines in this environment since it is so light on resources. So I don’t even install apache and all its bloat so it doesn’t sit there eating RAM.
Mysql or postgresql are the most memory intensive parts of the whole equation. So hand tuning these db engines to run well on a memory restrictive VPS is a little bit of a challenge but well worth the rewards.
Stay tuned for a detailed write up of the complete setup process of a rimu VPS from scratch. I will be taking notes on an install this weekend and will post them here shortly.