Azure App and Azure SQL DB for Azure Stack Hub

Lee ChongYew 6 Reputation points
2022-12-22T01:29:01.733+00:00

Hi,
I would like to understand if Azure Stack Hub can support the below. The client expects the application and database hosted in the hospital instead of in the cloud due to compliance requirement.

-Azure App Service with Auto Scale feature

Azure App Service – with same built in Auto Scale:
https://learn.microsoft.com/en-us/azure/azure-monitor/autoscale/autoscale-get-started
Based on the provided doc (Deploy App Service in Azure Stack Hub - Azure Stack Hub | Microsoft Learn) it seems that it does not support the Auto Scale feature as Azure App Service.

-Azure SQL DB (single database) with same built in backup feature

Thank you very much.

Azure SQL Database
Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
180 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,998 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee
    2022-12-26T05:28:34.427+00:00

    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:

    1. 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.
    2. 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.
    3. 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.
    4. 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.

    0 comments No comments