JBoss EAP on RHEL (clustered, multi-VM)

Last updated: 16/09/2020

This template allows you to create multiple RHEL 7.7/8.0 VMs running JBoss EAP 7.2/ EAP 7.3 cluster and also deploy a web application called eap-session-replication, you can log into the admin console using the JBoss EAP username and password configured at the time of the deployment.

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 User name for the Virtual Machine
authenticationType Type of authentication to use on the Virtual Machine
adminPasswordOrSSHKey Password or SSH key for the Virtual Machine
location Location for all resources
eapOnRHELVersion Version of EAP on RHEL
jbossEAPUserName User name for the JBoss EAP Manager
jbossEAPPassword Password for the JBoss EAP Manager
rhelOSLicenseType Select the of RHEL OS License Type for deploying your Virtual Machine. Please read through the guide and make sure you follow the steps mentioned under section 'Licenses, Subscriptions and Costs' if you are selecting BYOS
rhsmUserName User name for Red Hat subscription Manager
rhsmPassword Password for Red Hat subscription Manager
rhsmPoolEAP Red Hat Subscription Manager Pool ID (Should have EAP entitlement)
rhsmPoolRHEL Red Hat Subscription Manager Pool ID (Should have RHEL entitlement). Mandartory if you select the BYOS RHEL OS License Type
_artifactsLocation The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated.
_artifactsLocationSasToken The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated.
storageReplication Select the Replication Strategy for the Storage account
vmSize The size of the Virtual Machine
numberOfInstances Number of VMs to deploy

Use the template

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/jboss-eap-clustered-multivm-rhel/azuredeploy.json
Installing and configuring Azure PowerShell

Command line

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/jboss-eap-clustered-multivm-rhel/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface