Deployment architectures¶
This page describes the deployment shapes QubeSight supports, from a single server to a cluster with a disaster-recovery site, and the choices for where the locked store and the backups live. Use it to pick an architecture before you install. The installation procedures are under Installation.
Community Enterprise
Choosing an architecture¶
| Requirement | Recommended architecture | Edition |
|---|---|---|
| Evaluation, small estate, no availability requirement | Single node with the locked store on the same server | Community |
| Archive must survive the loss of the QubeSight server | Single node with the locked store on another server | Enterprise |
| Ingest and the interface must keep running when one server fails | High-availability cluster | Enterprise |
| Recovery in another site after losing the primary site | Disaster-recovery site | Backup and restore: Community. Drills, DR topology: Enterprise |
| Install in your own cloud account | Cloud marketplaces | Community or Enterprise (30-day trial) |
| No internet access | Offline (air-gapped) site | Both |
Single node¶
All services run on one Linux server. This is the result of the first tutorial.
flowchart LR
SRC[Sources] -->|5140/tcp, 9092, 162/udp| N
U[Users] -->|3000 HTTPS| N
subgraph N[QubeSight server]
APP[gateway, ui, control-plane, worker, snmp-trap]
ING[vector, redpanda]
DB[(ClickHouse, PostgreSQL)]
M[(MinIO locked store)]
end
- Strengths: simplest to install and operate; no limit on monitored databases or log volume in Community.
- Protection: the locked store prevents application and database administrators from altering archived activity. Encrypted backups can be written to the locked store or to an SFTP server.
- Limits: the server is a single point of failure. A local locked store does not protect against someone with root access to the server or against the loss of its disks. Set a virtual IP at installation even on a single node: when you later build a cluster, the address moves without reconfiguring sources.
Where the locked store lives¶
The locked store (cold tier) holds every activity record as Parquet files under Object Lock. You choose its location at installation.
| Option | Installer choice | What it protects against | Edition |
|---|---|---|---|
| MinIO on the same server | local — Local MinIO on this server (Community) |
Changes by application and database administrators | Community |
| MinIO vault on another server, deployed by the installer | vault — Install a MinIO vault on another server (Enterprise) |
Also root on the QubeSight server and loss of that server | Enterprise (immutable_vault); the installer can set it up at install time, managing or changing it needs the licence |
| Your own S3-compatible store with Object Lock (another MinIO, Amazon S3, other S3 Object Lock stores) | external — S3/MinIO on another server (Enterprise) |
As above, with your own storage operations | Enterprise (immutable_vault) |
| No locked store | off |
Nothing; data lives only in ClickHouse | Both |
flowchart LR
subgraph A[QubeSight server]
W[worker]
end
subgraph B[Vault server]
V[(qubesight-vault MinIO :9400 Object Lock)]
end
subgraph C[Your S3 store]
S[(S3 bucket with Object Lock)]
end
W -->|vault option| V
W -.->|external option| S
The vault server needs Ubuntu or Oracle Linux / RHEL with Docker or Podman, SSH access for the one-time installation, and port 9400/TCP reachable from the QubeSight servers. The installer copies the vault image from the QubeSight server, so the vault server needs no internet access. Deploying or upgrading a vault later from inside the product is part of Enterprise.
Where backups go¶
Backups contain the configuration (PostgreSQL) and the ClickHouse tables, encrypted with a key derived from your backup passphrase. Activity logs are protected by the locked store itself or by daily encrypted copies.
| Backup location | What is written there | Deletion protection |
|---|---|---|
| Locked store (cold storage) | Configuration backups (locked for the configuration backup lock period, default 30 days) and ClickHouse backups. The activity table is not duplicated: its backup is the locked daily files. | Object Lock on the configuration backups. |
| SFTP (any Linux server) | Configuration backups, ClickHouse backups and a daily encrypted copy of the activity logs, kept for the cold retention period. | None. Files are encrypted and authenticated, so a changed file is detected when it is opened. |
| I will choose later | Backups stay on the QubeSight server's disk only and are lost with the server. | — |
With the backup location and the passphrase alone you can rebuild an installation after losing every server. See Backup and restore.
High-availability cluster¶
Enterprise
A cluster runs QubeSight on two full nodes and a witness. Any one member can fail and the cluster keeps ingesting, serving users and raising alerts.
flowchart TB
SRC[Sources] -->|syslog, SNMP, Kafka| VIP((Virtual IP))
U[Users] -->|3000 HTTPS| VIP
VIP --- N1
VIP -.-> N2
subgraph N1[Full node 1]
A1[All application services]
D1[(ClickHouse replica, PostgreSQL leader)]
K1[Keeper, etcd, Redpanda broker]
end
subgraph N2[Full node 2]
A2[All application services]
D2[(ClickHouse replica, PostgreSQL standby)]
K2[Keeper, etcd, Redpanda broker]
end
subgraph WT[Witness]
K3[Keeper, etcd, Redpanda broker]
end
N1 <-->|replication, mTLS| N2
N1 <--> WT
N2 <--> WT
N1 --> V[(Locked store on another server)]
N2 --> V
| Member | Runs | Purpose |
|---|---|---|
| Full node | Every service: gateway, interface, control plane, worker, Vector, SNMP receiver, ClickHouse, PostgreSQL under Patroni, Keeper, etcd, Redpanda broker, keepalived | Serves users and ingests data. Both full nodes hold a complete copy of the activity data. |
| Witness | ClickHouse Keeper, etcd, a Redpanda broker | Provides the third vote. Stores no activity data and needs little disk. |
| Virtual IP | keepalived on the full nodes | Sources and users connect to one address that moves to a healthy full node. |
- Why three members: automatic failover needs a majority. With two members, neither side of a broken link is a majority. A third member, which can be a small witness, solves this. Larger clusters use an odd number of members (five members tolerate two failures).
- Building it: you make the first server the first node from Platform → System and Cluster → Cluster, then add the second full node and the witness with the add node wizard. The wizard needs each server's address and an SSH user and password once, to install the product's SSH key; the password is not stored. See Add cluster nodes and a witness.
- Traffic between members is encrypted and mutually authenticated with a cluster certificate authority. See Security model.
- The locked store should be on a separate server (vault or external S3) so that it survives the loss of any member.
See High availability and disaster recovery for how failover works and its limits.
Disaster-recovery site¶
A disaster-recovery (DR) site is a server, or a cluster, in another location that you can bring up from the primary site's backups.
flowchart LR
subgraph P[Primary site]
QP[QubeSight]
end
subgraph O[Off-site storage]
LS[(Locked store)]
SF[(or SFTP backup server)]
end
subgraph D[DR site]
QD[New QubeSight installation]
end
QP -->|every 10 min: activity blocks| LS
QP -->|scheduled: encrypted backups| LS
QP -.->|or: encrypted backups and daily log copies| SF
LS -->|restore: settings + last N days| QD
SF -.-> QD
- How it works: the primary writes activity blocks to the locked store every 10 minutes and encrypted configuration and ClickHouse backups on schedule. To recover, you install QubeSight on the DR server with Restore from backup in the web installer (or
install.sh --restore-from), give the backup location and the backup passphrase, and choose how many recent days to load into ClickHouse. Older data is queried from the locked store directly. - No continuous replication. The DR site is not a live copy. Activity that reached the locked store is recovered; configuration changes since the last configuration backup are not.
- Edition: backup, verification and restore from backup are Community. Restore drills, DR readiness and topology views and zone-loss assessment are Enterprise (
disaster_recovery).
See Set up a disaster-recovery site and Disaster-recovery drill.
Cloud marketplaces¶
QubeSight is available as a ready image on the cloud marketplaces. Each image installs itself on first boot with the same installer as on-premises and starts a 30-day Enterprise trial.
- An AMI based on Ubuntu 24.04 LTS, launched with a CloudFormation template (single node).
- The administrator password and backup passphrase are generated on first boot and stored in AWS Secrets Manager.
- Docker data and all state live on a separate EBS data volume, so the instance can be replaced.
- Enterprise can keep the locked store in Amazon S3 with Object Lock, accessed with the instance role (no keys).
- Enterprise entitlement can be checked through AWS License Manager.
- See AWS (AMI and CloudFormation).
- A gallery image deployed with an ARM template: a VM with a data disk, a virtual network and network security group, a public IP with a DNS name and a Key Vault.
- The initial credentials are written to the Key Vault on first boot; the administrator must change the password at first sign-in.
- The network security group opens 3000 and 22 to your administration network and 5140, 9092 and 162/UDP to your ingest network.
- See Microsoft Azure.
flowchart LR
subgraph Cloud[Your cloud account]
VM[QubeSight VM from marketplace image]
DV[(Data volume)]
SEC[Secrets Manager / Key Vault]
OBJ[(S3 Object Lock bucket, Enterprise)]
end
VM --- DV
VM --> SEC
VM -.-> OBJ
SRC[Cloud DB audit streams] --> VM
ADM[Administrators] -->|3000 HTTPS| VM
High availability in the cloud
keepalived-based virtual IPs do not work in public clouds. High availability on AWS is not offered to customers in this release: the draft three-Availability-Zone template in the source tree is not part of the listing and is not supported. Ingest TLS (6514, 9093) is not available on a single node; use a VPN or a private connection for sources outside the cloud network.
Offline (air-gapped) site¶
QubeSight runs without internet access. You bring the container images to the server as a bundle and load them before installation.
- All required images (application, ClickHouse, PostgreSQL, Redpanda, Vector, MySQL, and for the chosen options MinIO, Patroni, etcd, ClickHouse Keeper and keepalived) come from QubeSight, pinned to tested versions.
- The embedded language model is supplied as a file (
--assistant-model) instead of being downloaded. - Automatic updates from the update channel are not reachable; apply signed update packages by uploading them under Platform → System and Cluster → Update.
- Cloud sources (Event Hub, Kinesis, CloudWatch Logs) and external language-model providers need outbound access to their services and are therefore not usable on a fully isolated network.
See Offline (air-gapped) installation.