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-hub/iot-concepts-and-iot-hub.md
+42-56Lines changed: 42 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,53 +6,38 @@ ms.author: kgremban
6
6
ms.service: iot-hub
7
7
services: iot-hub
8
8
ms.topic: conceptual
9
-
ms.date: 07/07/2021
9
+
ms.date: 02/23/2022
10
10
ms.custom: contperf-fy22q3
11
11
#Customer intent: As a developer new to IoT Hub, learn the basic concepts.
12
12
---
13
13
14
-
# IoT Concepts and Azure IoT Hub
14
+
# IoT concepts and Azure IoT Hub
15
15
16
-
This article discusses the Internet of Things (IoT), Azure IoT Hub, and IoT devices.
16
+
The Internet of Things (IoT) is a network of physical devices that connect to and exchange data with other devices and services over the Internet or other network. There are currently over ten billion connected devices in the world and more are added every year. Anything that can be embedded with the necessary sensors and software can be connected over the internet.
17
17
18
-
## IoT concepts
19
-
20
-
The Internet of Things (IoT) is typically defined as a network of physical devices that connect to and exchange data with other devices and services over the Internet or other communication network. There are currently over ten billion connected devices in the world and more are added every year. Anything that can be embedded with the necessary sensors and software can be connected over the internet. The following technologies have made IoT possible:
21
-
22
-
- Access to low cost, low power sensors.
23
-
- Various protocols that enable internet connectivity.
24
-
- Cloud computing platforms such as Azure.
25
-
- Big data.
26
-
- Machine learning.
27
-
- Artificial intelligence.
28
-
29
-
## Azure IoT Hub
30
-
31
-
IoT Hub is a managed service hosted in the cloud that acts as a central message hub for communication between an IoT application and its attached devices. You can connect millions of devices and their backend solutions reliably and securely. Almost any device can be connected to an IoT Hub.
18
+
Azure IoT Hub is a managed service hosted in the cloud that acts as a central message hub for communication between an IoT application and its attached devices. You can connect millions of devices and their backend solutions reliably and securely. Almost any device can be connected to an IoT hub.
32
19
33
20
Several messaging patterns are supported, including device-to-cloud telemetry, uploading files from devices, and request-reply methods to control your devices from the cloud. IoT Hub also supports monitoring to help you track device creation, device connections, and device failures.
34
21
35
-
IoT Hub scales to millions of simultaneously connected devices and millions of events per second to support your IoT workloads. For more information about scaling your IoT Hub, see [IoT Hub Scaling](iot-hub-scaling.md). To learn more about the multiple tiers of service offered by IoT Hub and how to best fit your scalability needs, check out the [pricing page](https://azure.microsoft.com/pricing/details/iot-hub/).
22
+
IoT Hub scales to millions of simultaneously connected devices and millions of events per second to support your IoT workloads. For more information about scaling your IoT Hub, see [IoT Hub scaling](iot-hub-scaling.md). To learn more about the tiers of service offered by IoT Hub, check out the [pricing page](https://azure.microsoft.com/pricing/details/iot-hub/).
36
23
37
24
You can integrate IoT Hub with other Azure services to build complete, end-to-end solutions. For example, use:
38
25
39
-
*[Azure Event Grid](../event-grid/index.yml) to enable your business to react quickly to critical events in a reliable, scalable, and secure manner.
26
+
-[Azure Event Grid](../event-grid/index.yml) to enable your business to react quickly to critical events in a reliable, scalable, and secure manner.
40
27
41
-
*[Azure Logic Apps](../logic-apps/index.yml) to automate business processes.
28
+
-[Azure Logic Apps](../logic-apps/index.yml) to automate business processes.
42
29
43
-
*[Azure Machine Learning](iot-hub-weather-forecast-machine-learning.md) to add machine learning and AI models to your solution.
30
+
-[Azure Machine Learning](iot-hub-weather-forecast-machine-learning.md) to add machine learning and AI models to your solution.
44
31
45
-
*[Azure Stream Analytics](../stream-analytics/index.yml) to run real-time analytic computations on the data streaming from your devices.
32
+
-[Azure Stream Analytics](../stream-analytics/index.yml) to run real-time analytic computations on the data streaming from your devices.
46
33
47
34
[IoT Central](../iot-central/core/overview-iot-central.md) applications use multiple IoT hubs as part of their scalable and resilient infrastructure.
48
35
49
-
IoT Hub has a 99.9% [Service Level Agreement for IoT Hub](https://azure.microsoft.com/support/legal/sla/iot-hub/). The full [Azure SLA](https://azure.microsoft.com/support/legal/sla/) explains the guaranteed availability of Azure as a whole.
50
-
51
-
Each Azure subscription has default quota limits in place to prevent service abuse. These limits could impact the scope of your IoT solution. The current limit on a per-subscription basis is 50 IoT hubs per subscription. You can request quota increases by contacting support. For more information, see [IoT Hub Quotas and Throttling](iot-hub-devguide-quotas-throttling.md). For more details on quota limits, see one of the following articles:
36
+
Each Azure subscription has default quota limits in place to prevent service abuse. These limits could impact the scope of your IoT solution. The current limit on a per-subscription basis is 50 IoT hubs per subscription. You can request quota increases by contacting support. For more information, see [IoT Hub quotas and throttling](iot-hub-devguide-quotas-throttling.md). For more information on quota limits, see one of the following articles:
52
37
53
-
*[Azure subscription service limits](../azure-resource-manager/management/azure-subscription-service-limits.md)
38
+
-[Azure subscription service limits](../azure-resource-manager/management/azure-subscription-service-limits.md)
54
39
55
-
*[IoT Hub throttling and you](https://azure.microsoft.com/blog/iot-hub-throttling-and-you/)
40
+
-[IoT Hub throttling and you](https://azure.microsoft.com/blog/iot-hub-throttling-and-you/)
56
41
57
42
## IoT devices
58
43
@@ -65,73 +50,74 @@ IoT devices differ from other clients such as browsers and mobile apps. Specific
65
50
- Might have intermittent, slow, or expensive network connectivity.
66
51
- Might need to use proprietary, custom, or industry-specific application protocols.
67
52
68
-
###Device identity
53
+
## Device identity and authentication
69
54
70
-
Every IoT hub has an identity registry that stores information about the devices and modules permitted to connect to it. Before a device or module can connect, there must be an entry for that device or module in the IoT hub's identity registry. A device or module must also authenticate with the IoT hub based on credentials stored in the identity registry.
55
+
Every IoT hub has an identity registry that stores information about the devices and modules permitted to connect to it. Before a device or module can connect, there must be an entry for that device or module in the IoT hub's identity registry. A device or module authenticates with the IoT hub based on credentials stored in the identity registry.
71
56
72
-
We support two methods of authentication between the device and the IoT Hub. You can use an SAS token-based authentication or X.509 certificate authentication.
57
+
We support two methods of authentication between the device and the IoT hub. You can use SAS token-based authentication or X.509 certificate authentication.
73
58
74
-
The SAS-based token method provides authentication for each call made by the device to IoT Hub by associating the symmetric key to each call. X.509-based authentication allows authentication of an IoT device at the physical layer as part of the Transport Layer Security (TLS) standard connection establishment. The security-token-based method can be used without the X.509 authentication, which is a less secure pattern. The choice between the two methods is primarily dictated by how secure the device authentication needs to be, and availability of secure storage on the device (to store the private key securely).
59
+
The SAS token method provides authentication for each call made by the device to IoT Hub by associating the symmetric key to each call. X.509 authentication allows authentication of an IoT device at the physical layer as part of the Transport Layer Security (TLS) standard connection establishment. The choice between the two methods is primarily dictated by how secure the device authentication needs to be, and availability of secure storage on the device (to store the private key securely).
75
60
76
61
You can set up and provision many devices at a time using the [IoT Hub Device Provisioning Service](../iot-dps/index.yml).
77
62
78
-
###Device communication
63
+
## Device communication
79
64
80
65
After selecting your authentication method, the internet connection between the IoT device and IoT Hub is secured using the Transport Layer Security (TLS) standard. Azure IoT supports TLS 1.2, TLS 1.1, and TLS 1.0, in that order. Support for TLS 1.0 is provided for backward compatibility only. Check TLS support in IoT Hub to see how to configure your hub to use TLS 1.2, which provides the most security.
81
66
82
-
### Device communication patterns
83
-
84
-
Typically, IoT devices send telemetry from the sensors to back-end services in the cloud. However, other types of communication are possible, such as a back-end service sending commands to your devices. Some examples of different types of communication include the following:
67
+
Typically, IoT devices send telemetry from the sensors to back-end services in the cloud. However, other types of communication are possible, such as a back-end service sending commands to your devices. Some examples of different types of communication include the following:
85
68
86
-
*A refrigeration truck sending temperature every 5 minutes to an IoT Hub
87
-
*A back-end service sending a command to a device to change the frequency at which it sends telemetry to help diagnose a problem
88
-
*A device monitoring a batch reactor in a chemical plant, sending an alert when the temperature exceeds a certain value
69
+
-A refrigeration truck sending temperature every 5 minutes to an IoT hub.
70
+
-A back-end service sending a command to a device to change the frequency at which it sends telemetry to help diagnose a problem.
71
+
-A device monitoring a batch reactor in a chemical plant, sending an alert when the temperature exceeds a certain value.
89
72
90
-
###Device telemetry
73
+
## Device telemetry
91
74
92
-
Examples of telemetry received from a device can include sensor data such as speed or temperature, an error message such as missed event, or an information message to indicate the device is in good health. IoT Devices send events to an application to gain insights. Applications may require specific subsets of events for processing or storage at different endpoints.
75
+
Examples of telemetry received from a device can include sensor data such as speed or temperature, an error message such as missed event, or an information message to indicate the device is in good health. IoT devices send events to an application to gain insights. Applications may require specific subsets of events for processing or storage at different endpoints.
93
76
94
-
###Device properties
77
+
## Device properties
95
78
96
-
Properties can be read or set from the IoT Hub and can be used to send notifications when an action has completed. An example of a specific property on a device is temperature. This can be a writable property that can be updated on the device or read from a temperature sensor attached to the device.
79
+
Properties can be read or set from the IoT hub and can be used to send notifications when an action has completed. An example of a specific property on a device is temperature. Temperature can be a writable property that can be updated on the device or read from a temperature sensor attached to the device.
97
80
98
-
You can enable properties in IoT Hub using [Device Twins](iot-hub-devguide-device-twins.md) or [Plug and Play](../iot-develop/overview-iot-plug-and-play.md).
81
+
You can enable properties in IoT Hub using [Device twins](iot-hub-devguide-device-twins.md) or [Plug and Play](../iot-develop/overview-iot-plug-and-play.md).
99
82
100
83
To learn more about the differences between device twins and Plug and Play, see [Plug and Play](../iot-develop/concepts-digital-twin.md#device-twins-and-digital-twins).
101
84
102
-
###Device commands
85
+
## Device commands
103
86
104
87
An example of a command is rebooting a device. IoT Hub implements commands by allowing you to invoke direct methods on devices. [Direct methods](iot-hub-devguide-direct-methods.md) represent a request-reply interaction with a device similar to an HTTP call in that they succeed or fail immediately (after a user-specified timeout). This approach is useful for scenarios where the course of immediate action is different depending on whether the device was able to respond.
105
88
106
-
###Act on device data
89
+
## Act on device data
107
90
108
-
IoT Hub gives you the ability to unlock the value of your device data with other Azure services so you can shift to predictive problem-solving rather than reactive management. Connect your IoT Hub with other Azure services to do machine learning, analytics and AI to act on real-time data, optimize processing, and gain deeper insights.
91
+
IoT Hub gives you the ability to unlock the value of your device data with other Azure services so you can shift to predictive problem-solving rather than reactive management. Connect your IoT hub with other Azure services to do machine learning, analytics, and AI to act on real-time data, optimize processing, and gain deeper insights.
109
92
110
-
####Built-in endpoint collects device data by default
93
+
### Built-in endpoint collects device data by default
111
94
112
95
A built-in endpoint collects data from your device by default. The data is collected using a request-response pattern over dedicated IoT device endpoints, is available for a maximum duration of seven days, and can be used to take actions on a device. Here is the data accepted by the device endpoint:
113
96
114
-
* Send device-to-cloud messages.
115
-
* Receive cloud-to-device messages.
116
-
* Initiate file uploads.
117
-
* Retrieve and update device twin properties.
118
-
* Receive direct method requests.
97
+
- Send device-to-cloud messages.
98
+
- Receive cloud-to-device messages.
99
+
- Initiate file uploads.
100
+
- Retrieve and update device twin properties.
101
+
- Receive direct method requests.
119
102
120
103
For more information about IoT Hub endpoints, see [IoT Hub Dev Guide Endpoints](
Data can also be routed to different services for further processing. As the IoT solution scales out, the number of devices, volume of events, variety of events, and different services also varies. A flexible, scalable, consistent, and reliable method to route events is necessary to serve this pattern. Once a message route has been created, data stops flowing to the built-in-endpoint unless a fallback route has been configured. For a tutorial showing multiple uses of message routing, see the [Routing Tutorial](tutorial-routing.md).
126
109
127
-
IoT Hub also integrates with Event Grid which enables you to fan out data to multiple subscribers. Event Grid is a fully managed event service that enables you to easily manage events across many different Azure services and applications. Made for performance and scale, it simplifies building event-driven applications and serverless architectures. The differences between message routing and using Event Grid are explained in the [Message Routing and Event Grid Comparison](iot-hub-event-grid-routing-comparison.md)
110
+
IoT Hub also integrates with Event Grid, which enables you to fan out data to multiple subscribers. Event Grid is a fully managed event service that enables you to easily manage events across many different Azure services and applications. Made for performance and scale, it simplifies building event-driven applications and serverless architectures. The differences between message routing and using Event Grid are explained in the [Message Routing and Event Grid Comparison](iot-hub-event-grid-routing-comparison.md)
128
111
129
112
## Next steps
130
113
131
114
To try out an end-to-end IoT solution, check out the IoT Hub quickstarts:
132
115
133
-
*[Quickstart: Send telemetry from a device to an IoT hub](../iot-develop/quickstart-send-telemetry-iot-hub.md?pivots=programming-language-nodejs)
116
+
-[Send telemetry from a device to IoT Hub](quickstart-send-telemetry-cli.md)
117
+
-[Send telemetry from an IoT Plug and Play device to IoT Hub](../iot-develop/quickstart-send-telemetry-iot-hub.md?toc=/azure/iot-hub/toc.json&bc=/azure/iot-hub/breadcrumb/toc.json)
118
+
-[Control a device connected to an IoT hub](quickstart-control-device.md)
134
119
135
120
To learn more about the ways you can build and deploy IoT solutions with Azure IoT, visit:
136
121
137
-
*[Fundamentals: Azure IoT technologies and solutions](../iot-fundamentals/iot-services-and-technologies.md).
122
+
-[What is Azure IoT device and application development](../iot-develop/about-iot-develop.md)
123
+
-[Fundamentals: Azure IoT technologies and solutions](../iot-fundamentals/iot-services-and-technologies.md)
0 commit comments