Ensure that your Microsoft Azure App Services web applications have Always On feature enabled in order to prevent applications from being idled out due to inactivity. Always On keeps your websites/web applications loaded even when there's no traffic.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
efficiency
By default, websites and web applications are unloaded if they have been idle for too long and this behavior is often undesired. The Always On feature keeps your Azure web applications up and running, which translates to higher availability and faster response times across the board. The feature it's required for continuous Azure WebJobs or WebJobs triggered by CRON expressions. WebJobs is a feature of Azure App Services that allows you to run a program or script in the same context as a web application, API app, or mobile app.
Audit
To determine if your Azure App Services web applications are configured to use Always On, perform the following operations:
Remediation / Resolution
To enable Always On for your existing Microsoft Azure App Services web applications, perform the following operations:
References
- Azure Official Documentation
- App Service
- Azure Web Sites adds Always On
- Configure an App Service app in the Azure portal
- Azure PowerShell Documentation
- az webapp list
- az webapp config show
- az webapp config set