Hazelcast Cluster

Last updated: 01-03-2016

Hazelcast is an in-memory data platform that can be used for a variety of data applications. This template will deploy any number of Hazelcast nodes and they will automatically discover each other.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
adminUsername Username for hazelcast VMs
adminPassword Password for hazelcast VMs, if authenticationType is set to 'password'
sshPublicKey SSH Public key for hazelcast VMs, if authenticationType is set to 'sshPublicKey'
authenticationType Authenitcation method for logging into Hazelcast VMs.
clusterUserName Username for hazelcast grid
clusterPassword Password for hazelcast grid
dnsPrefix Unique DNS Name for the Public IP used to access the Virtual Machine.
instanceCount The number of hazelcast nodes in the grid
clusterName The tag used to identify this cluster
clusterPort The cluster port to identify this cluster
minHeapSizeInGB The minimum heap size for each hazelcast jvm. Applicable values should end in 'G' - 4G, 8G etc.
maxHeapSizeInGB The maximum heap size for each hazelcast jvm. Applicable values should end in 'G' - 4G, 8G etc.
aadClientId Azure Active Directory Service Principal client ID
aadClientSecret Azure Active Directory Service Principal client secret
aadTenantId Azure Active Directory Service Principal tenant ID
vmSize The size of each instance VM
ubuntuOSVersion The Ubuntu version for deploying the Docker containers. This will pick a fully patched image of this given Ubuntu version. Allowed values: 14.04.2-LTS, 14.04-DAILY, 15.04
templateBaseUrl The base URL for the bootstrap files

Use the template

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/hazelcast-vm-cluster/azuredeploy.json
Install and configure Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/hazelcast-vm-cluster/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface