Skip to main content
NervesHub is an open-source firmware update and device management platform. It was built for Nerves devices and can also update other Linux and ESP32 devices. Devices hold a WebSocket connection to NervesHub. Over that connection NervesHub tells a device when firmware is available, and you get a remote console, health reports and other device data back.

What NervesHub does

  • Signed firmware updates. You sign firmware before you upload it. NervesHub checks the signature against the signing keys registered for your organization, and the device checks it again before applying the update. See Firmware signing.
  • Controlled rollouts. A deployment group targets devices by tag and version condition. You can limit how many devices update at once, stop a rollout when failures pass a threshold, and stage a release with a workflow. See Deployment groups and Rollout controls.
  • Updates on the device’s terms. Your firmware decides when to apply an update, reports progress, and can defer or refuse. See Applying updates.
  • Remote access. Open an IEx console on a connected device, run support scripts, reboot it, or ask it to identify itself. See Remote console.
  • Device data. Extensions report health metrics and alarms, location, log lines, error reports and network identities. See Extensions.
  • Device authentication. Devices authenticate with a shared secret or with an X.509 certificate, which can be held in a NervesKey or a TPM. See Shared secrets and Device certificates.
  • Integration. An HTTP API, the nh CLI, webhooks, and Slack, Microsoft Teams and Discord notifications. See API overview and Webhooks.
Some features depend on how the instance is set up. See Feature prerequisites.

The parts

Architecture describes how they fit together.

Where to run it

NervesCloud

A hosted NervesHub. You manage devices at manage.nervescloud.com, and devices connect to devices.nervescloud.com.

Self-hosted

Run NervesHub on your own infrastructure. It is a Phoenix application that needs PostgreSQL and somewhere to store firmware files: a local disk or S3-compatible object storage.
NervesHub, NervesHubLink and nh are open source. NervesHub is released under the Apache License 2.0.

Next steps

  • Quickstart: connect a device and send it an update.
  • Terminology: the names used in the UI, the CLI and these docs.