Getting started with Hazelcast on Azure Kubernetes Service ( AKS )

Sharath Sahadevan
2 min readMay 6, 2020

--

In my role as a Solution Architect, I have the opportunity to talk to a number of peers who are in various stages of adoption of the public clouds.

Recently I talked to a customer who was interested in seeing Hazelcast on Azure. Here are the steps I followed to get it up and running.

Step 1: Set up AKS on your Azure account.

Here is a screen shot of my AKS instance

Screenshot of AKS on my Azure portal
AKS screenshot

Step 2 : Get credentials from your AKS instance

Launch the Azue cloud shell and run the following command:

az aks get-credentials — resource-group ssHazelcastDemo — name $1

You can now verify that you can run kubectl commands

kubectl get all

Step 3: Install Hazelcast

I used the helm charts. Here are the utility scripts I used.

addstable.sh

installhz.sh

Results showing Hazelcast installed on the pods

Step 4: Validate by launching an external client and Management Center

You can now view management center at the exposed external IP address.

Similarly you can connect a Hazelcast Client to Hazelcast external ip.

Eclipse screen showing the java client
Running the client and connecting to Azure

Conclusion

In summary, it is pretty easy to get started on Hazelcast in any environment that has Kubernetes installed.

Additional Resources

--

--