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




  • 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
  • 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
  • Lets get the credentials to publish our application
  • Lets add this as remote repository and push the changes
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%