Nov 15, 2007

VPS - a good choice for hosting new web projects

It is convenient to run a web project on a personal server rather then on a public hosting. Reasons are:
  • Custom configuration - developer can provide a more productive and efficient solution not limited by compatibility requirements;
  • Full (root) access - convenience in management;
  • Security - in most public hostings people can access files and databases of each other, with is not good in many cases;
  • No limits - host as many web sites as you want, run your own email and DNS services, etc.
The main drawback of a dedicated server is it's cost. The fee for renting a normal dedicated server in the US is about $100 per month. For new web projects that are serving no users it means wasting money - the server capacity will not be consumed.

The solution is to use a Virtual Private Server. It feels almost like a dedicated server with a full access, but much cheaper because a real physical machine serves many VPS.

You can find many providers offering VPS from $15 to $45 per month.
Disadvantages are:
* Low memory limits (usually 64-256 Mb)
* Disk subsystem is usually overloaded and very slow
Rest is fine - processor is not loaded usually, and the bandwidth allowed is more then enough.
So you'd better use caching wherever you can and not run beyond your RAM limit cause swap is very slow. If you do that - your sites will be running as fast as they would on a dedicated server.

In the future posts I will describe how I am setting up a full-functional and productive web service on a cheap VPS with low memory consumption.

1 comment:

Arnold A. said...

YAP! A cheap vps is good for web projects, bloggers, e-commerce and seo. :)