[SOLVED] Is unmanaged VPS for hosting small sites recommended?
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is unmanaged VPS for hosting small sites recommended?
Since VPS has become quite an affordable option these days to shared hosting, I'm looking to move to a Linux-based VPS so that I can benefit from features like using my own choice of server software (I plan to use nginx instead of Apache) and also for SSL for some parts of my site, and full configuration control.
Is unmanaged VPS the way to go? I am a fairly experienced *nix user and know a bit about system configuration, but I haven't really managed a full server system.
Does managing a VPS require a lot of time ? I ask, because I have a full time job and I cannot devote a lot of time and energy for this.
Also what amount of dedicated memory and processor resources would be recommended at minimum for a simple personal website/blog?
Last edited by vharishankar; 02-19-2015 at 08:45 AM.
If all you need is a web-server then I'd say it doesn't take a lot of time to keep it running. Go for a minimal install of OS, then only install packages absolutely needed.
Now you should really update the system at least once a month - but of course it depends on what risks you are willing to take. Updating doesn't take much time normally as it's done via package manager.
But beware, it might happen that an update breaks things, you need to make a plan how to handle that. I always recommend to install only the OS via package management tool, then the services you rely on you should ínstall manually. Why? Simple: you will not risk surprises, like when Ubuntu switched from apache-2.2 to apache-2.4 and no site was accessible (happened to a friend once).
I do this:
Install apache, php & mysql/mariadb in directory /private/apps/. Then symlink them, so apache-2.2 points to apache-2.2.29 etc. When you update, just install next version in /private/apps/, change the symlink to point to new installation. Test it - if something is wrong just change symlink back.
Hmm I'm getting a bit OT now I think. Well then, to your last question:
For a small webserver I usually choose 1 CPU and 1 GB ram. Check resource usage carefully, especially the database could require more.
One important thing: Some VPS providers gives you a firewall with a webgui together with your VPS, some don't. If not you'll have to configure iptables on your server. Not necessarily bad, but if you're not familiar with iptables it could be a hassle.
pingu, thanks for the tips. I will probably base the VPS on a stable version of Debian. I've seen some providers that use OpenVZ virtualization. This generally seems cheaper and provides for more efficient usage of (shared) resources than full virtualized containers. But of course, that limits some of my configurable options. What would be the benefits and disadvantages of forgoing full virtualization? I am not looking to tweak the system configuration much, if at all.
If I go the OpenVZ route, what should be the minimum dedicated resources I should choose, CPU-wise and RAM-wise?
(Oh, am I am not planning to run MySQL/MariaDB or any other database server. My simple blog is served by SQLite and other pages are served either by simple PHP or plain static HTML).
all i need in a web server is the ability to do an HTTP redirect. not even DNS. so i need even less. can a web hoster do that? i do need it to work on IPv6.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.