You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot/iot-overview-device-management.md
+68-57Lines changed: 68 additions & 57 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ services: iot
6
6
author: asergaz
7
7
ms.author: sergaz
8
8
ms.topic: overview
9
-
ms.date: 03/20/2025
9
+
ms.date: 03/24/2025
10
10
# Customer intent: As a solution builder or device developer I want a high-level overview of the issues around asset and device management and control so that I can easily find relevant content.
11
11
---
12
12
@@ -36,7 +36,7 @@ In an edge-based IoT solution, *command and control* refers to the processes tha
36
36
- To save energy, turn off the lights of a building.
37
37
- Use MQTT topics to let assets communicate with each other through the broker.
38
38
39
-
## Components
39
+
###Components
40
40
41
41
An edge-based IoT solution can use the following components for asset management and control:
42
42
@@ -53,47 +53,6 @@ An edge-based IoT solution can use the following components for asset management
53
53
54
54
For more information, see [What is asset management in Azure IoT Operations](../iot-operations/discover-manage-assets/overview-manage-assets.md).
55
55
56
-
## Asset endpoint creation
57
-
58
-
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.
59
-
60
-
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:
61
-
62
-
- An asset endpoint for OPC UA stores the information you need to connect to an OPC UA server.
63
-
- An asset endpoint for the media connector stores the information you need to connect to a media source.
64
-
65
-
For more information, see [What is the connector for OPC UA?](../iot-operations/discover-manage-assets/overview-opcua-broker.md).
66
-
67
-
## Asset, tags, and events creation
68
-
69
-
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.
70
-
71
-
Currently, an asset in Azure IoT Operations can be:
72
-
73
-
- Something connected to an OPC UA server such as a robotic arm.
74
-
- A media source such as a camera.
75
-
76
-
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:
77
-
78
-
- 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.
79
-
- An *event* is a notification from an OPC UA server that can inform you about state changes to your asset.
80
-
81
-
For more information, see [Define assets and asset endpoints](../iot-operations/discover-manage-assets/concept-assets-asset-endpoints.md).
82
-
83
-
## Asset endpoints secrets management
84
-
85
-
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.
86
-
87
-
For more information, see [Manage secrets for your Azure IoT Operations deployment](../iot-operations/secure-iot-ops/howto-manage-secrets.md).
88
-
89
-
## Command and control
90
-
91
-
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](/azure/architecture/guide/architecture-styles/event-driven) at the edge.
92
-
93
-
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](https://github.com/Azure/iot-operations-sdks) includes samples that show how to implement these types of command and control scenarios.
94
-
95
-
For more information, see [Azure IoT Operations built-in local MQTT broker](../iot-operations/manage-mqtt-broker/overview-broker.md).
96
-
97
56
### [Cloud-based solution](#tab/cloud)
98
57
99
58
The following diagram shows a high-level view of the components in a typical cloud-based IoT solution. This article focuses on the device management and control components of a cloud-based IoT solution:
@@ -119,7 +78,7 @@ In a cloud-based IoT solution, *command and control* refers to the processes tha
119
78
- Request maximum and minimum temperature values for the last two hours.
120
79
- Set the sensor data interval to 10 seconds.
121
80
122
-
## Primitives
81
+
###Primitives
123
82
124
83
A cloud-based IoT solution can use the following primitives for both device management and command and control:
125
84
@@ -130,7 +89,48 @@ A cloud-based IoT solution can use the following primitives for both device mana
130
89
131
90
To learn more, see [Cloud-to-device communications guidance](../iot-hub/iot-hub-devguide-c2d-guidance.md).
132
91
133
-
## Device registration
92
+
---
93
+
94
+
## Asset and device management
95
+
96
+
### [Edge-based solution](#tab/edge)
97
+
98
+
### Asset endpoint creation
99
+
100
+
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.
101
+
102
+
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:
103
+
104
+
- An asset endpoint for OPC UA stores the information you need to connect to an OPC UA server.
105
+
- An asset endpoint for the media connector stores the information you need to connect to a media source.
106
+
107
+
For more information, see [What is the connector for OPC UA?](../iot-operations/discover-manage-assets/overview-opcua-broker.md).
108
+
109
+
### Asset, tags, and events creation
110
+
111
+
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.
112
+
113
+
Currently, an asset in Azure IoT Operations can be:
114
+
115
+
- Something connected to an OPC UA server such as a robotic arm.
116
+
- A media source such as a camera.
117
+
118
+
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:
119
+
120
+
- 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.
121
+
- An *event* is a notification from an OPC UA server that can inform you about state changes to your asset.
122
+
123
+
For more information, see [Define assets and asset endpoints](../iot-operations/discover-manage-assets/concept-assets-asset-endpoints.md).
124
+
125
+
### Asset endpoints secrets management
126
+
127
+
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.
128
+
129
+
For more information, see [Manage secrets for your Azure IoT Operations deployment](../iot-operations/secure-iot-ops/howto-manage-secrets.md).
130
+
131
+
### [Cloud-based solution](#tab/cloud)
132
+
133
+
### Device registration
134
134
135
135
Before a device can connect to an IoT hub, it must be registered. Device registration is the process of creating a device identity in the cloud. Each IoT hub has its own internal device registry. The device identity is used to authenticate the device when it connects to IoT Hub. A device registration entry includes the following properties:
136
136
@@ -144,38 +144,38 @@ To learn more, see [Understand the identity registry in your IoT hub](../iot-hub
144
144
145
145
IoT Central provides a UI to manage the device registry in the underlying IoT hub. To learn more, see [Add a device (IoT Central)](../iot-central/core/howto-manage-devices-individually.md#add-a-device).
146
146
147
-
## Device provisioning
147
+
###Device provisioning
148
148
149
149
You must configure each device in your solution with the details of the IoT hub it should connect to. You can manually configure each device in your solution, but this approach might not be practical for a large number of devices. To get around this problem, you can use the Device Provisioning Service (DPS) to automatically register each device with an IoT hub, and then provision each device with the required connection information. If your IoT solution uses multiple IoT hubs, you can use DPS to provision devices to a hub based on criteria such as which is the closest hub to the device. You can configure your DPS with rules for registering and provisioning your devices in advance of physically deploying the device in the field.
150
150
151
151
If your IoT solution uses IoT Hub, then using DPS is optional. If you're using IoT Central, then your solution automatically uses a DPS instance that IoT Central manages.
152
152
153
153
To learn more, see [Device provisioning service overview](../iot-dps/about-iot-dps.md).
154
154
155
-
## Device deployment
155
+
###Device deployment
156
156
157
157
In a cloud-based IoT solution, device deployment typically refers to the process of installing software on an IoT Edge device. When an IoT Edge device connects to an IoT hub, it receives a *deployment manifest* that contains details of the modules to run on the device. The deployment manifest also contains configuration information for the modules. There are many standard modules available for IoT Edge devices. You can also create your own custom modules.
158
158
159
159
To learn more, see [What is Azure IoT Edge?](../iot-edge/about-iot-edge.md)
160
160
161
161
If you're using IoT Central, you can [manage your deployment manifests](../iot-central/core/howto-manage-deployment-manifests.md) by using the IoT Central UI.
162
162
163
-
## Device updates
163
+
###Device updates
164
164
165
165
Typically, your IoT solution must include a way to update device software. For an IoT Edge device, you can update the modules that run on the device by updating the deployment manifest.
166
166
167
167
For a non-IoT Edge device, you need to have a way to update the device firmware. This update process could use a cloud-to-device message to notify the device that a firmware update is available. Then the device runs custom code to download and install the update.
168
168
169
169
The [Device Update for IoT Hub](../iot-hub-device-update/understand-device-update.md) service provides a managed solution for updating devices. It enables you to upload firmware updates to the cloud and then distribute them to devices. It also lets you monitor the update process and roll back to a previous version if the update fails.
170
170
171
-
## Device key management and rotation
171
+
###Device key management and rotation
172
172
173
173
During the lifecycle of your IoT solution, you might need to roll over the keys used to authenticate devices. For example, you might need to roll over your keys if you suspect that a key is compromised or if a certificate expires:
174
174
175
175
-[Roll over the keys used to authenticate devices in IoT Hub and DPS](../iot-dps/how-to-roll-certificates.md)
176
176
-[Roll over the keys used to authenticate devices in IoT Central](../iot-central/core/how-to-connect-devices-x509.md#roll-your-x509-device-certificates)
177
177
178
-
## Device monitoring
178
+
###Device monitoring
179
179
180
180
As part of overall solution monitoring, you might want to monitor the health of your devices. For example, you might want to monitor the health of your devices or detect when a device is no longer connected to the cloud. Options for monitoring devices include:
181
181
@@ -187,12 +187,24 @@ As part of overall solution monitoring, you might want to monitor the health of
187
187
188
188
To learn more, see [Monitor device connection status (IoT Hub)](../iot-hub/monitor-device-connection-state.md).
189
189
190
-
## Device migration
190
+
###Device migration
191
191
192
192
If you need to migrate a device from IoT Central to IoT Hub, you can use the Device Migration tool. To learn more, see [Migrate devices from IoT Central to IoT Hub](../iot-central/core/howto-migrate-to-iot-hub.md).
193
193
194
+
---
195
+
194
196
## Command and control
195
197
198
+
### [Edge-based solution](#tab/edge)
199
+
200
+
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](/azure/architecture/guide/architecture-styles/event-driven) at the edge.
201
+
202
+
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](https://github.com/Azure/iot-operations-sdks) includes samples that show how to implement these types of command and control scenarios.
203
+
204
+
For more information, see [Azure IoT Operations built-in local MQTT broker](../iot-operations/manage-mqtt-broker/overview-broker.md).
205
+
206
+
### [Cloud-based solution](#tab/cloud)
207
+
196
208
To send commands to your devices to control their behavior, use:
197
209
198
210
-*Direct methods* for communications that require immediate confirmation of the result. Direct methods are often used for interactive control of devices such as turning on a fan.
@@ -207,7 +219,7 @@ In some scenarios, you can automate device control based on feedback loops. For
207
219
208
220
It's also possible to run this kind of automation locally. For example, if you're using IoT Edge to implement your gateway device, you can run the logic that controls the device in an IoT Edge module. Running this kind of logic at the edge can reduce latency and provide resilience if there's a network outage.
209
221
210
-
## Jobs
222
+
###Jobs
211
223
212
224
You can use direct methods, desired properties, and cloud-to-device messages to send commands to individual devices. If you need to send commands to multiple devices, you can use jobs. Jobs let you schedule and send commands and desired property updates to multiple devices at the same time. You can also use jobs to monitor the progress of the commands and to roll back to a previous state if the commands fail.
213
225
@@ -218,9 +230,8 @@ To learn more, see:
218
230
219
231
---
220
232
221
-
## Next steps
222
-
223
-
Now that you've seen an overview of asset and device management and control in a typical Azure IoT solution, some suggested next steps include:
233
+
## Related content
224
234
225
-
-[Process and route messages](iot-overview-message-processing.md)
226
-
-[Extend your IoT solution](iot-overview-solution-extensibility.md)
235
+
-[IoT asset and device development](iot-overview-device-development.md)
236
+
-[IoT asset and device connectivity and infrastructure](iot-overview-device-connectivity.md)
237
+
-[What Azure technologies and services can you use to create IoT solutions?](iot-services-and-technologies.md)
0 commit comments