Free tech learning for everyone, from basics to pro

IoT ArchitectureIoT SecurityIntermediate

IoT device management and over-the-air (OTA) updates at scale

In short: Device management keeps an IoT fleet healthy from first boot to retirement. It covers provisioning identities, onboarding, monitoring, over-the-air (OTA) updates and decommissioning. Safe OTA updates are signed, tested on a pilot group, rolled out in stages and can roll back automatically.

Managing a fleet

One device can be configured by hand. A fleet of thousands needs automation. Device management is the set of tools and processes that track every device, keep its software current and remove it safely at the end. Without it, fleets drift: firmware versions multiply, lost devices keep valid credentials and nobody knows what is actually deployed.

Device lifecycleProvisionidentity, keysOnboardregister, configureMonitorhealth, logsUpdateOTA firmwareDecommissionrevoke, wipe
Figure 1. Device management covers every stage of a device's life, from first identity to secure retirement.

Lifecycle stages

StageWhat happensKey control
ProvisionUnique identity and keys created, often in the factoryKeys generated in a secure element, never shared
OnboardDevice registers with the platform and receives configurationOnly devices with a valid identity are accepted
MonitorHealth, connectivity, battery and firmware version reportedAlerts for offline, tampered or out-of-date devices
UpdateNew firmware or configuration sent over the airSigned images, staged rollout, rollback
DecommissionDevice removed from serviceRevoke credentials, wipe data, update inventory

Open standards help here. LwM2M (Lightweight Machine to Machine, from OMA SpecWorks) defines a common way to manage constrained devices over CoAP, including firmware updates.

Over-the-air updates done safely

Safe OTA updateBuildsigned imagePilotsmall groupStagedrollout5%, 25%, 100%Verifydevice checksRollbackif it fails
Figure 2. A safe over-the-air update is signed, tested on a small group, rolled out in stages and able to roll back.

A bad update can "brick" thousands of devices at once, so OTA must be designed defensively:

  • Sign every image. The device verifies the signature with a public key held in protected storage before installing. Encryption of the image adds confidentiality, but signing is what stops tampering.
  • A/B partitions. The device keeps the old firmware in one slot, writes the new firmware to the other, and boots the new one only after it passes checks. If it fails to start or report in, it falls back.
  • Anti-rollback. A version counter stops attackers reinstalling an older, vulnerable image.
  • Staged rollout. Update a pilot group first, then increasing percentages, pausing automatically if failure rates rise.
  • Resumable downloads. Constrained links drop; downloads should continue where they left off.
  • Respect constraints. Schedule updates when battery and connectivity allow, and avoid updating safety-critical devices mid-operation.

The open Uptane framework, designed for vehicles, and the IETF SUIT (Software Updates for Internet of Things) work both describe secure update designs worth studying.

Decommissioning

Retired devices are easy to forget. A sensor thrown in a skip may still hold Wi-Fi passwords and a valid cloud certificate. Revoke the certificate in the registry, factory reset or physically destroy storage, and update your asset inventory. For resold or returned equipment, verify the wipe.

Tip: track "percentage of fleet on current firmware" as a key metric. It shows at a glance whether your update process actually works.

Practice

Why do OTA systems use A/B partitions?
So the device can keep a known-good firmware image and automatically fall back to it if the new one fails to boot or check in.
What does anti-rollback protection prevent?
An attacker installing an older, signed but vulnerable firmware version to reintroduce a fixed flaw.
List two steps when decommissioning an IoT device.
Revoke its credentials in the platform registry and wipe or destroy its stored data and keys; also update the inventory.

Frequently asked questions

What is OTA device management in IoT?

Over-the-air (OTA) device management means updating, configuring and monitoring IoT devices remotely over the network, instead of visiting each one. Firmware updates are the most important part.

How do you make OTA updates secure?

Sign every firmware image and have devices check the signature before installing, use encrypted connections, roll out in stages to a small group first, and keep a safe rollback option if an update fails.

What is IoT device lifecycle management?

Managing a device from start to finish: provisioning, configuration, monitoring, updates and finally secure decommissioning, including wiping data and revoking its credentials.

What does an IoT device management architecture look like?

Devices connect securely to a cloud or on-premises management platform. The platform handles identity and provisioning, configuration, monitoring and alerts, and OTA update distribution, usually through a gateway or directly over MQTT or HTTPS.

What is the IoT lifecycle?

The stages a connected device goes through: design, manufacture, provisioning (giving it an identity and credentials), deployment, operation with monitoring and updates, and finally secure decommissioning when it is retired.

Key takeaways

  • Device management covers provision, onboard, monitor, update and decommission.
  • Give each device a unique identity created and stored securely.
  • Sign OTA images, use A/B partitions and anti-rollback counters.
  • Roll out updates in stages and stop automatically on failures.
  • Revoke credentials and wipe data when devices are retired.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
FM TecHub Team
Role
Editorial team
Reviewer credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

The team writes practical, plain-English guides on networking, security and cloud.

More about the team →

Original content written by the FM TecHub Team. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown