VPS, Dedicated or shared: how to choose the right hosting solution for our needs?
We see below in detail the solutions offered on the market and the meanings linked to these three types
- Shared Hosting
- Dedicated Hosting
- VPS hosting
A shared hosting is when within the same server machine are hosted more websites. This therefore implies that all the resources of the machine are divided among all the sites present. Therefore the performance of each of them may not be the best if the server is not optimized and configured correctly. Basically a shared hosting service occurs when the computational resources (CPU and RAM) are shared resources with other clients on the same server / node.
The problem that can sometimes happen is that one site’s traffic spikes can slow down or even block others. Also in terms of risks, shared hosting is definitely not the best choice for medium to large projects, but it is certainly good to start.
This type of hosting is generally recommended for small sites that do not have a lot of traffic or large revenues, instead it is not recommended for sites that have thousands of users per day and to whom a hosting block could lose large sums of money. However, a big advantage of shared hosting is definitely the price, which is clearly much lower than dedicated hosting. If well configured and well optimized, even shared hosting can offer the experience of dedicated hosting as long as you buy a package that offers the minimum necessary to run Magento2 at its best: from our analyzes, the minimum cut in CPU and RAM is of 2 cores and 2 GB of ram.
With this type of hosting, on the other hand, unlike shared hosting, you have the entire physical server at your disposal . This therefore has some advantages especially in terms of machine customization. It is therefore a hosting service where every type of resource (CPU, RAM, DISK, BAND) is 100% dedicated to us.
Why choose dedicated hosting over a shared solution? Surely the main advantage is to have all the resources at our disposal and it is recommended for medium and large sites that need dedicated resources . Keep in mind, that unlike the shared one, dedicated hosting needs maintenance and an expert system administrator to be able to manage it and to be able to monitor it.
Furthermore, the costs of the dedicated server , compared to shared hosting, are much higher as in addition to the cost of the machine, an expert system administrator will be needed to manage it, to configure it and to optimize it for the software that will be hosted (in this case Magento 2).
VPS stands for Virtual Private Server or a virtual Server dedicated to us where the computational capacity (CPU and RAM), disk and bandwidth are 100% always available to us. Furthermore, being a virtual Server, the basic VPS can scale in “vertical” or by adding CPU and RAM through a reconfiguration of the plan you have purchased and a subsequent reboot. So where is the problem with VPS? In the storage , or rather in the disk where the data is stored, or more simply the space.
The cost of VPS here too is very variable, it depends on the “cut” it is positioned at an intermediate level between the dedicated and the shared.
As we have seen there are different solutions for choosing the hosting of your project, there is no one-size-fits-all solution. So, when making your choice you will need to take the following into consideration:
- Budget available
- Number of products
- Number of categories
- Number of stores and store views
- Based on the visits I expect to receive
Surely you can start from the cheapest solution and evaluate in the future a switch to more complex solutions such as dedicated / VPS.
However, I recommend that you rely on an expert consultant or a company specialized in Hosting for Magento 2 , who can advise you on the best solution for your project.
If you need help choosing your hosting, don’t hesitate to contact us !