/dsma-ubuntu-vmss-app-gateway

DSM Accelerator deployed on Azure VM Scale Sets load balanced by an App Gateway.

Primary LanguageShell

Fortanix DSMA on Ubuntu VM Scale Set with Application Gateway Integration

This template deploys an Ubuntu VM Scale Set integrated with Azure Application Gateway and installs a systemd daemon to run DSM Accelerator (Tomcat server) using a Custom Extension.

It is based on the Azure Quickstart Template

Deploy To Azure

Deploy To Azure US Gov

Visualize

The Application Gateway is configured for round robin load balancing of incoming connections at port 80 (of the gateway's public IP address) to VMs in the scale set.

This template supports VM scale sets of up to 1,000 VMs, and uses Azure Managed Disks.

Usage:

1: Validate and Create (deploys and/or updates resources as needed)

  • az deployment group validate -g POV -f dsma-az-vmss.json -p dsma-az-vmss.params.json --name azDSMATest --verbose

  • az deployment group create -g POV -f dsma-az-vmss.json -p dsma-az-vmss.params.json --name azDSMATest

2: When updating/patching deployment, if the App Gateway backend pool is unhealthy, stop and correct the VMSS before restarting the App Gateway.

  • az network application-gateway stop -g az-resource-group --name dsmazDev-appGw
  • az network application-gateway start -g az-resource-group --name dsmazDev-appGw

3: Delete the deployment or Cleanup (purge all resources) using an special template that drains the group

  • az deployment group delete -g az-resource-group --name azDSMATest

Note: DRAIN-group.json purges all resources in the group, so override with caution.

  • az deployment group create --mode complete -g az-resource-group -f DRAIN-group.json --name azDSMATest

References: