WhichWebHosting home

HomeGuidesHosting typesWhat is VPS hosting?

What is VPS hosting?

Published

Share

DigitalOcean describes a virtual private server (VPS) as a virtualized server that mimics a dedicated physical server, with your own set of resources and a dedicated operating system.1, source 1 Software called a hypervisor isolates the necessary computing resources and allows the creation and management of virtual machines.2, source 2 A Droplet, DigitalOcean's brand name for a VPS, is a Linux-based virtual machine that runs on top of virtualized hardware.1, 3, sources 1 and 3

What does VPS stand for and what is it?

VPS stands for virtual private server.1, source 1 A virtual machine is an isolated computing environment with its own CPU, memory, network interface and storage, created from a pool of hardware resources.2, source 2 Virtualization makes it possible for a single computer to act like many different computers at the same time.2, source 2

Without virtualization, you can only run one operating system on the hardware.4, source 4 Virtualization began in the 1960s as a technology for time-sharing on mainframe computers.2, source 2

The physical hardware that runs a hypervisor is called the host, and the many virtual machines that use its resources are guests.4, source 4 With virtual machines, you can place many virtual servers on each physical server to improve hardware use.2, source 2 Virtualization allows virtual machines with several different operating systems to run at the same time on a single physical device.5, source 5

Each DigitalOcean Droplet is a new server you can use either standalone or as part of a larger, cloud-based infrastructure.3, source 3 A virtual machine can be defined by a single data file.5, source 5 Because a virtual machine is an isolated environment, it can be moved from one computer to another, opened in either, and be expected to work the same.5, source 5

How does a VPS work?

A hypervisor is sometimes called a virtual machine monitor.4, source 4 A hypervisor takes resources from physical hardware and supplies them to multiple virtual machines at once.4, source 4 The hypervisor gives each virtual machine the resources allocated to it and manages the scheduling of virtual machine resources against the physical resources.4, source 4 The physical hardware still does the execution, meaning the CPU executes the instructions the virtual machines request while the hypervisor manages the schedule.4, source 4

On DigitalOcean, a hypervisor makes sure that the multiple Droplets running on a physical host each receive their virtual resources, such as vCPU.3, source 3 A type 1 hypervisor is on bare metal, and it schedules virtual machine resources directly to the hardware.2, source 2 KVM, Microsoft Hyper-V and VMware vSphere are examples of type 1 hypervisors.4, source 4

A type 2 hypervisor is hosted, meaning virtual machine resources are scheduled against a host operating system, which is then executed against the hardware.2, source 2 VMware Workstation and Oracle VirtualBox are examples of type 2 hypervisors.2, source 2

In Linux environments, the built-in hypervisor is called the Kernel-based Virtual Machine.2, source 2 KVM is a full virtualization solution for Linux on x86 hardware containing Intel VT or AMD-V virtualization extensions.6, source 6 KVM consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor-specific module, kvm-intel.ko or kvm-amd.ko.6, source 6

Using KVM, you can run multiple virtual machines running unmodified Linux or Windows images.6, source 6 Each KVM virtual machine has private virtualized hardware, such as a network card, a disk and a graphics adapter.6, source 6 KVM is open source software.6, source 6 Hyper-V supports a wide range of operating systems for guest virtual machines, including many versions of Windows, Linux and FreeBSD.7, source 7

How are CPU and memory shared on a VPS?

Each Droplet is allocated resources, such as CPU, RAM and disk storage, from a physical host.3, source 3 The Droplet plan you choose determines the amount of resources allocated to the Droplet.3, source 3 On DigitalOcean, a vCPU is a unit of processing power corresponding to a single hyper-thread on a processor core.3, source 3 On DigitalOcean, resources such as RAM, disk storage and network bandwidth are always dedicated, but you can choose between shared CPU and dedicated CPU plans.3, source 3

Dedicated CPU Droplets have guaranteed access to the full hyper-thread at all times.3, source 3 With shared CPU Droplets, the hyper-thread allocated to the Droplet may be shared between multiple other Droplets.3, source 3 When a shared CPU Droplet experiences heavier load, the hypervisor dynamically allocates more hyper-threads to it.3, source 3 How many CPU cycles the hypervisor has available to allocate to a shared CPU Droplet depends on the workload of the other Droplets sharing that host.3, source 3

If neighboring Droplets have high load, a shared CPU Droplet could receive fractions of hyper-threads instead of dedicated access to the underlying physical processors.3, source 3 On DigitalOcean, Basic Droplets are shared CPU and are ideal for apps that mostly run at low to medium load and occasionally burst for brief periods of time.3, source 3 For production workloads where time is of the essence or variable performance is intolerable, DigitalOcean advises choosing dedicated CPU Droplets.3, source 3 In DigitalOcean's v5 Droplet configurations, Shared configurations use shared vCPUs for bursty or variable workloads, while General Purpose configurations use dedicated vCPUs for consistent performance.3, source 3

An undersized Droplet running at full CPU or memory would suffer from degraded performance or errors.3, source 3 On a Droplet without sufficient RAM, memory-hungry applications such as large production databases or in-memory caches typically run slowly or can occasionally become unstable and crash.3, source 3 Liquid Web says you can upgrade CPU, RAM or storage on a self-managed VPS right from your portal, with no downtime or complicated migrations.8, source 8

KnownHost Managed VPS plans, such as Basic, Standard, Professional, Premium and Extreme, reserve dedicated CPU cores and memory on AMD EPYC 9000 series servers.9, source 9 KnownHost describes Semi-Dedicated Hosting as similar to a VPS but without the need for root access or server management.10, source 10

What can you do with a VPS?

Red Hat says that because virtual machines are separated from the rest of a system, they are a good option for testing new applications or setting up a production environment.5, source 5 You can also run a single-purpose virtual machine to support a specific process.2, source 2 DigitalOcean lists low traffic web servers, discussion forums and dev/test servers among the workloads that suit its shared CPU Basic Droplets.3, source 3

DigitalOcean lists medium-to-high-traffic web servers and e-commerce sites among the workloads that suit its dedicated CPU General Purpose Droplets.3, source 3 You choose the Droplet plan, operating system and data center region when you create a Droplet.1, source 1

You can create a Droplet from the DigitalOcean control panel.1, source 1 Droplets can be managed through a user interface, a command-line tool, an API and a Terraform provider.11, source 11 Liquid Web Self-Managed VPS plans of 4, 8 and 16 GB RAM run Linux or Windows on a 10 Gbps network.8, source 8 Windows is available on Liquid Web Managed VPS plans, which are fully managed.12, source 12

DigitalOcean does not provide Windows images for Droplets or support Windows custom images.13, source 13 You can install cPanel and WHM on AlmaLinux, Rocky and Ubuntu Droplets.13, source 13

How do you get root access and connect to a VPS?

You connect to a DigitalOcean Droplet over SSH, using the root password or an SSH key.11, source 11 OpenSSH provides a server daemon and client tools for secure, encrypted remote control and file transfer, effectively replacing legacy tools such as telnet and rcp.14, source 14 OpenSSH can use many authentication methods, including plain password, public key cryptography and Kerberos tickets.14, source 14 SSH-key authentication uses a private key and a public key.14, source 14

Ubuntu recommends the ed25519 elliptic curve algorithm for SSH keys because of its shorter key size and lower computational requirements.14, source 14 Ubuntu advises checking the SSH server configuration after changing it and before restarting the server, since losing an SSH server might mean losing your way to reach a server.14, source 14 Liquid Web Self-managed VPS gives full root access to install your own software, kernels and security tools.8, source 8 Liquid Web Managed VPS gives full root access too.15, source 15

KnownHost Unmanaged VPS plans from Entry through Extreme come with full root access.16, source 16 They also include a VPS control panel that allows shutdown, reboot or reinstall.16, source 16 InterWorx, cPanel and Plesk are available on the 4, 8 and 16 GB Liquid Web Self-Managed VPS plans.8, source 8

What is the difference between managed and unmanaged VPS hosting?

KnownHost sells managed options for hands-off hosting and unmanaged options for experienced people who want full control.17, source 17 When you compare VPS hosts, check which level of server administration each plan includes. DigitalOcean's core Droplet offering is unmanaged, meaning you are responsible for managing the server.1, source 1 KnownHost unmanaged products include hardware management and network availability only, and moving a server from unmanaged to managed requires a full reinstall or a recertification fee at KnownHost's discretion.18, source 18

Liquid Web offers three support levels consisting of self-managed, core managed and fully managed.19, source 19 Core operating system updates and patches are included in the Liquid Web core and fully managed tiers but not the self-managed tier.19, source 19 Support for Liquid Web-provided control panels is included only in the fully managed tier.19, source 19 Liquid Web fully managed VPS plans cover system and control panel updates, firewall setup, PHP support and extra security features.12, source 12

Liquid Web includes technical support for Managed VPS and not for Self-managed VPS, though all three of its support tiers have 24/7/365 support availability.15, 19, sources 15 and 19 When you move to a fully managed VPS at Liquid Web, its team handles your website content, email, databases and control panel accounts.12, source 12 On a Liquid Web fully managed VPS, the team helps with backups and data restores.12, source 12 On a KnownHost managed VPS, you get the Kickstart onboarding program, which covers configuration, migration and post-migration checks.9, source 9

On KnownHost managed VPS, nightly OS and control panel updates are enabled, the CSF firewall is configured and the default SSH port is changed.9, source 9 On KnownHost managed VPS and managed dedicated servers, OS management and troubleshooting are always included, third-party applications and custom configurations get best-effort support, and remote desktop environments are not supported.18, source 18

How is a VPS different from a container or a cloud server?

Docker explains that, like a container, a virtual machine isolates software, but it does so by pretending to be a whole computer.20, source 20 Every virtual machine boots its own complete operating system, including its own kernel.20, source 20 Virtual machines contain their own operating system, which allows them to perform multiple resource-intensive functions at once.2, source 2 Containerization packages software or applications in a container that shares the host operating system.5, source 5

Every container on a machine shares that machine's kernel.20, source 20 A container has no operating system to boot, which is why it starts in about a second and why one machine can run many of them.20, source 20 Containers that share a kernel are separated by that kernel, while virtual machines are separated by the hardware boundary the hypervisor creates.20, source 20 A hypervisor allows you to run multiple operating systems in virtual machines, but containers are only able to run a single type of operating system.4, source 4

Docker describes cloud servers as usually virtual machines that run many containers each.20, source 20 Virtualization is a foundational technology that helps make cloud computing possible.2, source 2 In a live migration, a virtual machine continues to run on the source host machine while its memory pages are transferred to the destination host.5, source 5 In a cold migration, a virtual machine is turned off during the process before it moves from the source host to the destination host.5, source 5

Is a VPS isolated and secure?

A virtual machine environment is isolated from the rest of a system, so whatever is running inside a virtual machine does not interfere with anything else running on the host hardware.2, source 2 Because virtual machines are isolated, even if a virtual machine is compromised, the entire system should not be impacted.4, source 4 If the hypervisor itself is hacked, that can cause problems for all of the virtual machines it manages and leave the data in each virtual machine vulnerable.4, source 4 Security protocols and requirements may vary based on the type of hypervisor.4, source 4

Virtual machines provide additional disaster recovery options by enabling failover that could previously only be achieved through additional hardware.5, source 5 Microsoft says Hyper-V's ability to snapshot virtual machines before making changes provides a safety net for experimentation and rollback scenarios.7, source 7 Backups are not included by default with KnownHost unmanaged VPS plans, and you are responsible for creating and maintaining your own.16, source 16

When a client connects to an OpenSSH server, the server returns a banner providing information about the host operating system and OpenSSH versions.14, source 14 Traditional tools such as telnet or rcp are insecure and transmit your password in cleartext.14, source 14 On Ubuntu, because OpenSSH uses the first value set for most directives, settings defined in files within /etc/ssh/sshd_config.d/ override those in the main configuration file.14, source 14

Common questions

What does VPS stand for?

VPS stands for virtual private server.

What is a VPS host?

The host is the physical hardware that runs a hypervisor. The many virtual machines that use its resources are guests.

What can you run on a VPS?

Web servers, discussion forums, dev/test servers and e-commerce sites suit DigitalOcean Droplets. DigitalOcean suggests shared CPU Basic Droplets for low traffic web servers, forums and dev/test servers, and dedicated CPU General Purpose Droplets for medium-to-high-traffic web servers and e-commerce sites. You can also run a single-purpose virtual machine to support a specific process.

Do you get root access on a VPS?

Sometimes, depending on the plan. Liquid Web Managed VPS and Self-Managed VPS both give full root access. KnownHost Unmanaged VPS plans also come with full root access.

Is a VPS the same as a container?

No. DigitalOcean describes a VPS as a virtualized server with a dedicated operating system, while a container shares the machine's kernel. A container has no operating system to boot.

Is a VPS managed or unmanaged?

Either, depending on the plan you choose. DigitalOcean's core Droplet offering is unmanaged. KnownHost sells managed options for hands-off hosting and unmanaged options for experienced people who want full control.

Sources

Every fact on this page comes from one of these, checked before it goes live.

More guides

Hosting types

How to choose a VPS provider

To choose a VPS provider, fit the plan to your workload, pick shared or dedicated CPU, decide who runs the server, and check location, backups and support.

· Mateo Cardenas

Hosting types

Web hosting vs WordPress hosting

WordPress hosting is web hosting that runs WordPress. Most web hosts can run it; with managed WordPress hosting, the provider manages the software.

· Mateo Cardenas

Hosting types

What is shared hosting?

On shared hosting, many accounts share one server's resources, and you're limited to the software your host provides or supports.

· Mateo Cardenas