VPS
A hosting service that gives you a server environment you can configure and run independently, even though it typically shares physical hardware with other customers.
Also known as: виртуальный сервер
What is a VPS?
A virtual private server (VPS) is a rented server environment. It behaves much like a separate computer: you can log in remotely, install software, and reboot it without rebooting the underlying physical machine. The provider typically runs multiple customers' environments on one host. “Private” refers to isolation between customers, not to whether your server is reachable from the internet.
How it works
In a VM-based setup, a hypervisor runs several virtual machines on a physical host. Each VM sees virtual CPUs, memory, a disk, and a network interface, and runs a guest operating system with its own kernel. Some hosts also sell system containers as VPS plans. Those offer a separate server environment but share the host's kernel, which matters if you need a particular kernel or kernel feature.
The provider maintains the hardware and virtualization layer. On an unmanaged plan, you're generally responsible for operating system updates, firewall rules, monitoring, and backups. A managed plan may cover some of those tasks, but check what's included rather than assuming the provider will restore your application after a failure.
Example: running a small web app
Suppose you rent a Linux VPS for a small API. You log in over SSH, deploy the app, and put Nginx in front of it. Nginx accepts public HTTPS requests and forwards them to the app on a local port; the domain's DNS record points to the server's public IP address. The same setup can work for a staging environment, background workers, or a small internal tool. If the app and its database both live on that one VPS, losing the instance can take down the entire service. An off-server backup helps you recover data, but it doesn't keep the service online during recovery.
How it compares with other options
- Shared web hosting: The host manages the server environment, and you deploy within the settings it exposes. Choose a VPS when you need control over system packages or services and can take on the extra maintenance.
- Dedicated server: You rent the whole physical machine. On a VPS, two vCPUs don't necessarily mean two exclusive physical cores. Check the plan's CPU guarantees and disk or network limits, especially if steady performance matters.
- Cloud instance: A cloud VM may use the same underlying technology as a VPS. The distinction is often in the service around it, such as API-driven provisioning, private networking, or integration with load balancers.
VPS interview questions
A common question is whether one VPS is enough for production. Start with the expected load and acceptable downtime. Adding CPU or memory can fix a capacity bottleneck, but it won't remove a single point of failure. If the service must survive a host outage, explain where you'd place additional instances, how traffic would fail over, and what happens to application data.