Quick Start
On this page 9 sections
Deploy QSCS in front of your application on a Linux host or Kubernetes. Start with unlimited nodes, domains and origins without creating a Spook Systems account. Each node enrolls with its own persistent identity. You can claim the deployment later to manage it in the control panel and view its retained telemetry.
Choose your deployment method
- Kubernetes: run the Docker Hub image with persistent volumes and environment variables. A named initializer creates the substrate; a second replica joins automatically.
- Linux / APT: install the native service, start a registration-free node and add your origin locally.
- Existing account: keep using direct licensing and domain subscription if you already manage your deployment in the control panel.
All methods need access to your upstream application and outbound HTTPS (TCP 443) to spooksystems.org for enrollment and monitoring.spooksystems.org for telemetry. Registration is optional for the free deployment; it is required to claim and manage it through the control panel.
Start on Kubernetes
Use docker.io/spooksystems/qscs:latest on Linux amd64 workers. Create a StatefulSet with one or two replicas, a separate persistent volume at /var/lib/qscs for each node, and stable per-pod DNS addresses. Run as user and group 10001 and make the volume writable through fsGroup: 10001.
Set QSCS_BOOTSTRAP_MODE=auto-cluster, name the initializer with QSCS_INITIAL_REPLICA, and populate QSCS_REPLICA_NAME from the pod's name. Mount one private deployment secret in both replicas and reference it through QSCS_DEPLOYMENT_SECRET_FILE. Each replica also needs its own QSCS_ADVERTISED_PEER.
Set ORIGIN=https://origin.example.com to the upstream application and FRONTEND=app.example.com to the hostname visitors use. Route the frontend through your ingress to TCP 8080, preserving the Host header. Peers use TCP 4443. No manual invitation or shell command is needed for the initial automatic join.
Deploy on Kubernetes covers the required settings, secret generation, storage permissions, ingress, verification and adding nodes after claiming. Start with one replica or two; use the same deployment secret only for members of this deployment.
Install on Linux
Use a 64-bit x86 Debian or Ubuntu host with apt, systemd and sudo. These commands install the native service; they do not require a Spook Systems login.
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo install -d -m 755 /usr/share/keyrings
curl -fsSL https://spooksystems.org/apt/qscs-archive-keyring.asc \
| sudo gpg --dearmor -o /usr/share/keyrings/qscs-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/qscs-archive-keyring.gpg] https://spooksystems.org/apt stable main" \
| sudo tee /etc/apt/sources.list.d/qscs.list
sudo apt-get update
sudo apt-get install qscs-bootstrap
See Installing the Daemon for host requirements and small-node guidance.
Start without an account
On a fresh installation, set AdvertisedPeer in the [QSCS Daemon] section of /etc/qscs/qscs.conf to this node's address, reachable by any future peer on TCP 4443. Keep the supplied enrollment and monitoring addresses.
[QSCS Daemon]
AdvertisedPeer = node1.example.com
Edit the existing section rather than replacing the rest of the file. Then start the service. With no existing enrollment or account license, QSCS automatically creates an anonymous account handle and substrate and saves the credentials locally.
sudo systemctl start qscs
sudo qscs status
Add an origin on this administrator node. Replace both example hostnames with your application details:
printf '%s\n' '{"origin":"app.example.com","backend_address":"https://origin.example.com","proxy_all":0,"persist_cache":1}' | sudo qscs enrollment origin.put
For a loopback or private backend, set AllowPrivateBackends = true in the daemon section before starting QSCS. Point your frontend routing at the node's HTTP listener on port 8080, with HTTPS handled by your existing ingress or reverse proxy. Adding an origin does not itself verify hostname ownership or create public DNS records.
To add the second Linux node, use the invitation join before its first start. Keep each node's identity and state separate. You do not need to run qscs license or create a domain in the portal for this free flow.
Alternatively, activate with an existing account
For a fresh host that you want to register directly to an existing account, use the established licensing flow instead of starting a new anonymous deployment:
sudo qscs license <username>
If the node has already enrolled anonymously, claim its deployment to preserve its identity and state.
Subscribe a directly licensed node
Use the domain tag from your account. This step applies to directly licensed nodes, not replicas already joined through automatic enrollment or an invitation.
sudo qscs subscribe domain <cluster-tag>
The platform supplies the domain's peer list, role and origins. See Joining a Cluster for both enrollment and registered-domain workflows.
Start the subscribed service
sudo systemctl restart qscs
sudo systemctl status qscs
Verify delivery
For the Linux service, make a request using the configured frontend hostname:
curl -i -H "Host: app.example.com" http://127.0.0.1:8080/
On Kubernetes, use your ingress or the port-forward check. Confirm the expected application content, inspect X-QSCS-Mode when present, and check qscs status. With two nodes, their account handle and substrate ID should match, while their UUIDs should differ. Cache and HEADLESS behavior depend on the response's eligibility and state actually retained on the serving node.
Claim later, or keep running free
You can continue operating the free deployment without registration. To use the control panel and SpookVis, register or sign in, select Claim existing deployment, and enter the account handle shown by qscs status. Approve the challenge on the unclaimed administrator, then confirm the deployment in the portal. Follow the claim steps.
Unclaimed operational telemetry has a 30-day retention period. Claiming preserves the substrate, node identities, configuration and retained monitoring data. Node, domain and origin quantities are unlimited; paid feature entitlements are separate.
- Deploy on Kubernetes for container settings and automatic joining.
- Recommended Topologies for placement and roles.
- Configuration Reference for native configuration.