This hands-on lab provides an Azure administrator with an understanding of how the Azure messaging service (Service Bus) and Logic Apps are used to handle application message data. The standard message formats are JSON, XML, or plain text. These are powerful skills that can be leveraged for tasks such as de-coupling applications from useful message data, establishing publisher/subscriber (pub/sub) capability, or implementing messaging-based workflows.
Understand the scenario
You are an Azure developer for a company that is migrating its primary web app from its on-premise datacenter to Azure. As part of this initiative, you need to develop Azure Logic Apps using messaging services, as a proof of concept. You will set up the capability for receiving, managing, and storing application messages. This functionality will display the advantage of a migration to Azure, and how the cloud-based platform adds value and simplifies tasks.
Deploy a Service Bus Namespace
You will first implement a Service Bus Namespace and a queue. The Service Bus in Azure allows you to de-couple message data from applications so that the message data can be sent and used elsewhere. You will become familiar with the Namespace, Queues, storage accounts and their pricing tiers, and the properties of Shared Access Keys.
Deploy a Logic App
You will perform three core tasks in this section: create a storage account, setup a Blobs container, and use the Logic App Designer to build a Service Bus Logic App. The storage account is a subscription-based capacity for data storage. The Blobs container is where you will store your message output. Blobs are considered unstructured data in text or binary format. The Logic App will establish the logic for handling a message once it’s received. The design of the Logic App is aided by pre-built templates, simplifying the implementation process.
Consume queue messages using a Logic App
For this task, you will use the Azure Cloud Shell to initiate messages and test the Logic App. The Cloud Shell gives you command line function (in bash or PowerShell) within the Azure environment. You will run a series of commands that will mimic a service connecting to and sending messages to your Service Bus. You will then review the sent messages within the Blob Container, to confirm the proof of concept.
In this hands-on virtual lab, you will learn how to take advantage of Azure’s Service Bus and Logic App capability for messaging management. These tools and skills are essential for an Azure developer or Azure administrator. The skills learned in this lab give insight into the potential use-cases for using and optimizing the handling of messages.
Other Challenges in this series
- GUIDED CHALLENGE: Design and Implement Container Applications Using the Azure Kubernetes Service (AKS)
- ADVANCED CHALLENGE: Can you Design Azure App Service API Apps?
See the full benefits of our immersive learning experience with interactive courses and guided career paths.