Skip to content

deewhyweb/EAP-on-Azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploying EAP on Azure with the Azure CLI

From the Azure Marketplace, navigate to the JBoss EAP offer and click on "Get It Now".

Complete the software plan form, and click on "Continue"

Login to Azure with your Microsoft account.

From the configuration page click on "Get Started" following "Want to deploy programmatically"

Programmatic page

Ensure Status is set to "Enable" for your active subscription

Azure CLI Commands

Login to Azure using the Azure CLI

az login

Create a resource group

az group create --resource-group eap --location eastus

Deploy an instance of JBoss EAP on a virtual machine

az deployment group create --resource-group eap --template-file ./SaaS-ARM.json --parameters ./parameters.json --parameters adminPublicKey="$( cat ~/.ssh/id_rsa.pub)"

Once the deployment is complete, find the public IP address

az network public-ip show -n eap-ip --resource-group eap --query "ipAddress"

Store the IP address in an environment variable

IP_ADDRESS=$(az network public-ip show -n eap-ip --resource-group eap --query "ipAddress" | tr -d '"')

Login to the virtual machine using SSH

ssh azureuser@$IP_ADDRESS

Switch to root user

sudo su -

Start JBoss EAP

systemctl start eap7-standalone

Point your browser to the public IP address on port 8080

Cleanup

Delete the eap resource group

az group delete -n eap

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published