Managing and monitoring IoT devices
To manage IoT devices at scale, we are going to use Azure IoT Hub. Even though we are going to connect only a few devices to Azure IoT Hub, it is very capable of scaling to millions of devices. In this section, you are going to learn how to manage an IoT device using the Azure portal and the Azure command-line interface (CLI).
When managing devices, there are five stages that you need to be aware of:
- Planning consists of creating a metadata schema that allows you to query devices and complete bulk management operations. Azure IoT Hub uses device twins to store the metadata in JSON format.
- Provisioning is the process of securely provisioning new devices either individually or in bulk and immediately reporting their condition and capabilities.
- Configuring is the process of updating device properties and firmware updates.
- Monitoring involves observing the overall health and sending alerts to operators when attention is needed...