Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Lowest Spec VPS to run Ruby on Rails [closed]

I want to get started with my first Ruby on Rails application.

It will pull an image, and some text about the image display both, and have a small box to write some text about the image, which will then be written to a database once submitted.

It's unlikely to have any more than 5 concurrent users, as it's a personal project.

What's the lowest VPS spec needed to run ruby on rails? Would it be possible on 64mb (128 burst) ram or could I go even lower?

like image 362
Joseph Avatar asked Apr 16 '12 21:04

Joseph


People also ask

Is Ruby on Rails simple?

It's a model-view-controller framework that provides default database, web page, and web service structures. And no, it's not hard to learn at all! Between its thriving community and its straightforward workflow, Ruby on Rails may be one of, if not THE, most beginner-friendly frameworks in existence.

What server is Ruby on Rails?

The Ruby standard library comes with a default web server named WEBrick. As this library is installed on every machine that has Ruby, most frameworks such as Rails and Rack use WEBrick as a default development web server.


1 Answers

The lowest I'd advocate is a 512MB system. The Ruby on Rails stack can be 50-100MB alone unless you're very careful about pruning off extras. This is an inconsequential amount of memory on a modern system, though, where 4096MB is common even in the VPS world.

Linode offers a $19.95 plan for the basic 512MB system which, while not the cheapest around, is very affordable even for personal projects. There are less expensive providers, but their quality of service may vary considerably.

If you're using Passenger then even a 512MB machine can run several lightly loaded sites.

Instead of running your own VPS you might want to use Heroku which doesn't allocate memory to customers directly but instead shares of CPU time they call "Dynos" that are somewhat more abstract than a VPS.

like image 85
tadman Avatar answered Sep 23 '22 00:09

tadman