Service Bus

Create an Azure Service Bus in the DuploCloud Portal

Azure Service Bus is a fully managed enterprise message broker with message queues and publish-subscribe topics (residing in a Namespace). Service Bus is used to decouple applications and services from each other for load-balancing across competing workers. It also ensures secure routing and transferring of data and controls across service and application boundaries or coordinating transactional work requiring a high degree of reliability.

Adding an Azure Service Bus requires:

When you have created the Namespace, Queue, and Access Policy, the Service Bus is added to the DuploCloud Portal and can be viewed.

Creating a Service Bus Namespace

  1. In the DuploCloud Portal, navigate to DevOps -> App Integration.

  2. In the Service Bus tab, click Add. The Create Namespace page displays.

  3. In the Name field, enter the Service Bus name.

  4. From the Pricing Tier list box, select a pricing tier based on your projected usage.

  5. From the Minimum TLS Version list box, select the TLS version that supports the NameSpace you are creating.

  6. Select Local Authentication to disable local or SAS key authentication for the Service Bus namespace, allowing only Microsoft Entra authentication.

  7. Click Submit. When your Service Bus Namespace is available, an Active Status is displayed in the Service Bus tab.

Creating a Service Bus Queue

After you have created a Service Bus Namespace, you create a queue to enable communication between Web and Worker roles in a multi-tier Azure application. A Web role is a Microsoft server VM running Internet Information Services (IIS); a Worker role is a Microsoft server VM not running IIS. Service Bus queues also enable communication between on-premises apps and Azure-hosted apps in a hybrid solution.

  1. In the DuploCloud Portal, navigate to DevOps -> App Integration.

  2. In the Service Bus tab, select the Service Bus for which you want to add a Service Bus Queue.

  3. Click the Queue tab.

  4. Click Add. The Create Queue page displays.

  5. In the Name field, enter a name for the Service Bus Queue.

  6. Edit or accept the defaults for Max Queue Size, Lock duration (in seconds), and Max Delivery Count.

  7. Optionally, select Enable dead lettering or message expiration and Enable partitioning. See the Azure Documentation for detailed descriptions of these options.

  8. Set Message time to live in the format HOURS:MINUTES:SECONDS:MILLISECONDS to control when messages go live and to prevent them from being sent to the Dead Letter Queue after they expire. Setting Message time to live defers delivery of the message for the amount of time you specify. For example, to defer message delivery by fourteen (14) hours, set Message time to live to 14:00:00:00.

  9. Click Submit. When your Service Bus Queue is available, an Active Status is displayed in the Queue tab.

Creating a Service Bus Access Policy

After you create a Service Bus NameSpace and Queue, finish adding your Service Bus by creating an Access Policy.

In Azure, Shared Access Signatures (SAS) and policies give you granular control over the type of access you grant to the clients. SAS authentication enables you to grant a user access to Service Bus resources with specific rights. You create an access policy to configure a cryptographic key with associated rights on a Service Bus resource.

  1. In the DuploCloud Portal, navigate to DevOps -> App Integration.

  2. In the Service Bus tab, select the Service Bus for which you want to add a Service Bus Access Policy.

  3. Click the Access Policy tab.

  4. Click Add. The Create Access Policy page displays.

  5. In the Name field, enter the Access Policy name.

  6. Define access rights to the policy by selecting Manage (which automatically selects both Send and Listen), Send, or Listen. See the Azure documentation for additional information on these options.

  7. Click Submit. The Access Policy is displayed in the Access Policy tab.

Viewing the Service Bus

  1. In the DuploCloud Portal, navigate to DevOps -> App Integration.

  2. In the Service Bus tab, select the Service Bus you want to view. The Overview, Queue, Access Policy, and Details tabs display additional information about the Service Bus and its components.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates