Azure Classroomnotes 26/Feb/2022

App Service Deployment => Staging Slots, Custom Domains

  • Dedicated Host plans like standard, premimum and isolated will give more options for an Azure App Service
  • Staging Slots
    Preview
    Preview
    Preview
    Preview
    Preview
  • For deploying an azure app we have following options
  • Deploy via FTP
  • Deploy from Git
  • CLI/Powershell
  • Deploying application using Azure CLI in Powershell Terminal
  • Create variable in the Powershell or bash. In the below images i will be using powershell. We use the app service plan, resource group name, web app name (if they are already created use exising names), If the app service is to be create then these variables will be used for creation
    Preview
  • To create an app service plan and app service
# To create a plan
az appservice plan create `
    --name $APP_SERVICE_PLAN_NAME `
    --resource-group $RESOURCE_GROUP_NAME `
    --sku F1 `
    --is-linux

# To create a web app 
az webapp create `
    --name $APP_SERVICE_NAME `
    --runtime 'PYTHON:3.9' `
    --plan $APP_SERVICE_PLAN_NAME `
    --resource-group $RESOURCE_GROUP_NAME `


  • Now lets configure azure app to use our local git
    Preview
  • Lets get the credentials to publish our application
    Preview
  • Lets add this as remote repository and push the changes
    Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner