Service Bus
Create an Azure Service Bus in the DuploCloud Portal
Last updated
Create an Azure Service Bus in the DuploCloud Portal
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
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:
Creating a Service Bus Namespace.
Creating a Service Bus Queue.
Creating a Service Bus Access Policy.
When you have created the Namespace, Queue, and Access Policy, the Service Bus is added to the DuploCloud Portal and can be viewed.
In the DuploCloud Portal, navigate to Cloud Services -> App Integration.
In the Service Bus tab, click Add. The Create Namespace page displays.
In the Name field, enter the Service Bus name.
From the Pricing Tier list box, select a pricing tier based on your projected usage.
From the Minimum TLS Version list box, select the TLS version that supports the NameSpace you are creating.
Select Local Authentication to disable local or SAS key authentication for the Service Bus namespace, allowing only Microsoft Entra authentication.
Click Submit. When your Service Bus Namespace is available, an Active Status is displayed in the Service Bus tab.
After you have created a Service Bus Namespace, you create a queue to enable communication between Web and Worke r 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.
In the DuploCloud Portal, navigate to Cloud Services -> App Integration.
In the Service Bus tab, select the Service Bus for which you want to add a Service Bus Queue.
Click the Queue tab.
Click Add. The Create Queue page displays.
In the Name field, enter a name for the Service Bus Queue.
Edit or accept the defaults for Max Queue Size, Lock duration (in seconds), and Max Delivery Count.
Optionally, select Enable dead lettering or message expiration and Enable partitioning. See the Azure Documentation for detailed descriptions of these options.
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.
Click Submit. When your Service Bus Queue is available, an Active Status is displayed in the Queue tab.
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.
In the DuploCloud Portal, navigate to Cloud Services -> App Integration.
In the Service Bus tab, select the Service Bus for which you want to add a Service Bus Access Policy.
Click the Access Policy tab.
Click Add. The Create Access Policy page displays.
In the Name field, enter the Access Policy name.
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.
Click Submit. The Access Policy is displayed in the Access Policy tab.
In the DuploCloud Portal, navigate to Cloud Services -> App Integration.
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.