Azure-Samples / app-templates-JBossEAP-on-AppService

Deploy JBoss EAP Applicaiton to Azure App Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JBoss EAP Pet Store Application Deployed to Azure App Service (AAS)

Description

In this sample app template of the Pet Store Microservices application. The Application is built with Maven and deployed to an Azure App Service (AAS) secured by Azure Firewall

Deploy JBoss EAP Application to Azure App Services:

-- Tech stack:

  • Azure Infra (Hub & Spoke Toppology)
  • Azure Infra (VNet Peering)
  • Azure User Defined Routing (UDR)
  • Azure Application Inisghts
  • Azure Log Analytics
  • Azure Application Gateway
  • Azure Fire Wall
  • Azure Bastion
  • Azure App Service (AAS)
  • Azure PostgreSQL DB
  • Github Actions
  • Bicep
  • Docker
  • Maven

Introduction

This is a quickstart template. It deploys the following:

  • Deploying Pet Store App:

    • Progres SQL Database configuration
    • Provisioning Azure Infra Services with BICEP
    • Create the Microservices Pet Store - build with Maven
    • Create an Azure Container Registry
    • Push your app to the container registry
    • Create an Azure App Services (AAS) Istance
    • Deploy each of the Microservies to AAS
    • Verify your container images
  • Pet Store on Automated CI/CD with GitHub Action

    • CI/CD on GitHub Action
    • CI/CD in action with the app

Refer to the App Templates repo Readme for more samples that are compatible with AzureAccelerators.

Prerequisites

  • Local shell with Azure CLI installed or Azure Cloud Shell
  • Azure Subscription, on which you are able to create resources and assign permissions
    • View your subscription using az account show
    • If you don't have an account, you can create one for free.

Getting Started

Fork the repository

  1. Fork the repository by clicking the 'Fork' button on the top right of the page. This creates a local copy of the repository for you to work in.

  2. Configure GITHUB Actions: Follow the insturctions in the GITHUB_ACTIONS_CONFIG.md file (Located in the .github folder.)

  3. Run the workflow

  • If workflows are enabled for this repository it should run automatically. To enable the workflow run automatically, Go to Actions and enable the workflow if needed.
  • Workflow can be manually run
    • Under your repository name, click Actions .
    • In the left sidebar, click the workflow "Build and Deploy Application".
    • Above the list of workflow runs, select Run workflow .
    • Use the Branch dropdown to select the workflow's main branch, Click Run workflow .

Pet Store Website

petstore-screenshot

Pet Store Website - IP Address

  1. If you wish to view the Pet Store Deployment, you have the following options:
  • Log into the Azure Portal
  • Nagivate the the "petstore_spoke_eastus" Resource Group
  • Locate the Wep App named: jbeappetstorewebapp (this is just a sample of what the Web App might be named)
  • Click it...
  • On the upper Right Hand Side, you will see a URL: https://xxxxxxxxxxxxxxxxxxx.azurewebsites.net (this is just a sample URL)
  • Click it...
  • A new page will open....it may take like 20 to 30 seconds to load (the WAR file is unpacking)
  • Once open, you will see the Pet Store Applicaiton Landing Page....

About

Deploy JBoss EAP Applicaiton to Azure App Service

License:Apache License 2.0


Languages

Language:Java 60.8%Language:HTML 28.8%Language:GLSL 6.7%Language:Bicep 3.0%Language:CSS 0.4%Language:Shell 0.3%