The auto-scaling feature is available with FortiWeb 6.1 and later versions for PAYG instances. The auto-scaling can be deployed on Azure platform by the template service, this requires a manual deployment of the ARM templates.
We developed a server-less website application running on the Azure App Service. It can be authorized to access the resources in the autoscaling cluster and chooses the server ("master node") VM in the FortiWeb VMSS (Virtual Machine Scale Set). It indicates the server's IP address and VMID(a unique ID for each FortiWeb instance) to the clients (slave nodes) in the cluster.
The following resources will be deployed using the ARM templates
- Load Balancer
- Virtual Network
- Azure Function Application
- Azure CosmosDB
The relationship of the resources can be described in the below picture.