Scenario:
“I want to automatically scale Azure Resource Manager (ARM) Virtual Machines in Azure Government. I do not want to use Virtual Machine Scale Sets (VMSS).”
The video below walks through the following code sample, which addresses the scenario above:
https://github.com/devkeydet/AzureAutomationAutoScaleVirtualMachines
My sample is an adaptation of the Custom Auto Scaling for Azure ARM Virtual Machines sample. The video explains the differences, how the code works and how to get it deployed and running.
As I point out at the end of the video, this general approach could also be adapted to implement custom autoscale for other services in Azure Government such as App Service, VMSS, and SQL Database.