Ultimately, it is used to decrease hardware costs by condensing a failover cluster to a single machine. Thus decreasing costs dramatically while providing the same services. Server roles and features are generally designed to operate in isolation. For example, Windows Server 2019 requires a certificate authority and a domain controller to exist on independent servers with independent instances of windows server. This is because additional roles and features adds areas of potential failure as well as adding visible security risks (placing a certificate authority on a domain controller poses the potential for root access to the root certificate). This directly motivates demand for virtual private servers in order to retain conflicting server roles and features on a single hosting machine. Also, the advent of virtual machine encrypted networks decreases pass-through risks that might have otherwise discouraged VPS usage as a legitimate hosting server.
The force driving server virtualization is similar to that which led to the development of time-sharing and multiprogramming in the past. Although the resources are still shared, as under the time-sharing model, virtualization provides a higher level of security, dependent on the type of virtualization used, as the individual virtual servers are mostly isolated from each other and may run their own full-fledged operating system which can be independently rebooted as a virtual instance.
As you can see, a VPS can be the perfect middle ground for many – enough flexibility and resources for those who need more access or control than on a shared server but without the cost of a dedicated server. If you need root access, you can’t get that on a shared server, but you can get it on a VPS. If your site experiences unpredictable swings memory usage, and your host provides it, then the presence of burstable memory will be attractive. And, if you’re a fan of customization, then the fact that you can customize server-level software such as PHP, MySQL, and Apache will perk your interest. In short, choosing a VPS will allow you to have many of the same characteristics of a dedicated server but in a more affordable and manageable package.