The Azure App Service should be enabled with 'always on'

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

Azure App Services has ‘always on’ enabled for web apps.

Rationale

Enabling ‘always on’ will enhance your Azure Apps web apps’ availability.

Remediation

Azure CLI

  1. Get a list of your App Services by running the following in Azure Powershell:

        az webapp list
    	--query '[*].id'
        
  2. Check the config of your web apps with the command:

        az webapp config show
    	--ids "<INSERT_ID>"
    	--query 'alwaysOn'
        
  3. Enable the web app’s ‘always on’ capability with the command:

        az webapp config set
    	--ids "<INSERT_ID>"
    	--always-on true
        
  4. Repeat steps one through three for each server that is not configured correctly.