It is decided to implement our application as a serverless architecture using FaaS by Azure following the event-based cloud programming model. We will leverage the Azure Functions to build our processing logic.
We will use some of the Azure products in our architecture, so let's just quickly see their definitions before we draw the architecture diagram.
Azure Functions: They process events with a serverless code, and are fully scalable on demand, automatically. In this architecture, we will use them to execute some logic based on certain events. Note that the IoT Hub to Azure Function functionality is still newly released, otherwise, we connect from IoT Hub –> Event Hub –> Azure Function.