How it works
From a rented Linux server to your own platform: what you need, how installation works and how servers, network and domains fit together.
What you need
No special hardware, no particular provider.
- Linux servers (x86_64 or ARM64), virtual or dedicated. We currently support Debian 12 and 13 only; other distributions are planned.
- At least 4 vCPUs and 8 GB RAM per server; better root servers with 8–16 CPU cores and 16–32 GB RAM
- Root access via SSH to the first server and a public IP for it
- Three servers for a redundant control plane, ideally in the same data center or region
Installation
-
Start the installer on the first server
On the first server you run the installer once as root. You pick your language; it then detects network and addresses, explains each step, asks only for what it can't work out and shows a summary before it starts.
sudo ./install.sh -
The first server sets itself up
The installer checks the requirements, sets up WireGuard and k3s and starts PodStack in the cluster. At the end it shows the address of the interface and a one-time setup code.
-
Account with a second factor
In the browser you create your admin account with the code and connect an authenticator app. Until you add your domain, the interface uses a self-signed certificate – the browser warning is expected; after that PodStack gets a Let's Encrypt certificate itself.
-
VPN access for laptop and phone
You create a WireGuard access and scan the QR code with the official WireGuard app. It later gives you SSH and, if you like, the interface.
-
Add more servers in the browser
In the wizard you enter address and access and confirm the fingerprint. PodStack connects via SSH once for the initial setup, hardens the server, installs the agent and adds it – every step visible live and repeatable. After that, commands go through the agent. The first three become control servers.
-
Close public SSH
As soon as your VPN access works, you close public SSH with one click. From then on, SSH to the servers only works through WireGuard.
PodStack has not been released for download yet. The flow above describes what has been built and is currently being tested on real servers.
An encrypted network between your servers
Every server automatically gets WireGuard when it joins. All traffic between servers – Kubernetes, databases, storage – runs encrypted through this mesh, whether a VLAN, the internet or another provider lies underneath.
Private keys are generated on each server and never leave it. Servers live in 10.88.0.0/16, VPN access for your devices in 10.89.0.0/16.
Edge servers, app domain and your own domains
Planned
Servers with a public IP can be edge servers: they accept web traffic and act as gateway for servers without a public IP. Every cluster gets its own address under your app domain that points to all its healthy edge servers; PodStack maintains it through the DNS API and obtains a wildcard certificate.
Every app gets a fixed address such as main.shop.northwind.project.example.net that points to its cluster. Your own domains point to it via CNAME and so follow every failover and every move. For apex domains PodStack sets the records directly or uses ALIAS or CNAME flattening.
App domain and management domain are always your own and kept apart. podstack.cloud is never in the path of your installation.
- Your domain
shop.example.com - Fixed app address
main.shop.northwind.project.example.net - Healthy edge servers
edge-1edge-2
Explained step by step
How managing your clusters works
What do you want to do? Pick your goal above and go through the steps with “Next”. Example: the company Northwind uses PodStack for its web shop on its own servers. The moving line shows where the data is flowing right now.
All IP addresses are example values from documentation ranges. “Cluster 0” is the management cluster that runs PodStack management (dashboard and API). “Northwind” is an example customer with three servers of its own, nw-01 to nw-03.