What do we need for reliable VPS?
{{#if:||}} | This {{#if:|section|{{#switch:
| Talk = talk page {{#if:||or section}} | Category = category page {{#if:||or section}} | Help = help page {{#if:||or section}} | Portal = portal {{#if:||or section}} | Template = template page {{#if:||or section}} | User = user page {{#if:||or section}} | User talk = user talk page {{#if:||or section}} | Wikipedia = project page {{#if:||or section}} | Wikipedia talk = project talk page {{#if:||or section}} | article {{#if:||or section}} }}}} is in the process of an expansion or major restructuring{{#if: |, and is not yet ready for use }}. You are welcome to assist in its construction by editing it as well. {{#if: |This template was placed by {{#ifeq:| | |Template:User }}. }} If this {{#if:|section|{{#switch: | Talk = talk page | Category = category page | Help = help page | Portal = portal | Template = template page | User = user page | User talk = user talk page | Wikipedia = project page | Wikipedia talk = project talk page | article {{#if:||or section}} }}}} has not been edited in several days, please remove this template.This article was last edited by Enigmaguy (talk | contribs) 9 years ago. (Update) |
{{#if: |
Contributor note: |
}}{{#ifeq:|true||}}
Typical VPS/Web hosting scenarios
- Blog / Web Business Card - Wordpress on classic web hosting (2 USD month)
- Small e-shop - Simple VPS (10 USD month)
- Medium e-shop / reliable site - Cloud VPS (Amazon AWS - 10 USD month + 5-10 USD for backup, monitoring, etc...)
Comparasion of current market solutions
Feature | Web Hosting
|
VPS Hosting | Cloud
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Backup | same datacenter / daily or weekly | same datacenter / immediately using mysql binlog | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | different datacenter + tapes (e.g. Amazon Glacier) / immediately using mysql binlog | [[|different datacenter + tapes (e.g. Amazon Glacier) / immediately using mysql binlog]]
}} |
different datacenter + tapes (e.g. Amazon Glacier) / immediately using mysql binlog
}} }} | ||||||||||
Custom PHP | usually not, sometimes php logs available for fee | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | php plug-ins, increased memory limits, php logs, etc... | [[|php plug-ins, increased memory limits, php logs, etc...]]
}} |
php plug-ins, increased memory limits, php logs, etc...
}} }} |
{{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | same as VPS | [[|same as VPS]]
}} |
same as VPS
}} }} |
Testing / deployment | not possible | limited to home copy | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | possibility to duplicate machine and test on live data | [[|possibility to duplicate machine and test on live data]]
}} |
possibility to duplicate machine and test on live data
}} }} | ||||||||||
Monitoring | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | limited but 24x7 in price of hosting | [[|limited but 24x7 in price of hosting]]
}} |
limited but 24x7 in price of hosting
}} }} |
must by external services or another VPS | for small fee even in different datacenter (eg. CloudWatch, Route 53) | ||||||||||
Load balancing / High Availability | not supported | not supported | green|relatively cheap in small scenarios compare to traditional hardware | ||||||||||||||||||||
DDos Protection | sometimes included | almost never (CloudFlare recommended) | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | very basic (CloudFlare recommended) | [[|very basic (CloudFlare recommended)]]
}} |
very basic (CloudFlare recommended)
}} }} | ||||||||||
Price | {{ safesubst:#if: | {{ safesubst:#if: | yes | [[|]] | [[|]]
}} |
}} |
{{ safesubst:#if: | yes | from 2 USD per month | [[|from 2 USD per month]]
}} |
from 2 USD per month
}} }} |
10 USD per month + support + monitoring + services (dns, backups...) | may vary, 10 USD simple VPS + bandwidth + services (on Amazon usually backups, monitoring is very cheap, in cents for smaller company) + support | ||||||||||
Usage | WordPress / 1 product e-shop / Company presentation | Small e-shop, small projects | Larger e-shop, projects where outage can cause large income drop |
What are your main issues with VPS?
Long term support
If you start using VPS this really does not seems to be an issue, but over time it will definetely be. Most major Linux distribution LTS (Long-term support) versions are supported 5-7 years. It looks like a pretty long time but reality is - it is not. After 5 years (Ubuntu Server LTS) will stop being supported. What does it exactly mean? Let's see:
- No more security updates - if in any product bug will be found you will not get a security update and bug fix, yes you can compile yourself application or library from source and install it manually, but guess what - it is not that easy (see below)
- glibc compatibility - most Linux applications use glibc, this library is practically impossible to replace with newer one safely if there is no package to do that. And yes, because most applications are using it, after 5 years you won't be able to compile any application without newer glibc
- very difficult to migrate - after 5 years, usually barely no one really remember what was configured on machine, what are all hacks, settings and everything you need to change when going to newer version of OS. So it is very time (or money or both) expansive to create completely new OS image with all settings and everything you need and test it. Trust me, it could take few months and yes, it needs to be done or you might get hacked.