IMD SolutionComputing LibraryShop main store

Selection guide

Choosing an on-premises edge device update platform

Edge computing and IIoT Published 8 min read

Short answer

Make offline intent storage mandatory: the platform must hold a deployment for a device that is offline or has never connected and apply it on reconnection. Then choose by update scope - a container platform such as the open-source Balena stack for application services, an image or partition updater such as Mender or SWUpdate when the kernel or base OS changes - and prove the choice with a disconnect-reconnect test.

On this page
  1. Make offline intent storage the acceptance criterion
  2. Choose the platform by update scope
  3. Container platforms on your own network
  4. Image and partition updaters for kernel and base OS
  5. Where configuration agents stop
  6. Worked example: staging a 300-device rollout
  7. The disconnect-reconnect acceptance test
  8. Standards, install windows and network placement
  9. The decision, case by case
  10. Questions asked

Select on one mandatory criterion and one scope decision. The criterion is offline intent storage: the platform must hold a deployment for a device that is offline, or for one that has never connected, and apply it by itself when that device next reaches the server - an assignment made while a board is powered down must survive to reconnection untouched. The scope decision is what gets replaced: application containers only, or the kernel and base operating system as well. Containers point to the open-source Balena management stack, whose management side runs as four Docker services, so reserve four IP addresses on the management VLAN before the pilot; kernel-level replacement points to an image updater such as Mender or SWUpdate, which means devices with storage for two root filesystems - at 8 GB per root filesystem, 2 x 8 GB = 16 GB before any data. Ansible, Puppet and Chef carry no proven offline deployment queue and are not fleet deployment platforms. Prove whichever you choose with a disconnect-reconnect test before the fleet depends on it.

Make offline intent storage the acceptance criterion #

Offline intent storage means the assignment lives on the server, tied to a device or a group, and survives everything the plant floor does to the device: a dropped link, a powered-down cabinet, a board still in its box. When the device connects - first time or fiftieth - it pulls the stored state and applies it with no operator involved. The cloud edge services set this expectation: assign which containers run on which machine or group, and the update lands the next time the machine is online.

A platform that can only touch devices connected right now is a remote console, not a deployment system. On a plant network where devices sit behind intermittent links, night shifts and maintenance windows, anything weaker turns every outage into manual re-deployment work. Make this criterion binary in the evaluation: if an assignment made while a device is offline disappears, or has to be re-created after reconnection, the candidate is rejected, whatever else it does well.

Choose the platform by update scope #

Before comparing products, decide who owns the kernel and the base operating system. If the boards run a base image that is maintained and replaced as a whole, you need an image updater. If the base is frozen and only the application services change, containers are enough. This is the same decision made when choosing an operating system image for an industrial PC; the image updater is the tool that replaces that image later, in the field.

Approach Pick it when Offline intent storage Update boundary What you take on
Container platform (open-source Balena stack, ioFog) Only application services change Desired release stored per device and group, applied on connect Containers only; kernel and base OS untouched You host and support the management services yourself
Image or partition updater (Mender, Bithawk, SWUpdate, OSTree, UpdateHub) The kernel or base OS must be replaced too Deployment held on the server until the device polls and confirms Whole image, root filesystem or partition, kernel included Dual-partition storage, larger artifacts, per-board integration
Configuration agent (Ansible, Puppet, Chef) Drift correction on hosts you can always reach Not established for fleet deployments Files and packages, not atomic images You build rollback and update windows yourself

Do not accept image-level complexity when only containers change, and do not commit to a container-only design until someone has answered for kernel security patches. The wrong scope is the mistake you cannot fix by tuning the platform afterwards.

Container platforms on your own network #

The open-source Balena management stack is the closest match to the cloud model at container scope. It runs on your own network and pushes container-based releases to devices, per device and per group. Plan the host for it concretely: the management side runs as four Docker services, and each one wants its own IP address, so reserve four addresses on the management VLAN before the pilot. Know which edition you are evaluating: the open-source installation is limited in features and minimally supported, while a commercial on-premises deployment - including fully air-gapped sites - carries the full feature set and a support relationship.

ioFog is the other open-source candidate at this scope: cloud-independent, with edge services in Docker. Portainer does not clear the bar on current evidence: its edge mode is recent, and there is no proof yet that an assignment made while a device is offline survives to reconnection, so it fails the mandatory criterion as documented. If containers are already how you ship plant software - the pattern used when deploying Edge Data Store in Docker on a controller PC - this scope adds the missing fleet layer.

Image and partition updaters for kernel and base OS #

Mender, Bithawk, SWUpdate and OSTree work below the application layer: they replace whole images or partitions, and OSTree switches the root filesystem atomically. That is what puts the kernel and base OS inside the deployment, and it is what makes recovery mechanical: an A/B layout keeps the old partition untouched, and an update that fails to boot falls back to it. Mender also has a Docker mode, so one server can cover both scopes. UpdateHub covers Linux and RTOS targets, with support merged into the Zephyr Project and tight integration with the Yocto Project - pick it when the fleet includes small RTOS boards.

Size the devices for this scope before committing. An A/B layout holds two complete root filesystems: at 8 GB per root filesystem, that is 2 x 8 GB = 16 GB of storage before any data, logs or container images. Require signature verification on update artifacts - Mender and SWUpdate both verify signed updates before installing - and treat bootloader integration as project work per board type, not a checkbox.

Where configuration agents stop #

Ansible, Puppet and Chef declare a configuration and check it periodically: the agent phones home, sees what differs, and fixes it. For drift on hosts you can always reach, that is the right tool and a light one. What the evidence does not show is an equivalent of the offline deployment queue - assignments waiting for devices that are down or never connected, and an atomic image rollback when an update goes wrong. Running a fleet rollout on an agent means re-running the playbook by hand after every outage. Use agents after the platform, for files and settings the platform should not own.

Worked example: staging a 300-device rollout #

Take an illustrative fleet of 300 Linux boards and one new release. Stage 1 is the canary: 5 percent of the fleet is 300 x 0.05 = 15 devices, soaked for 48 hours. Stage 2 widens to a quarter of the fleet: 300 x 0.25 = 75 devices. Stage 3 is the remainder: 300 - 15 - 75 = 210 devices. Check the arithmetic as you plan it: 15 + 75 + 210 = 300. Gate each stage on zero failed boots and zero lost assignments; a failure found in stage 1 leaves 15 devices on their fallback partition instead of 300. That canary stage is the pre-production test the patch-management standard asks the operator to run before a production install.

The disconnect-reconnect acceptance test #

Run this against the shortlisted platform on your own network, before the fleet depends on it:

  1. Install the management server entirely inside the plant network and confirm a deployment completes with outbound internet access closed.
  2. Register three representative boards: one online, one powered off, and one factory-fresh that has never connected.
  3. Assign a new release to a group that contains all three.
  4. Power the second board on and let the third connect for the first time; both must retrieve and apply the stored assignment with no one re-creating it.
  5. Test each update boundary in scope: a container change, and separately a kernel or base-image change if OS maintenance is required.
  6. Record what the platform reports per device - desired state, current state, failed deployments, recovery - and reject it if assignments vanish or need an operator to repeat them.

Standards, install windows and network placement #

IEC 62443-2-3 covers patch management for industrial automation and control systems, and its demands map directly onto platform features: the operator holds a patch policy, assesses each update for applicability and risk, tests it before production, installs it in a planned window, and keeps records. Group targeting answers applicability, the canary stage is the test, scheduled deployment is the window, per-device status is the record. One safety rule goes with the window: never let a scheduled update reboot a board or restart a container while that device is controlling a running process. Put the update server and the device management interfaces on their own VLAN - the separation covered in segmenting edge platform networks for data, BMC and OS traffic - so a compromised data path cannot reach the deployment plane.

The decision, case by case #

  • Only application containers change, the fleet is Linux boards, and support is in-house: run the open-source Balena stack on one management host, with four IP addresses reserved for its services.
  • The kernel or base OS must be replaced on a schedule: choose Mender, SWUpdate or OSTree, and buy devices with room for two root filesystems plus data.
  • Both scopes, one server: Mender with its Docker mode.
  • Only configuration drift, on hosts that are always reachable: an agent is enough, and lighter to run - but it is not an offline fleet platform, so do not stretch it into one.
  • Devices not yet purchased: specify a fanless mini PC whose storage you can partition into two root filesystems plus a data partition.
  • Portainer edge mode and Ubuntu Core with a private snap store: excluded on current evidence - the first has no proven offline queue, the second has a private-store method that is reported both working and no longer working. Do not select either for this requirement.

Questions asked

Why not run the cloud edge services over a private connection?

Those deployment services are delivered as cloud services, and the requirement here is no external dependency at all. Reproducing their behavior - desired state assigned per device and group, applied on reconnection - is what the on-premises candidates in this selection are for. A private link to a cloud plane still leaves deployments unavailable whenever that link is down.

How much storage does an A/B partition updater need?

Two complete root filesystems plus your data partition. With an 8 GB root filesystem, budget 2 x 8 GB = 16 GB of storage before any data, logs or container images. Devices bought for the fleet should carry that headroom, or image-level updates will not fit.

Can Portainer's edge mode queue deployments for offline devices?

Not on the documented evidence, so it fails the mandatory criterion as it stands. The disconnect-reconnect test in this article is exactly the check to run against your own instance; until an assignment made offline survives to reconnection in that test, do not spend more evaluation time on it.

Can Ubuntu Core use a private on-premises snap store?

The evidence conflicts: a hosting method has been published, and later reports say it no longer works. Treat private-store support as unconfirmed, and do not select Ubuntu Core for an offline-capable fleet until you have a working private store proven on your own network.

Does Mender handle containers as well as images?

Yes, Mender has a Docker mode alongside its partition updates, which makes it the pick when one server must cover both scopes: application containers and kernel or base-image replacement. Confirm which artifact types your Mender version supports for the specific boards in the fleet.

Keep reading

  • How-to

    Writing MQTT Distributor ACL topic filters for Sparkplug B

    Give each Sparkplug B edge node its own credential with one write filter, spBv1.0/GroupID/+/EdgeNodeID/#, and two read filters, STATE/PrimaryHostID and the same node filter. The ACL is a plain MQTT topic matcher: pin the namespace, group and node as literals, wildcard the message type with + and the device level with #. Any publish or subscribe outside the granted filters disconnects the client, so the NDEATH will and the STATE subscription must be inside the entries.

    Edge computing and IIoT

  • Troubleshooting

    Fixing an edge gateway MQTT TLS private key load failure

    The errors error:0906D06C PEM routines:PEM_read_bio:no start line and error:140B0009 SSL routines:SSL_CTX_use_PrivateKey_file mean the gateway cannot parse its own private-key file, so the failure is local and happens before the broker sees anything. On a Flexy 205 running firmware 15.0s1 the confirmed correction is the 15.0s2 firmware upgrade with the same certificate files, not new keys or AWS IoT policy edits.

    Edge computing and IIoT

  • Explainer

    Securing ctrlX MQTT data paths to AWS or GCP

    Yes — Node-RED plus Mosquitto can carry ctrlX Data Layer values under X.509 authentication and TLS 1.2, but each of the three connections (publisher to broker, device to broker, uploader to cloud) needs its own trust and client-certificate configuration. DeviceBridge joins only when the chosen AWS or GCP service's protocol calls for it.

    Edge computing and IIoT