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.