hands-on lab

Creating a Topic and Subscription in Azure Service Bus

Beginner
40m
2,236
4.6/5
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.
Lab description

Azure Service Bus is a messaging service from Microsoft. Service Bus is based upon the Publish/Subscribe messaging model, which is often referred to simply as Pub/Sub. Azure Service Bus supports Queues and Topics. 

Queues are used for pushing messages to a single consumer. Topics are used to distribute messages to multiple consumers in one-to-many message publishing scenarios. The benefits of using Pub/Sub messaging include:

  • No need for expensive polling operations
  • Applications and services can be decoupled
  • Fault tolerance
  • Scalability

In this Hands-On lab, you will use the Azure Portal to create a namespace in Azure Service Bus, and you will use the Azure command-line interface to create a Topic and a Subscription to your Topic.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Use the Azure Portal to create an Azure Service Bus Namespace
  • Use the Azure command-line interface to create a Topic and Subscription
  • Examine your Namespace, Topic, and Subscription in the Azure Portal

Intended Audience

  • Candidates for the Azure Developer Associate (AZ-204) certification
  • Cloud Engineers
  • Developers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Service Bus
  • Azure command-line interface
  • The Bash shell

The following courses can be used to fulfill the prerequisites:

Updates

March 28th, 2023 - Updated instructions to include resource group flag

August 22nd, 2022 - Updated screenshots & instructions to match UI changes

 

 

Environment before
Environment after
About the author
Avatar
Andrew Burchill
Labs Developer
Students
66,032
Labs
163
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Creating a Namespace, Topic, and Subscription in Azure Service Bus