VPS First Setup Guide: Secure Server Checklist
Step-by-step VPS initial setup: first SSH login, system update, creating a non-root user, SSH hardening, firewall and fail2ban installation for a secure server.
Technical differences between VPS, VDS and Dedicated servers: virtualization types, performance comparison, use cases, pricing considerations and when to upgrade.
When entering the world of server hosting, you'll encounter VPS, VDS, and Dedicated (physical) server options. Understanding the differences between these three options helps you choose the solution that best fits your needs and budget. This guide explains the technical details in plain language.
Virtualization is the technology of dividing the resources (CPU, RAM, disk) of a physical server into multiple virtual machines. Think of it like a landlord renting an apartment to multiple tenants.
Physical Server (Hardware)
├── Hypervisor (KVM, VMware, Hyper-V)
│ ├── Virtual Machine 1 (VPS/VDS)
│ ├── Virtual Machine 2 (VPS/VDS)
│ └── Virtual Machine 3 (VPS/VDS)
A VPS is created by dividing a physical server into multiple virtual servers using virtualization technology.
VPS Architecture:
- Hypervisor: KVM (Kernel-based Virtual Machine)
- CPU: Shared (vCPU - virtual core)
- RAM: Allocated from shared pool
- Disk: SSD/NVMe, shared storage pool
- Network: Shared bandwidth
A VDS is similar to a VPS, but the vCPU and RAM capacity defined in your package is guaranteed within the package limits. The vCPU model is shared: a physical core is not reserved for a single customer.
VDS Architecture:
- Hypervisor: KVM (full virtualization)
- CPU: Shared vCPU, the capacity defined in the package is usable
- RAM: Capacity defined in the package is guaranteed (no overselling)
- Disk: Dedicated NVMe/SSD storage
- Network: Guaranteed bandwidth
| Feature | VPS | VDS |
|---|---|---|
| CPU | Shared vCPU (oversold) | Shared vCPU, defined capacity without overselling |
| RAM | Shared pool | Defined capacity guaranteed |
| Disk I/O | Shared | Dedicated |
| Performance consistency | Variable | Consistent |
| Price | Low | Medium-High |
A dedicated server is a solution where all physical hardware belongs exclusively to you. There is no virtualization.
Dedicated Server:
- Hardware: Entirely yours
- CPU: Real physical processor (Intel Xeon, AMD EPYC)
- RAM: ECC RAM, fully dedicated
- Disk: Directly attached NVMe/SSD/HDD
- Network: Dedicated port and bandwidth
- IPMI/iDRAC: Hardware-level management
| Feature | VPS | VDS | Dedicated |
|---|---|---|---|
| Virtualization | Shared | Dedicated | None |
| CPU Guarantee | No | Yes | Yes |
| RAM Guarantee | Partial | Yes | Yes |
| Disk I/O | Shared | Dedicated | Direct |
| Performance | Variable | Consistent | Maximum |
| Setup Time | Minutes | Minutes | Hours |
| Scalability | Easy | Easy | Difficult |
| Cost | Low | Medium | High |
| Management | Easy | Easy | Medium |
| Security Isolation | Software | Software | Physical |
| IPMI Access | No | No | Yes |
| Custom Hardware | No | No | Yes |
# Disk I/O test (with fio)
fio --name=randread --ioengine=libaio --iodepth=16 \
--rw=randread --bs=4k --direct=1 --size=1G \
--numjobs=4 --runtime=60 --group_reporting
# Typical results:
# VPS: 500-2000 IOPS
# VDS: 5000-20000 IOPS
# Dedicated: 50000-500000 IOPS (NVMe)
# CPU performance test (with sysbench)
sysbench cpu --cpu-max-prime=20000 run
# Network bandwidth test
iperf3 -c iperf.rexe.tr -t 30
Server types generally rank VPS < VDS < dedicated server by price; the exact ratio depends on the provider and the configuration.
The current base configuration and price of REXE packages is published from a single source — no fixed figure is written into this article:
Start with VPS for the beginning. When you experience performance issues, upgrade to VDS, and for larger needs, move to Dedicated. Upgrades at REXE can generally be done without downtime.
Choosing the right server type is critical for your project's success. Choose VPS for small projects and learning, VDS for medium-scale applications requiring consistent performance, and Dedicated servers for large projects requiring high performance and full control. Remember that REXE offers high-quality hardware and network infrastructure across all server types.
The most important difference is the resource guarantee. With VPS, CPU and RAM are shared through overselling, which can lead to the "noisy neighbour" effect. With VDS the vCPU model is still shared, but the vCPU and RAM capacity defined in the package is guaranteed and no CPU overselling is applied.
For most use cases, yes. VDS offers 70-80% of dedicated server performance at a much lower cost. Unless you need custom hardware (GPU, custom network card) or physical isolation, VDS generally offers better value.
It depends on player count: VPS is sufficient for 1-20 players, VDS is recommended for 20-100 players, and Dedicated may be needed for 100+ players. Game type also matters — for CPU-intensive games like Minecraft, prefer VDS or Dedicated.
Upgrades at REXE can generally be done without data loss. However, always take a backup before upgrading. There may be a brief downtime in some cases. Contact the REXE support team for the upgrade process.
Yes, there's an important difference. KVM (Kernel-based Virtual Machine) provides full virtualization — you can run your own kernel. OpenVZ is container-based and shares the host kernel. All REXE VPS and VDS servers are KVM-based, providing better isolation and flexibility.
Step-by-step VPS initial setup: first SSH login, system update, creating a non-root user, SSH hardening, firewall and fail2ban installation for a secure server.
Choose the right Linux distribution for your VPS: comparison of Ubuntu LTS, Debian, AlmaLinux and Rocky Linux, pros and cons, use cases and recommendations.