Hello @Lee ChongYew ,
As far as I know, yes it is possible to set up auto-scale for Azure App Service Web Apps on Azure Stack Hub using Azure Monitor.
To set up auto-scale, you will need to use the Azure Monitor service to monitor the performance of your web app and configure rules that determine when to scale up or down the number of instances of your web app.
The following steps need to be performed to set up auto-scale:
- Install the Azure Monitor Extension on your Azure Stack Hub instance. This extension allows you to monitor the performance of your web app and configure auto-scale rules.
- Create an Azure Monitor metric alert to monitor the performance of your web app. You can use metrics such as CPU, memory, and network traffic to trigger the auto-scale rules.
- Create an auto-scale rule that specifies the conditions under which the number of instances of your web app should be scaled up or down. For example, you might specify that if the average CPU usage of your web app exceeds 80% for more than 15 minutes, the number of instances should be increased.
- Test the auto-scale rule to ensure that it is working as expected.
Once you have set up the auto-scale rule, Azure Monitor will automatically scale up or down the number of instances of your web app based on the performance metrics you have specified.
Hope this helps! Feel free to reach back if you have any questions. Thank you.
-------
Please accept as answer
and upvote
if the above information is helpful.