Why use of VMSS
1) Easy to create and manage multiple VMs
2) Provides high availability and application resiliency
3) Allows your application to automatically scale as resource demand changes
Pre-requisite
1)Prepare load balancer
2) Prepare Virtual Network Subnet of app server to reside
2.a) VNET DNS server update with On-premise or Azure DNS server search order
2.b) Extend the Network with On-Premise either VPN (S2S) or Express route
3) NSG rule either Network interface or Subnet
4) Additional layer of security such as Azure Firewall, DDoS protection
2) Prepare VM Scale set
Name of SS
Region to reside VM
Av Zone on residing datacenter
Image (Own or Marketplace)
3) Disk Managed for OS and data disk
4) Instance count
5) Scaling Policy such as Minimum, maximum number of instances, Scale-Out/In for CPU threshold
6) Custom storage account for diagnostics Lgs
7) Any health application monitoring such as HTTP, HTTPS
Following the ARM template will help you to automate the VMSS provision
https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAz...