I recently found this cheap VPS site http://www.vpstree.com/ and signed up for the $0.99 plan. I've never used VPS hosting before, so I didn't really know what to expect, but for a buck I thought it would be worth trying out. I just wanted a system that I could use to host some simple services I enjoy: a sql server, a web server, a git server etc. I don't plan on putting much demand on the resources, I just want root access so I can tinker with things. So the one buck plann sounded really nice.
The trouble is that it only comes with 64MB of ram, burstable to something like 76MB. This has been fine for everything that I wanted, except for installing things. This wasn't enough ram to install MySQL, and I have run into several other packages which have similar issues. Sometimes I can get around this by just stopping all the services, but sometimes it still needs more memory.
I tried adding a pagefile for some more memory, even it was slow, but that doesn't appear to be allowed. I can upgrade for a few bucks to get more burstable memory, but it's only 128MB. Would this likely be enough to get some basic things installed, or should I look into a new VPS solution with more resources?
I would avoid a 64Mb VM unless you know for sure that what you plan to do with it will function adequately in that little. It'll be fine for a small DNS server, a small mail relay, a very simple (all/mainly static content) web server, a location for backups, but not a lot else. You could test if your desired tasks will run in a 64Mb VM by running them locally using a small Virtual Box VM or similar, though at one one dollar per month getting one of these for a month or two to try things out is hardly going to break the bank and gives you a publicly routed IP address.
If you do run a 64Mb VM you'll need to chose components that are optimised for small environments (nginx instead of apache, SQLite instead of mySQL, and so on).
I don't know of any VM solutions that off burstable RAM and also permit the use of paging areas defined in the VM - and if your host is cramming my $0.99 VMs onto one host server (and they will be - if they don't cram many in there is no way they'll avoid making a massive loss) there will be plenty of I/O contention so you don't want to be swapping anyway as that contention will kill performance even more than swapping normally would.
In my opinion, David Spillett's answer is right on target, but I thought I would add some details from my own experience.
You might be surprised at what you can fit into a small VPS, with a little bit of elbow grease. For example, I have the following setup in a 64 MB VPS (with another hosting company). Starting with a minimal Debian Lenny install, I swapped out
OpenSSH
forDropbear
, replacedrsyslog
withsyslog-ng
, and installeddhttpd
(a minimal, no-CGI webserver) to serve static pages, resulting in the following:This VPS is using less than 6 MB of 64 MB RAM, and only 263 MB of 5 GB disk. I bet I could shoehorn a little MySQL database in there, but it probably wouldn't have much room to breathe. A 128 MB or larger VPS would certainly work better.
Unless you already have experience dealing with systems that small and actually have a legitimate reason for using it, you will have much less pain going with a completely different plan altogether.
Yeah uhm, I think I would opt for something with more ram. Linode has bumped their 360MB to 512MB for $20/mo, which is probably the best bang for buck for that price.
http://www.linode.com/
Whereas slicehost is $20 for 256, $25 for 384, $38 for 512.
I run a couple of VPSs with 256 MB. That is barely enough for a combined mail and web server with some anti-malware and anti-spam scanning. With 64 MB you'll be luckly to load the OS.