100 likes | 111 Views
Your web apps from code to deployed in a minute!. Nick King – Software Engineer II @ NickBKing nicking@microsoft.com. THR1110. Setup – Install Azure CLI. Windows Download the MSI installer: https://aka.ms/installazurecliwindows Mac brew update && brew install azure-cli
E N D
Your web apps from code to deployed in a minute! Nick King – Software Engineer II @NickBKing nicking@microsoft.com THR1110
Setup – Install Azure CLI • Windows • Download the MSI installer: https://aka.ms/installazurecliwindows • Mac • brew update && brew install azure-cli • Run in your browser • shell.azure.com • Not recommended for this session
Let’s deploy a Node app • Create a Resource Group az group create -n rgname -l “West US” • Create an App Service Plan azappservice plan create -n aspname -g rgname --sku STANDARD --is-linux --number-of-workers 1 • Create an App azwebapp create -n appname -g rgname -p aspname -r “NODE|8.0” • Change the app setting to enable builds after zip deployments azwebapp config appsettings set -n appname -g rgname --settings “SCM_DO_BUILD_DURING_DEPLOYMENT=TRUE" • Deploy your code using zip deployment (you need to zip the content) azwebapp deployment source config-zip -n appname -grgname --src .
azwebapp up • Provide the code and the command will do the rest • Provide a name for the app. The command will figure out the language, create an app, deploy it • Multi language support • Get the command • Node JS • ASP .Net • .Net Core • Java • Static Sites az extension add -n webapp
Demo It's easy az pie
Road Map • Work for all languages supported by App Service • Extend support to container apps and Azure Functions • Extend support to create slots • Move to Core CLI • Others Give us your feedback
Learn More aka.ms/command-line-tools
Please evaluate this sessionYour feedback is important to us! Please evaluate this session through MyEvaluations on the mobile appor website. Download the app:https://aka.ms/ignite.mobileApp Go to the website: https://myignite.techcommunity.microsoft.com/evaluations