3 ms·
Ask HN: What is the easiest way to host a Rails app?
Maybe I'm typing the wrong things into Google, but the easy way to host a Rails app is eluding me. I know how to set up capistrano, thin, nginx, Ubuntu, mysql, etc, but where can I find this set up out of the box? It's gotta be out there.
Suggestions? Thanks!
- elai 18y agoYou see rails apps saying 'hosted by engine yard' on gitnub. Try this list: http://wiki.rubyonrails.com/rails/pages/RailsWebHosts http://wiki.rubyonrails.com/rails/pages/RailsWebHosts and 'rails hosting' on google.
- qhoxie 18y agoThis article gives a decent overview: http://www.aidanf.net/deploying-rails-on-a-clean-ubuntu-slicehost-vps http://www.aidanf.net/deploying-rails-on-a-clean-ubuntu-slic... Aside from that, you can search for tutorials related to blank slate hosts like Slicehost and Linode - they tend to cover rails well.
- danramteke 18y agoSlicehost.com does have some nice tutorials for just getting started. Is there a turnkey solution out there?
- callmeed 18y agoAre you looking for something low-cost or more of a high-end managed service? MediaTemple has RoR grid containers and other hosts support Rails now, but I don't know of a turnkey solution ... although Heroku looks interesting. Seriously, if you get a slicehost slice w/ Ubuntu Hardy, Apache and mod_rails, you can get your app up in < 3 hours. Plus, there's something to be said for getting on the server and learning how to do some things yourself.
- danramteke 18y agoLooking for something with a low barrier to entry, but with room to grow. Something not unlike AWS, but totally tuned for Rails. I'm thinking about building such a solution if nothing else works out. For my personal use if nothing else.
- LogicHoleFlaw 18y agoPerhaps there is an AWS machine image tuned for Rails?
- callmeed 18y agoBingo: http://ec2onrails.rubyforge.org/ http://ec2onrails.rubyforge.org/
- danramteke 18y agosweet deal!
- qhoxie 18y agoSomething to consider (not quite turnkey depending on how you look at it) is deprec. Quite a few people still swear by it: http://www.deprec.org/ http://www.deprec.org/
- ph0rque 18y agohave you tried heroku.com?
- danramteke 18y agojust signed up for an invite. Thanks!
- jraines 18y agoHeroku is great. Someone correct me if I'm wrong, but the main drawbacks at this point are that your app can't send email, and you can't do cron stuff. The free service is great, and I'll have my wallet out when they offer premium with those types of features.
- mhartl 18y agoYou can send email from a 'blessed' app (just ask them and it's likely they'll give you their blessing). I'm not sure about background jobs, but I imagine it's in the works.
- smoody 18y agohttp://blog.fiveruns.com/2008/10/20/automatic-production-rails http://blog.fiveruns.com/2008/10/20/automatic-production-rai... -- it's a no-fuss script for bringing up production Rails on slicehost.
- danramteke 18y agothis looks useful, thanks for the link.
- utnick 18y agosetting up mod_rails on slicehost is pretty straightforward
- amr 18y agoRails Machine(http://railsmachine.com http://railsmachine.com) makes setting up and deploying rails apps very easy with their capistrano tasks(https://support.railsmachine.com/index.php?pg=kb.page&id=24 https://support.railsmachine.com/index.php?pg=kb.page&id...). I've been with them for over a year and I highly recommend them.
- rnesh 18y agoI'm not sure if this fits your needs, but I would also take a look at WebFaction. http://www.webfaction.com/hosting/rails-hosting http://www.webfaction.com/hosting/rails-hosting
- siong1987 18y agoSome slicehost articles that might be useful to you: Setting up a Ubuntu Hardy Heron with Rails: http://articles.slicehost.com/ubuntu-hardy http://articles.slicehost.com/ubuntu-hardy
- iamelgringo 18y agoTry searching for Rails EC2 AMI if you're interested in hosting on EC2: http://pauldowman.com/projects/ruby-on-rails-ec2/ http://pauldowman.com/projects/ruby-on-rails-ec2/
- shevertalov 18y agoI've had good luck with hosting Rails on Dreamhost. They have a good wiki page on how to set it up with capistrano (http://wiki.dreamhost.com/index.php/Capistrano http://wiki.dreamhost.com/index.php/Capistrano) and you get shell access.