APPSERVICE

Icon

Icon 1 7 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Operational tasks for an Azure App Services, such as restarting, scaling or re-deploying.

Tasks:
  • Restart App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Swap Deployment Slots for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Up App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Down App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Out Instances for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP` by SCALE_OUT_FACTORx
  • Scale In Instances for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP` to 1/SCALE_IN_FACTOR
  • Redeploy App Service `APP_SERVICE_NAME` from Latest Source in Resource Group `AZ_RESOURCE_GROUP`

Icon 1 8 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Triages an Azure App Service and its workloads, checking its status and logs and verifying key metrics.

Tasks:
  • Check for Resource Health Issues Affecting App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Check App Service `APP_SERVICE_NAME` Health Check Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch App Service `APP_SERVICE_NAME` Utilization Metrics In Resource Group `AZ_RESOURCE_GROUP`
  • Get App Service `APP_SERVICE_NAME` Logs In Resource Group `AZ_RESOURCE_GROUP`
  • Check Configuration Health of App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Check Deployment Health of App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`
  • Fetch App Service `APP_SERVICE_NAME` Activities In Resource Group `AZ_RESOURCE_GROUP`
  • Check Logs for Errors in App Service `APP_SERVICE_NAME` In Resource Group `AZ_RESOURCE_GROUP`

Icon 1 6 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Queries the health status of an App Service, and returns 0 when it's not healthy, and 1 when it is.

Tasks:
  • Check for Resource Health Issues Affecting App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check App Service `${APP_SERVICE_NAME}` Health Check Metrics In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check App Service `${APP_SERVICE_NAME}` Configuration Health In Resource Group `${AZ_RESOURCE_GROUP}`
  • Check Deployment Health of App Service `${APP_SERVICE_NAME}` In Resource Group `${AZ_RESOURCE_GROUP}`
  • Fetch App Service `${APP_SERVICE_NAME}` Activities In Resource Group `${AZ_RESOURCE_GROUP}`
  • Generate App Service Health Score