Upgrading the Server That Runs Our Challenges
This spring, our server got more memory and a fresh Proxmox setup that keeps every challenge well away from the rest of the platform.
By Edward Z.4 min read

Inside our server: the CPU heatsink with an airflow arrow, next to rows of memory modules
When we launched cyberstudents.net and the Advent of CTF platform last December, everything ran on a single server that we look after ourselves. It carried us through 25 days of challenges and 780 players, but it was starting to feel a little cramped, so this week we gave it a proper upgrade.
Why we host it ourselves
Running our own hardware keeps costs low for a community that’s free to join, and it gives us complete control over how challenges are deployed. Players reach the site through a Cloudflare Tunnel, which means the server never has to open a port to the internet, while Cloudflare sits in front of everything and deals with unwanted traffic before it ever reaches us.
More memory
Right before Advent of CTF 2024 began, we added a memory stick to keep up with the extra load. This time, we installed two 16 GB RAM modules, which gives us plenty of headroom to run more challenge instances side by side and lets the website and its database breathe during the busiest hours, like the minutes right after a new challenge drops.

Moving to Proxmox
The bigger change is under the hood. We rebuilt the server around Proxmox VE, an open-source virtualization platform, so each part of CyberStudents now lives in its own virtual machine or container. The website and its database have a space of their own, the challenge infrastructure has another, and our other community services sit separately again.
Players
Anyone visiting cyberstudents.net
Cloudflare
Sits in front of everything and handles unwanted traffic
Our server, running Proxmox VE
Website and platform
Next.js app and its PostgreSQL database
Challenge instances
Kept apart from everything else
Other services
Each in its own VM or container
Any machine can be snapshotted and rolled back if a change goes wrong
Splitting things up this way has some really nice benefits. A challenge that’s meant to be hacked can’t reach anything it shouldn’t, we can snapshot a machine and roll it back if a change goes wrong, and we can update one service without taking down the others.
Every challenge we host is designed to be broken into, so keeping them well away from the database and the website was at the very top of our list.
What’s next
With the upgrade done, we’re in a much better spot for whatever comes next, including a second Advent of CTF this December. If you’re curious about the platform itself, all of its code is open source, and we’re always happy to chat about how it works in our Discord server.
