Getting started with Hazelcast on Azure Kubernetes Service ( AKS )
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
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.
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.
Conclusion
In summary, it is pretty easy to get started on Hazelcast in any environment that has Kubernetes installed.
Additional Resources
- https://hazelcast.com/blog/how-to-use-embedded-hazelcast-on-kubernetes/
- https://hazelcast.com/blog/hazelcast-helm-chart/
- https://hazelcast.com/blog/how-to-set-up-your-own-on-premises-hazelcast-on-kubernetes/
- https://github.com/hazelcast/hazelcast-code-samples/tree/master/hazelcast-integration/kubernetes/samples/embedded
- https://github.com/hazelcast/hazelcast-code-samples/tree/master/hazelcast-integration/kubernetes
- https://github.com/hazelcast/hazelcast-code-samples/tree/master/hazelcast-integration/kubernetes/samples/external-client
- https://github.com/ssahadevan/imdg