Easy DevOps Hub
One place to see and manage every server you run. Pairing is an outbound connection from the server: no inbound port, no public dashboard, and every action gated by permissions you set locally.
Runs the daemon and the dashboard. Holds the data, certificates and permissions.
The control plane at ez.hub.devxor.team. Relays commands, stores no server data.
A browser, from anywhere. The server never accepts an inbound connection.
Pairing a server
- Add the server in the Hub. It offers two pairing methods: a connection string, or a one-time command for the server's terminal.
- With the connection string: open the dashboard on the server, Settings → Hub, paste it and save.
- With the command: run it on the server as it is shown. The string is fetched by the server itself, so nothing is pasted into a dashboard.
The connection string is three pipe-separated fields: ezops://hubUrl|serverId|secret. Anything else — a missing part, a path, a query string — is rejected before it is stored.
ezops://<hub-url>|<server-id>|<secret>
# Example shape (the values come from the Hub):
ezops://ez.hub.devxor.team|a1b2c3d4-...|<shown-once>
# Three pipe-separated parts after the scheme:
# hubUrl the Hub origin, e.g. ez.hub.devxor.team
# serverId the id the Hub assigned to this server
# secret the shared secret that authenticates the agent
#
# Stored in the SQLite database as hub-link:
# { hubUrl, serverId, secret }
# The secret is never returned by an API, never logged,
# and never sent to the browser.- Re-pairing replaces the existing link; the old secret stops working.
- An unpaired server is a fully local product. Nothing about the Hub is required.
- Monitoring arrives on the same connection — no extra port or agent to install.
Pairing from the terminal
The Hub's Add server page has a From the CLI tab. It creates a command and shows it with a five-minute countdown and a Copy button:
ezz hub connect https://ez.hub.devxor.team/api/v1/connect/cli/<token>
# The agent reports back:
# Linked to https://ez.hub.devxor.team.
# Server: a1b2c3d4-...
# Connected to https://ez.hub.devxor.team.- The link lasts five minutes and works once. The token in the path is the credential; the Hub deletes it on the first successful fetch. An expired, used, replaced or revoked link says which it is, and a new one is created in the Hub.
- Creating it rotates the server's secret and disconnects the agent that was connected. If the server was already linked, the Hub asks before doing that — the old agent goes offline and stays offline until it re-pairs.
- The command is the only copy of the link. It is shown in the Hub, copied from there, and fetched by the server over https. The connection string is never in the Hub's response, its logs or the page.
- The tab shows the real outcome. It waits for the server to report connected rather than assuming the command worked; if the agent is offline it keeps waiting and says so.
- From the terminal afterwards:
ezz hub statusprints the Hub origin, the server id, the granted permissions and the agent state, andezz hub unlink --yesremoves the local link. The Hub keeps the server listed as offline until it is deleted there.
Inside a server
A paired server opens on the same sections as its own dashboard, in the same order and with the same names and icons: Overview, Domains, SSL certificates, Nginx, Deployments, Notifications, Processes, Logs and Settings. The server list and switcher, the identity row with one overflow menu (rename, regenerate secret, remove), account and management sit around that view; the permission tree is read-only under Settings.
A screen the Hub has no command for is read-only and says Managed on the server, rather than offering a control that cannot work. Settings follows the same rule: it shows what the server reported, and changes are made on the server's own dashboard.
Issuing and deleting certificates from the Hub
Since 1.4.2 the Hub's SSL certificates section works like the server's own: Renew, Renew all, New certificate and Delete. Each button needs its permission on the server (ssl.renew, ssl.renewAll, ssl.issue, ssl.delete); without it the button stays visible, disabled, and says which permission is off.
- New certificate uses HTTP-01 only. The server first runs its preflight (DNS records, IPv6, a public HTTP check) and the Hub shows each check. Then the nine stages arrive live: preflight, account and order, challenge ready, waiting for validation, certificate received, files written, nginx config test, nginx reload, https verified. nginx keeps running.
- A failure names the stage. The failed stage is marked, with the real cause, a one-line fix and what was left behind (for example, that no certificate was requested, so Let's Encrypt rate limits are untouched).
- Wildcards and DNS-01 stay on the server. They need a TXT record you add by hand while the request waits, so the Hub shows the choice disabled with that reason. Issue them from the server's dashboard or the CLI.
- Delete is refused while the certificate is in use. If an enabled domain with SSL, or any nginx config, still points at it, nothing is deleted and the Hub lists the domains (and the config file and line). Turn SSL off on those domains, or disable them, then delete.
- The domain form creates certificates too. Saving a domain with SSL on and no certificate on disk is refused by the server with the paths it expected; the form then offers Create certificate, fills the paths from the result and saves again — the same sequence as the server's dashboard. Blank paths mean the server's own certificate folder.
- Running one of these once without the permission (with a PIN entered on the server) is planned for 1.5.0.
Hub permissions
Every permission starts off. A new pairing can watch your server, but it cannot change anything until you allow it. The tree lives in Settings → Hub → Permissions.
| Group | What can be granted |
|---|---|
| Nginx | Start, stop, restart, reload, test the config, view and edit config files, read access and error logs. |
| Domains | Create, edit, enable or disable, and delete reverse-proxy domains. |
| SSL certificates | Issue a certificate, renew one, renew everything expiring, and delete certificate files. Wildcard issuance over DNS-01 is not available through the Hub yet. |
| Deployments | Deploy, roll back, read deployment logs, create and manage apps, generate or regenerate a deploy key, test it and add it to GitHub, read or edit environment variables, link a domain with SSL, and trigger deploys from CI through the Hub. |
| Processes | Start, stop and restart one of your PM2 processes. Easy DevOps itself runs as a native background service, not a PM2 app, so it cannot be controlled this way. |
| System | Shown in the permission tree but not yet enabled: managing Node.js versions and rebooting the server stay local. |
The Hub receives a copy of your permission settings for display, but the real check runs in the local agent before a command touches anything. A Hub that sends a command for a permission that is off gets nothing done — even if its copy says otherwise.
Monitoring is never gated. Metrics, nginx status, the domain list, domain health, certificate expiry and the deployed-app list are always reported. A paired server is a monitored server; gating read-only telemetry would protect nothing and make the Hub useless.
Process control from the Hub
Starting, stopping and restarting your PM2 processes from the Hub is available, under three switches that are off by default: process.start, process.stop and process.restart.
- The agent re-checks the permission map on this server before acting; the Hub's copy is a UI hint only.
- Only a process PM2 actually knows is acted on, so a typo cannot be reported as success.
- A process owned by a different OS user is refused with that user's name — PM2 keeps one process list per user.
- Easy DevOps' own background service is not a PM2 app and is never in that list.
Agent status
The dashboard shows the agent state next to the pairing fields. Each state has one obvious next step:
| Status | Meaning |
|---|---|
| connected | Authenticated and streaming. Commands are checked against the local permission tree before anything runs. |
| connecting | The socket is open and the handshake is in progress. |
| unreachable | A network or transport failure. The agent retries with backoff; the server itself keeps working normally. |
| rejected | The Hub refused the credentials — the server was deleted there, or the secret no longer matches. Retrying cannot help; pair again. |
| not linked | No connection string has been saved. The server is fully local. |
Deploying through the Hub
A GitHub Action can deploy to a server that has no public domain and no open port. The Action calls the Hub; the Hub forwards the request down the connection the server already holds open.
- Enable Deploy from CI through the Hub in Settings → Hub.
- Grant the
deploy.cipermission to the Hub. - Use the app's GitHub tab to create its deploy token — the Action authenticates with it.
- Point
EZ_DEPLOY_URLat the Hub instead of the server; the workflow file does not change.
The server still verifies the app token itself; the Hub stores nothing. If the server is offline, does not answer, or refuses, the Action gets the same non-5xx answers as a command:409 AGENT_OFFLINE, 424 AGENT_TIMEOUT or422 AGENT_ERROR, with error andcode in the body. See Deploying from GitHub Actions for the workflow and the two secrets it needs.
What the Hub can do with deployments
The server's Hub page has the same deployment actions as the local Deployments page, each behind its own switch:
| Permission | What it allows |
|---|---|
| deploy.run | Start a deployment of an existing app from its configured repository. |
| deploy.rollback | Switch an app back to an earlier release still on this server. |
| deploy.logs | Read a deployment's output. |
| deploy.manage | Create, edit and delete apps; issue a deploy token; generate, regenerate and test a deploy key and add it to GitHub read-only; link or unlink a domain; move an app; delete an old release. |
| deploy.env | Read and edit environment variables. Values pass through the Hub while being edited and are not stored there. |
| deploy.ci | Let a GitHub Action trigger a deployment by calling the Hub with the app's own token. |
- Linking an app to a domain from the Hub needs
deploy.manageanddomains.create. Removing the domain needsdomains.deleteas well. Managing apps does not imply managing domains. - The link can use no certificate, a new one over HTTP-01, or an existing one from the server's suggestion, wildcards included. A new certificate also needs
ssl.issue, and a new wildcard is refused because DNS-01 is out of scope here. - A deploy key can be generated or regenerated, tested and added to GitHub from the Hub; only its public half and fingerprint come back. A token typed for "Add it to GitHub for me" passes through once and is not stored.
- The app list is monitoring and always visible; it carries environment-variable names, never values.
Live progress
Any deployment streams into its run view while it runs — the current step, and new log lines when deploy.logs is granted — wherever it was started: the Hub, the server's own dashboard, ezz daemon or a CI hook. At most one event per second; one event carries at most 200 lines and 32 KiB, each line capped at 2000 characters, and the newest are kept if more arrived.
Every line is redacted with the app's environment values and token, and PEM private-key blocks are removed on the server before they are sent. The Hub stores nothing: once the deployment ends, the stored run is the source of truth.
Commands, and how they answer
The Hub sends commands down the connection the server already holds open. An action that finishes in seconds is answered in the same request; a long one is accepted and keeps running on the server. Both are covered by the permissions above.
- Quick actions — reading or saving an nginx config, logs, the deployment list or one app's detail, a certificate suggestion, a PM2 start/stop/restart — are answered within 15 seconds. The page shows the server's actual result, not an assumption.
- Long actions — a deployment, a rollback, certificate issue or renewal, nginx start/stop/restart — are accepted immediately and keep running. Their progress arrives as live events. If you reload the page, the Hub still has the answer for 10 minutes, so the page can collect it without running the command again.
- A failure says which kind. An offline server is
409 AGENT_OFFLINEand nothing was sent; no answer within 15 seconds is424 AGENT_TIMEOUTand names the command; the server's own refusal is422 AGENT_ERROR. The body keepserrorand addscode, and a refusal with details (the domains that still use a certificate, missing certificate paths) carries them asdata. These are deliberately not 5xx: the Hub sits behind Cloudflare, which may replace an origin 5xx page and hide the reason. None of them leave a spinner up. - A result belongs to you. It is readable only by the account that owns the server, and expires when its ten minutes are up.
- The deployment panel follows the server. The app list is pushed when a run starts or ends; Refreshre-reads the details and the run log, and returning to a background tab does one fresh read. Nothing polls a command every few seconds.
The server still checks every command against its own permission tree before running it, and it writes one timing line per command to its log — name, duration and outcome, never the payload.
Signing in to the Hub
Failed sign-in attempts are limited per client address — the address the Hub sees through its proxy, not one the browser can choose. Only failed attempts count, so several people behind one office address do not lock each other out by signing in normally.
When the limit is reached the Hub answers 429 with a wait, and the page says "Try again in …" and disables the button until the countdown ends. That message is deliberately different from a wrong email or password, so a correct password is never reported as incorrect.