Skip to content
Weik.io
Book a demoTry Weik.io

How Weik.io is put together

A Weik.io installation has a hub and any number of agents. The hub runs on one server or on as many as you need for high availability. It stores the versions, configuration and telemetry of your integrations and serves the admin UI, the API and the gateway. An agent runs your integrations on a Linux host with Docker or on Windows Server and connects to the hub with two outbound connections on port 443.

Download the mp4Recorded on 2026.2

The hub and the agents

The hub runs a message server, the backend, the gateway and the log, metric and trace stores on one server, or on as many as you need for high availability, and it publishes port 443. Agents in three places connect to it: at a factory inside a customer network, in the customer's Azure account and as cloud agents in Weik.io Cloud. Each agent has a leaf node beside it and starts one Java process per running integration, and it opens two outbound connections to the hub on port 443, wss for the leaf node and https for telemetry. No agent accepts an inbound connection.

  • The hub runs on one server or on as many as you need. Each server has a message server, a backend and a gateway. The hub also has the log, metric and trace stores.
  • Agents run inside a factory network, in your Azure account and as cloud agents in Weik.io Cloud.
  • On each agent's host, the agent starts one Java process for each running integration. The host also has a leaf node, a small message server that links it to the hub.
  • Each agent makes two connections to the hub, one for the leaf node's link and one for telemetry. Both go out on port 443.

The programs and the store

The backend is one process that serves the HTTP API and builds each integration version. It assigns each deployment to agents and stores the records that integrations send to the entity store. The agent runs your integrations on its host. The API gateway runs on every hub server and, where you want one, beside an agent.

Apart from telemetry, Weik.io keeps all its data in the message server's storage (NATS JetStream). Versions and their files, configuration, events, the entity store and the audit log live in it. The hub keeps logs, metrics and traces in stores of their own. The admin UI is static files inside the backend image. The backend serves them on the same hostname as the API.

Network

FlowPort and protocolWhat it carries
From an agent to the hub443, WebSocket (wss), to one hostnameThe leaf node's link for control traffic, events in both directions and the files of each version the agent runs
From an agent to the hub443, HTTPSLog lines, metrics and traces over OTLP from the agent and from each integration
Into an agentNoneNo inbound connection
Into the hub443 only, TLS 1.2 and 1.3 with AEAD suitesThe admin UI, the API, the CLI, pipelines, API callers and the agents
An agent inside the hub's network7422The leaf node's link of an agent enrolled with --via hub-network, which needs no public name
A gateway at a siteThe addresses listed in its enrolment, such as a LAN addressAPI calls that stay at the site and need no port open towards the hub or the internet

Network reference

Where data lives

DataWhereHow long
Versions and their filesThe hub's object store, by SHA-256Until the version is deleted
EventsOne stream per environment, within the environment's budget30 days
Entity store recordsOne bucket per project, environment and record typeWithin the size limit and history the administrator sets
LogsThe hub's log store30 days
MetricsThe hub's metric store90 days
TracesThe hub's trace store7 days
Audit logA stream the backend's credentials can't delete or shorten400 days
SecretsSealed with AES-256-GCM in the store, under a master key kept in a file on each backend host and never in a backupUntil changed or deleted

High availability

A hub with three data servers, one in each of three zones or data centres, is behind a TCP load balancer that checks /readyz/node on each of them. Every server runs a TLS terminator, the backend, a gateway and a message server. Each data server keeps a copy of the stored data, and any backend answers any request. Backup copies go to S3 storage with Object Lock, where no key can delete a copy early, and a standby hub keeps the newest backup restored and ready.

  • The hub runs on as many servers as you need behind a TCP load balancer with a /readyz/node health check. Three or five of them are data servers that each keep a copy of the storage in a separate zone or data centre.
  • With its data servers in three data centres or cloud providers, one hub keeps working through the loss of a data centre and needs no switch-over step.
  • Any backend answers any request. Every server runs a gateway that keeps serving with the last configuration it received when the backend is down.
  • An integration runs as two or more copies on matching agents. A job that runs one copy at a time moves to another agent when its agent goes away.
  • When the hub is out of reach, agents keep running their integrations and can start them from their saved copy for 24 hours after the hub's last reply, unless you set another limit for the environment. Past that limit, they stop the integrations until they reach the hub again. They keep up to 4 GiB of telemetry on their local disk until the link is back.
  • Backups go to your S3 storage every 6 hours. A standby hub keeps the newest archive restored and ready.

Install Weik.io on several servers

Sizing

PartMeasured
BackendImage about 450 MB, 130 to 300 MB of memory
GatewayImage about 140 MB, 90 to 200 MB of memory
NATSImage 26 MB
One Camel integration131 to 136 MB of memory, or 820 to 880 MB for eight together
The hub's services with the three storesAbout 500 MB of memory when idle
A developer stack with the hub and an agent on one machineUnder 2 GB with up to five integrations
A hub as tested4 vCPUs and 8 GB of memory
Events stored on three 4 vCPU serversAbout 600 a second with local SSD, 70 to 100 a second on network disks

Sizing reference

What runs where

Download the mp4Recorded on 2026.2

Agents

An agent runs on a Linux x86-64 host with Docker that can reach the hub on port 443. Agents are tested on Ubuntu 24.04 LTS. After an admin enrols the agent and Weik.io writes its bundle, you start the agent by running sudo sh ./setup.sh on its host. On Windows Server 2022 and 2025, you install an agent from an MSI installer.

An admin sets capabilities on the agent, such as its region or site, or the data centre it's in. The agent can't set its own. Each integration lists its requirements and runs on the agents whose capabilities match them. An agent reaches only the projects and environments an admin allowed.

Install an agent

/settings/agents/fi-01
The page of the agent fi-01 on Linux with Docker Compose. It serves production and runs three integrations that are all in sync. None of them is failing.The page of the agent fi-01 on Linux with Docker Compose. It serves production and runs three integrations that are all in sync. None of them is failing.The page of the agent fi-01 on Linux with Docker Compose. It serves production and runs three integrations that are all in sync. None of them is failing.The page of the agent fi-01 on Linux with Docker Compose. It serves production and runs three integrations that are all in sync. None of them is failing.
On an agent's page, you see what runs on the agent in the environments it serves and whether its deployments are in sync.

Systems around the hub

Deploy from your pipeline

Your pipeline runs the weikio CLI and pushes the documents of your Git repository to Weik.io. Because Weik.io never connects to a repository, it needs no Git credentials and no network path to your Git host. GitOps and the CLI

Sign in with your identity provider

People sign in through Microsoft Entra ID or any OpenID Connect provider. Claim mappings turn group claims into grants. You can limit local accounts to emergency use. Sign-in and providers

Forward to your monitoring

With a telemetry-forwarding document, the hub forwards logs, metrics, traces and the audit log to Azure Monitor or Splunk HEC, or to an OTLP SIEM. Every process serves Prometheus metrics for your monitoring. Telemetry forwarding

Book an architecture session

An engineer from the Weik.io team plans the hub and the agents for your network with you.

Sign in to the live demo

Sign in with the shared viewer account. It can open every screen of the example projects but can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo