hands-on lab

Configuring IoT Hub Message Routing Using Azure Portal

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 10
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Azure IoT Hub is a fully managed service that enables reliable and secure bidirectional communications between millions of IoT devices and a solution back end. It also enables you to route messages to various endpoints for further processing.

Message routing in IoT Hub is a very important feature as it enables you to send telemetry data from your IoT devices to built-in endpoints or custom endpoints. Organizations can leverage this feature to route messages to built-in endpoints such as Azure Blob storage, Azure Data Lake Storage Gen2, Azure Event Hubs, and Azure Service Bus to achieve various business goals.

In this hands-on lab, you will create a message routing rule to route the messages from the IoT Hub to a storage account. You will then validate the message routing by checking the files generated by the routing rule in the storage account.

Learning objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Create an Azure IoT Hub Device
  • Create Message routing for IoT Hub using Azure Portal
  • Validate message routing to Azure storage account

Intended audience

  • Candidates for Azure Developer Associate (AZ-204) certification
  • Cloud Architects
  • Data Engineers
  • Machine Learning Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure IoT Hub
  • Azure Storage Account

The following content can be used to fulfill the prerequisites:

Environment before

Environment after

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Configuring IoT Hub Device and Data Stream
Creating Message Routing For IoT Hub Using Azure Portal