In this lab, you will setup and configure messaging for implementing the Lambda Architecture within Microsoft Azure utilizing Azure Stream Analytics and Azure IoT Hub services. IoT events will also be sent to Azure IoT Hub using a Simulated IoT Device written as a C# console application.

Pre-Requisites

Familiarity with Microsoft Azure

Familiarity with Visual Studio

Exercises

In this exercise, you will start the Real Time Lab Environment for the lab. This lab will provision a virtual machine with the software necessary to complete the hands-on lab. You will also have access to a Microsoft Azure subscription to complete the tasks. Do not create more resources in Azure then the lab requires or your lab may be terminated.

In this exercise, you will provision an instance of both Azure IoT Hub and an Azure Stream Analytics job to be used for this lab. The Azure IoT Hub will be the Message Broker that the simulated IoT device will send events/messages to, and the Stream Analytics job will provide stream processing for a Lambda Architecture.

In this exercise, you will provision an Azure Cosmos DB instance to store data for the Batch tier of the Lambda Architecture, and an Azure Service Bus Queue to receive events for the Streaming tier of the Lambda Architecture.

In this exercise, you will configure the Azure Stream Analytics job to process the stream of events from IoT Hub and output to Cosmos DB and the Service Bus Queue to implement the Lambda Architecture messaging pipeline.

In this exercise, you will setup a Simulated Internet of Things (IoT) device to send event telemetry to Azure IoT Hub.

﻿﻿

In this exercise, you will check that the messages from the Simulated IoT Device are getting sent through IoT Hub and then ending up within both the Cosmos DB Collection and Service Bus Queue according to the Lambda Architecture that was configured within the lab.