- Docs
- Getting started
- Concepts and architecture
Concepts and architecture
How PikoStack is put together, the components on each node, and the terms used throughout the documentation.
The big picture#
Billing (WHMCS) · Customer portal · Admin console · Your scripts
│ HTTPS + API token
▼
pikod: hosting API, licensing, setup wizard
│
▼
PikoEngine: compute · network · image · volume · identity services
│
▼
KVM hypervisor · virtual switching · LVM or distributed storage
PikoEngine is the cloud engine at the core: it schedules VMs onto hosts, wires their networks, stores images and volumes, and keeps track of projects and users. You rarely talk to it directly.
pikod is the PikoStack daemon. It runs the setup wizard during installation, then serves the hosting API that billing systems, the console and your scripts use. It also enforces the license and hashes customer passwords before anything reaches the engine.
pikoinstall is the installer. It prepares the host, writes the engine configuration, deploys the services as containers and checks the result with a smoke test. Every stage is idempotent, so you can run it again safely.
piko-migrate is the migration service. It runs inside a converter VM on PikoStack and pulls VMs from your old platforms.
Node roles#
A node is a physical server running PikoStack. In the current release one node does everything. In clusters, nodes take one or more roles:
| Role | Runs |
|---|---|
| Controller | API services, database, message queue, scheduler, console. Use 1 or 3 (odd numbers) |
| Compute | The KVM hypervisor and the VMs |
| Storage | Disks contributed to PikoStore |
| Network | Routing and NAT for tenant networks |
| Monitoring | Metrics and logs |
Key terms#
- Plan
- A VM size: vCPUs, RAM, disk and port speed. Plans the hosting API exposes start with
piko., for examplepiko.small. - Template
- A bootable OS image, such as
ubuntu-24.04, imported from the vendor and verified against its checksum. - Server
- A VM created through the hosting API. Each has an owner (for example
whmcs:1001) and optional tags. - Instance network
- The network VMs are attached to. In NAT mode it is private and masqueraded behind the host; in dedicated-interface mode it is your public subnet.
- Answers file
- The YAML file that records every setup wizard choice.
pikoinstall applycan replay it on any server.
Files and paths on a node#
| Path | Contents |
|---|---|
/etc/pikostack/pikostack.conf |
Installer configuration |
/etc/pikostack/pikod.yaml |
pikod configuration and API token hashes |
/etc/pikostack/license.json |
License file |
/etc/pikostack/engine/ |
Generated engine configuration |
/var/log/pikostack/deploy-latest.log |
Log of the last installer run |
/var/log/pikostack/services/ |
Service logs |
/root/pikostack-setup.txt |
Setup wizard address and one-time token |
Something unclear or wrong on this page? Tell us. © 2026 PikoStack.