Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
This post provides brief steps, on how to launch a UM 10.5 server as a container on Azure cloud env using Azure Kubernetes Services. I have also provided some sample commands / k8s YAML files, which can help you start and get running quickly. This article presumes, that you have some knowledge about Kubernetes, Azure, Docker, Universal Messaging, AZ CLI, and Kubectl. This knowledge might help you to understand, behind the scenes operations that are happening.
Login to your azure account using the below command from the command prompt. I have used a windows workstation. Normally the command would open a browser window, and will ask you to enter your azure account credentials and then you should get logged in. But, If you get the below message, it’s probably because you have MFA enabled for your Azure account. If you see this, use steps 3 & 4 to log in. But if you don’t get the below message and then you will get a screen as shown in step 4 below, and you can directly move on to step 5.
Command : az login
For eg:
Create a secret, for you to be able to use later, in pulling the UM docker image from the docker hub registry.
Command : kubectl create secret docker-registry regcred --docker-server= --docker-username= --docker-password= --docker-email=
Verify that secret has been created successfully using the below command.
Command : kubectl get secret
Create the static public IP that will be used to expose the UM server to external clients. This IP will be assigned to the Load Balancer service, which we will create in later steps. Sample command is given below.
Command: az network public-ip create --resource-group POC-C --region centralindia --name myAKSPublicIP --sku Standard --allocation-method static
Get the IP address created in step 8 using below command. Note down this IP. This will be used in later steps.
Command : az network public-ip show --resource-group POC-C --name myAKSPublicIP --query ipAddress --output tsv .
Sample command format: az role assignment create --assignee Client-ID --role “Network Contributor” --scope /subscriptions/subscription-id/resourceGroups/resource-group-name
Sample command: az role assignment create --assignee c3d83af8-0f94-4af4-8702-9abcbd3ae0f6 --role “Network Contributor” --scope /subscriptions/1af1b6a2-5fa0-45fd-816c-959db4e487bd/resourceGroups/POC-C
Here Client ID is of the AKS cluster and POC-C is my resource group name. 1af1b6a2-5fa0-45fd-816c-959db4e487bd is my subscription ID.
So we saw in the above steps, how to quickly spin up a UM container on Microsoft Azure using Azure Kubernetes Services. We were also able to connect to the UM using our EM. Hope this articles helps you to quickly get started, and provide you the very first steps on how to do it.
I will keep adding more to this topic in the future. Thanks for reading.