What a VPS server is and how it works inside

A VPS server (virtual private server) is a computer created by software inside a larger physical machine. It has its own operating system, its own disk and memory, and an administrator account that belongs to you, so you use it like a separate server without renting the hardware.

Updated: · Prices in the text are with the public IP (₼10 a month) unless stated otherwise.

How one machine becomes many servers

A physical server in a data centre may have dozens of processor cores and hundreds of gigabytes of memory. Very few projects need all of it. A thin layer of software, the hypervisor, divides that machine into virtual ones and keeps them apart. Each virtual machine believes it has real hardware: it sees a processor, a disk, a network card and a screen, then boots an ordinary operating system on top.

Three consequences matter to you:

  • Isolation. Your neighbours cannot see your files or processes, and a crash in their system does not restart yours.
  • Freedom of choice. Because the kernel is your own, one virtual machine can run Debian while the next one runs Windows Server.
  • Sharing. The physical processor, disks and network line still serve several customers. Isolation protects your data; it does not make the hardware infinite.

Anatomy of a VPS, layer by layer

LayerWhat it isWho looks after it
Building, power, networkData centre, cabling, switchesProvider
Physical server and hypervisorHardware plus the layer that divides itProvider
Virtual hardwareYour vCPU, RAM, NVMe disk and network cardProvider creates it, you choose the size
Operating systemUbuntu, Debian or Windows ServerYou, after the first boot
ServicesWeb server, database, runtime, mailYou
Application and dataYour code, files, customer recordsYou, including backups

Most misunderstandings happen at the line between rows three and four. The provider keeps the virtual machine running; an outdated plugin, a full disk or a lost database is on your side. If you would rather hand over that part, read what a managed VPS covers.

What vCPU, RAM and NVMe mean in practice

vCPU is processor time scheduled onto physical cores. One vCPU runs one thing at a time, so it decides how fast a single heavy task finishes; more vCPU let more tasks run side by side. A web page that needs 200 ms of computing will not become faster with eight vCPU if the code uses only one.

RAM is the hard limit. When programs need more than the server has, Linux either swaps to disk, which is slow, or kills a process. A database that "disappears at night" is usually this. The guide to RAM shows how to measure the real need.

NVMe is storage attached over a fast bus. It helps most where many small reads and writes happen: databases, package installs, sites with thousands of files. It does not help a script that waits for an external API.

Network address. A public IPv4 address lets the world reach the server. At Cloudraft it adds ₼10 a month to the server price: the smallest plan, Nano, is ₼14.90, or ₼24.90 with its address. Having an address does not mean every service should use it: a database should listen only on the private subnet or on the machine itself. A server with no public address at all is a separate product, the private network VPS behind your own router, for the server price without the public IP plus ₼35 a month for a new private network and router.

What root access allows, and what it does not

Root on Linux and Administrator on Windows are the highest accounts inside your virtual machine. With them you may install any software, change kernel settings, open ports, create users and read every file. Nobody will stop you from deleting the wrong folder either.

Root does not reach outside the virtual machine. You cannot change the size of your own server from inside it, see other customers, or bypass the network rules of the provider. Those things are done from the control panel: at Cloudraft it has start, stop, restart, a browser console for when SSH is broken, OS reinstall and requests for more CPU, RAM or disk.

The first hour on a new Linux server

The commands below work on Ubuntu 24.04 and Debian 12. Run them as root, in this order.

  1. Compare what you received with what you ordered.
nproc          # number of vCPU
free -h        # memory
df -h /        # disk
  1. Install updates and reboot once, because a new kernel only loads at boot. Log in again afterwards.
apt update && apt full-upgrade -y
reboot
  1. Create a normal user so that daily work does not happen as root.
apt install -y sudo
adduser deploy
usermod -aG sudo deploy
  1. Set up key login for that user and test it in a second window; the SSH guide has the steps for each system.
  1. Close everything except SSH. Open web ports when a web server exists, not before.
apt install -y ufw
ufw allow 22/tcp
ufw enable
  1. Set the time zone and list what is listening.
timedatectl set-timezone Asia/Baku
ss -tulpn
  1. Write down the hostname, IP address, user name and date somewhere that is not on the server. Then continue with the hardening steps.

Where a VPS fits and where it does not

A VPS fits websites, APIs, bots, internal tools, test environments, small databases and accounting systems: things that must be online all the time and need their own settings. It is a poor fit for a single brochure site nobody wants to maintain, for graphics-card work, and for archives of many terabytes, where object storage costs less.

For scale: the list here runs from Nano (1 vCPU, 1 GB RAM, 30 GB NVMe) to Ultimate (16 vCPU, 64 GB RAM, 400 GB NVMe). Most first projects sit in the lower half.

Common questions about how a VPS server works

What does VPS stand for?

Virtual private server. "Virtual" because software creates it inside a physical machine, "private" because the operating system, files and administrator account are yours alone.

Is a VPS server a physical computer?

No. It is a virtual machine on a physical computer in a data centre. The programs you install cannot normally tell the difference, which is why ordinary Linux and Windows software runs without changes.

Do I need programming skills to run a VPS?

Programming is not needed, but you should be comfortable with typed commands on Linux or with server settings on Windows, and ready to install updates regularly.

What happens to a VPS when I turn off my computer?

Nothing. The server runs in the data centre, and programs started as services keep working. Only programs you started by hand in an open terminal may stop when the connection closes.

Can I change the operating system later?

Yes, by reinstalling from the panel. Reinstalling erases the disk, so copy your data elsewhere first. Windows Server needs the Standard plan or a larger one.

Read next

All VPS pages

This page in other languages: Русский · Türkçe

Servers in Baku, prices in manat

Create an account, top up your balance and order the plan you need.