Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon
Labs

Manage Messages with Azure Service Bus and Azure Queue Storage

In this lab, you get a chance to practice deploying two Azure messaging services — Azure Service Bus and Azure Storage Queues — using the custom template feature in the Azure portal. After deploying each service, you will use the portal-resident tool to act as both the producer of messages and the consumer of messages to get a taste of how these two services work. There is no coding required, and if you are reasonably comfortable navigating the Azure portal, you should be able to complete this lab with minimal assistance.

Azure icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Jun 13, 2023

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Deploy and Work with Messages in Azure Service Bus Queue

    At the beginning of this objective, you should be logged in to the Azure portal, using the credentials provided with the lab. If you have trouble logging in, see the Housekeeping video for a walkthrough.

    In the portal, use the Deploy a custom template feature to create a Service Bus namespace with a queue, using a Quickstart template. When prompted to select a template, use this string to filter and pare down the list: servicebus-create-queue. Select the template that will create both a Service Bus namespace and a queue, with no other resources.

    Once the Service Bus namespace and queue are deployed, navigate to the queue, and use Service Bus Explorer to:

    1. Act as the message source to send 10 copies of the same message, at 5-millisecond intervals.
    2. Act as a message consumer to look at a few of the messages, without removing them from the queue or changing their position in the queue.
    3. Receive and dequeue the first two (oldest) messages in the queue.
    4. Confirm that there are only 8 messages remaining in the queue.

    Hint: Viewing a message, without removing it from the queue, is called a peek.

  2. Challenge

    Deploy and Work with Messages in Azure Storage Queue

    At the beginning of this objective, you should be logged in to the Azure portal, using the credentials provided with the lab. If you have trouble logging in, see the Housekeeping video for a walkthrough.

    In the portal, use the Deploy a custom template feature to create an Azure Storage account using a Quickstart template. When prompted to select a template, use this string to filter and pare down the list: Storage-account-create. Select the template that creates a storage account, with no other resources. Note that, unlike the first objective, where the template also created a queue, this one will create only the storage account.

    Once the storage account is deployed, navigate to it in the portal and create a new queue on the account. Then, use Storage Browser in the portal to:

    1. Act as the message source to send 2 or more messages.
    2. Act as a message consumer to look at one of the messages, without removing it from the queue or changing its position in the queue.
    3. Receive and dequeue the first (oldest) message in the queue.
    4. Confirm that the message has been de-queued.

    Hint: Viewing a message, without removing it from the queue, is called a peek. Simply select the message in the Storage browser to peek.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans