hands-on lab

Configuring IoT Hub Message Routing Using Azure Portal

Intermediate
Up to 1h
9
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

About the author

Students
15,776
Labs
99
Courses
1
Learning paths
3

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

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