Service Bus II: Azure Service Bus
Install Service Bus
- Open portal.azure.com
- Login with Administrator Credentials
- Navigate to your resource group
- Click Add
- Search for Service Bus
- Press Enter
- Select Service Bus
- Click Create
- Enter a Name, e.g. imagoverum.servicebus.windows.net
- Select at minimum the Standard pricing tier
- Recheck Subscription
- Recheck Resource group
- Change Location, e.g. West Europe
- Click Create
- Wait until the Deployment is finished
Configure Service Bus
Within this chapter, we will create a topic for the Service Bus and several subscriptions. Depending of which Secure Unified Endpoint Management products you have licensed or in use, you might want to skip some subscriptions. At minimum you should create the matrix42.uux.subscription and the matrix42.silverback.subscription.
Create a Topic
- Navigate back to your resource group
- You should see now a new Service Bus
- Open it
- Under Entities select Topics
- Click + Topic
- Enter a Name, e.g. matrix42.suem.topic
- Click Create
- Click matrix42.suem.topic
Add Subscription
- Navigate to subscriptions
- Click +Subscription
- Enter a Name, e.g. matrix42.uux.subscription
- Click Create
- Click on the newly created subscription to filter all messages sent by the subscriber itself
- Delete the $Default filter and confirm with Yes
- Click Add Filter
- Enter Excludeown as Name
- Enter in the expression field: Sender != 'matrix42.uux.subscription'
- Click Save Changes and close the window
- Click +Subscription
- Enter a Name, e.g. matrix42.empirum.subscription
- Click Create
- Click on the newly created subscription to filter all messages sent by the subscriber itself
- Delete the $Default filter and confirm with Yes
- Click Add Filter
- Enter Excludeown as Name
- Enter in the expression field: Sender != 'matrix42.empirum.subscription'
- Click Save Changes and close the window
- Click +Subscription
- Enter a Name, e.g. matrix42.silverback.subscription
- Click Create
- Click on the newly created subscription to filter all messages sent by the subscriber itself
- Delete the $Default filter and confirm with Yes
- Click Add Filter
- Enter Excludeown as Name
- Enter in the expression field: Sender != 'matrix42.silverback.subscription'
- Click Save Changes and close the window
- Click Create
- Click +Subscription
- Enter a Name, e.g. matrix42.egosecure.subscription
- Click Create
- Click on the newly created subscription to filter all messages sent by the subscriber itself
- Delete the $Default filter and confirm with Yes
- Click Add Filter
- Enter Excludeown as Name
- Enter in the expression field: Sender != 'matrix42.egosecure.subscription'
- Click Save Changes and close the window
Create Shared access policies
- Navigate to Shared access policies
- Click Add
- Enter policy name, e.g. matrix42.suem.policy
- Enable Manage
- Click Create
- Open matrix42.uem.policy
- Create a new Text Document with e.g. Notepad++
- Copy and Paste the Primary Connection String to your Text Document