IoT asset and device management and control

This overview introduces the key concepts around managing and controlling assets and devices in a typical Azure IoT solution. Each section includes links to content that provides further detail and guidance.

The following diagram shows a high-level view of the components in a typical edge-based IoT solution. This article focuses on the asset management and control components of an edge-based IoT solution:

Diagram that shows the high-level IoT edge-based solution architecture highlighting asset management areas.

In an edge-based IoT solution, operational technologists (OT) can manage and control assets from the cloud, by leveraging a Unified registry. OT users can use the operations experience web UI, while IT administrators can use the CLI and Azure portal. To locate and manage assets, OT users can use Sites, that are created by the IT administrator and typically group Azure IoT Operations instances by physical location.

Asset management refers to processes such as registering assets and defining asset endpoints. Asset management includes the following tasks:

  • Asset endpoint creation
  • Asset, tags, and events creation
  • Asset endpoints secrets management
  • Enabling and disabling assets

In an edge-based IoT solution, command and control refers to the processes that let you send commands to assets and optionally receive responses from them. For example, you can:

  • Control the cameras pan, tilt, and zoom.
  • To save energy, turn off the lights of a building.
  • Use MQTT topics to let assets communicate with each other through the broker.

Components

An edge-based IoT solution can use the following components for asset management and control:

  • Asset endpoints to describe southbound edge connectivity information for one or more assets.
  • Asset tags to describe a data point that can be collected from an asset.
  • Asset events that inform you about state changes to your asset.
  • Data flows to connect various data sources and perform data operations, simplifying the setup of data paths to move, transform, and enrich data.
  • Operations experience web UI that lets you create and configure assets in your solution. The web UI simplifies the task of managing assets.
  • Unified registry that enables the cloud and edge management of assets. Azure Device Registry projects assets defined in your edge environment as Azure resources in the cloud. It provides a single unified registry so that all apps and services that interact with your assets can connect to a single source. Device Registry also manages the synchronization between assets in the cloud and assets as custom resources in Kubernetes on the edge.
  • Schema registry that lets you define and manage the schema for your assets. Data flows use schemas to deserialize and serialize messages.
  • Akri services that let you deploy and configure connectivity protocols, such as OPC UA and ONVIF, at the edge. The connector for ONVIF is a service that discovers and registers ONVIF assets such as cameras. The connector for OPC UA is a service that connects to OPC UA servers and registers assets such as robotic arms.
  • Secret Store extension to sync the secrets down from the cloud and store them on the edge as Kubernetes secrets. Azure IoT Operations uses Azure Key Vault as the managed vault solution on the cloud, and uses Azure Key Vault Secret Store extension for Kubernetes to sync the secrets.
  • Sites that group Azure IoT Operations instances by physical location and make it easier for OT users to locate and manage assets. Your IT administrator creates sites and assigns Azure IoT Operations instances to them. To learn more, see What is Azure Arc site manager (preview)?.

For more information, see What is asset management in Azure IoT Operations.

Asset and device management

Asset endpoint creation

Azure IoT Operations uses Azure resources called assets and asset endpoints to connect and manage components of your industrial edge environment. Before you can create an asset, you need to define an asset endpoint profile. An asset endpoint is a profile that describes southbound edge connectivity information for one or more assets.

Currently, the southbound connectors available in Azure IoT Operations are the connector for OPC UA, the media connector (preview), and the connector for ONVIF (preview). Asset endpoints are configurations for a connector that enable it to connect to an asset. For example:

  • An asset endpoint for OPC UA stores the information you need to connect to an OPC UA server.
  • An asset endpoint for the media connector stores the information you need to connect to a media source.

For more information, see What is the connector for OPC UA?.

Asset, tags, and events creation

An asset is a logical entity that represents a device or component in the cloud as an Azure Resource Manager resource and at the edge as a Kubernetes custom resource. When you create an asset, you can define its metadata and the datapoints (also called tags) and events that it emits.

Currently, an asset in Azure IoT Operations can be:

  • Something connected to an OPC UA server such as a robotic arm.
  • A media source such as a camera.

When you define an asset using either the operations experience web UI or Azure IoT Operations CLI, you can configure tags and events for each asset:

  • A tag is a description of a data point that can be collected from an asset. OPC UA tags provide real-time or historical data about an asset.
  • An event is a notification from an OPC UA server that can inform you about state changes to your asset.

For more information, see Define assets and asset endpoints.

Asset endpoints secrets management

On an Azure IoT Operations instance deployed with secure settings, you can add secrets to Azure Key Vault, and sync them to the edge to be used in asset endpoints using the operations experience web UI. Secrets are used in asset endpoints for authentication.

For more information, see Manage secrets for your Azure IoT Operations deployment.

Command and control

Azure IoT Operations includes an enterprise grade, standards compliant MQTT broker. The broker enables bidirectional communication between the edge and the cloud, and powers event-driven applications at the edge.

Use the MQTT broker to implement command and control solutions that enable you to send commands to your assets either from the cloud or from other edge-based components. Connectors, such as the ONVIF connector, can use MQTT topics to listen for and respond to commands. For example, you can publish a message to a topic in the MQTT broker that's an instruction to a camera to pan left by 20 degrees. The camera can use another topic to publish a message that acknowledges the operation is complete. The Azure IoT Operations SDKs includes samples that show how to implement these types of command and control scenarios.

For more information, see Azure IoT Operations built-in local MQTT broker.