Hacı Mert Gökhan

Writing·Project

A virtual server panel for TREAS, from scratch

I rebuilt a hosting company's customer panel with VMware vCenter, Java and Next.js: virtual servers, invoices and support in one place.

TREAS is an Istanbul-based infrastructure company offering VPS, VDS, dedicated servers, game servers and web hosting. The place its customers use every day is the client panel at cp.treas.net.tr — and I wrote that panel from scratch instead of using an off-the-shelf product.

Why from scratch?

Ready-made panels usually focus either on billing or on servers; combining both in one flow that fits a company's own infrastructure is hard. Since every virtual server runs on VMware, I designed the panel to talk to VMware vCenter directly.

What customers can do

  • Manage their virtual servers: status, vCPU, memory, IP address and live CPU usage for every server on one screen.
  • Track invoices and balance, and order new services from the store.
  • Open support tickets and follow replies in the same place.
  • Sign in with a password, with Google, GitHub, Microsoft or Discord, or with a passwordless magic link sent by email.

Under the hood

  • Backend: Java — the services that talk to vCenter and handle virtual machine operations and resource data.
  • Front end: Next.js.
  • Infrastructure: virtual servers managed through VMware vCenter.

The most important thing in a hosting panel is trust: when customers press a button, they should be able to see what their server is doing. I built the panel around that idea.

More writing

  1. I rewrote this site in RustNote
  2. Zeslee: someone is always there to pick upProject
  3. Denis: why I wrote my own databaseProject
  4. Arcus Labs: a system for every jobProject