A VPS for Pterodactyl: the panel, Wings and game servers
Pterodactyl is a free panel for managing game servers. It has two parts. Panel is a PHP web interface with a MariaDB or MySQL database and Redis: it is where you set up users, servers and limits. Wings is a Go daemon installed on each node that runs every game server in its own Docker container with hard limits on memory, CPU and disk. Both parts can go on one VPS, or you can put the panel on a small server and connect as many Wings nodes to it as you like.
Virtualisation: full only
The Pterodactyl documentation states plainly that Wings will most likely not start on OpenVZ, Virtuozzo and LXC, while on KVM it always works. The reason is Docker: it needs its own kernel, cgroups and network modules. You can check a server with the systemd-detect-virt command: if the answer is openvz or lxc, the plan won't do. Another trap is some hosts' modified kernels that lack the functions Docker needs; Wings requires the distribution's standard kernel. That is why only KVM VPSs made it into the table above. More on container requirements is on the VPS for Docker page.
Wings officially supports Ubuntu and Debian (and, in the 1.x branch, Rocky Linux and AlmaLinux too); it doesn't run on Windows. The panel needs a web server (NGINX, Apache or Caddy), PHP with extensions, a database and Redis, which together take about 1 GB of memory, so it's better not to put the panel on a tiny plan along with games.
How much memory to allow for games
A Wings node is sized as the sum of the servers that will run on it, plus 1–2 GB for the system, Docker and the panel. Guidelines for a single server:
- Terraria, Factorio, TeamSpeak: 0.5–2 GB.
- Minecraft on Paper: 2–6 GB depending on plugins and player count, modpacks 8 GB and more. Covered in detail on the VPS for Minecraft page.
- Valheim, CS2: 2–4 GB.
- Rust, ARK, Palworld: 8–16 GB per server, and even more towards the end of a wipe or with a large world.
The panel lets you set memory overallocation on a node, but for games this is dangerous: if the containers together use more than physically exists, the kernel will start killing processes. On nodes where servers are given to other people, leave headroom and enable swap accounting (on kernels 6.1 and newer it is on by default).
CPU and disk
Most game servers simulate the world in one main thread, so core clock speed matters on a node, while the number of cores determines how many servers can live side by side. Four fast cores are a sensible minimum for several servers. In Pterodactyl you can pin a server to specific cores so that a heavy Rust server doesn't steal time from the Minecraft server next to it.
NVMe is the better disk: Docker images, game files and saves grow quickly, and installing each server through SteamCMD downloads gigabytes. CS2 or ARK take tens of gigabytes before the first backup. Pterodactyl's built-in backups are stored on the same node by default; for reliability, set up uploads to S3-compatible storage.
One machine or several nodes
For a first try and a server for a group of friends, one VPS running both the panel and Wings is enough. As the number of games grows, it pays to split the roles: the panel and database live on a small cheap server, and the games on several Wings nodes, which can be placed in different countries closer to the players. Nodes are added in the Nodes section, and the panel distributes new servers across them based on free memory and disk. If a node fails, the panel and the other games keep running. The panel talks to the nodes over the internet, so it doesn't have to be in the same data centre; what matters is that the game nodes are close to the players.
Network and ports
Wings accepts commands from the panel over HTTPS on port 8080 and gives users SFTP on 2022; both ports must be open, and for HTTPS the node needs its own domain with a certificate. Each game server gets its own ports from a range you allocate (allocations), and these must also be allowed through the firewall. Public game servers are attacked often, so for a node with open games choose a host with DDoS protection, and keep the panel behind an IP restriction where possible.