Coding Python: Deploy Django Apps to Azure with VS Code
Tags: azure, tutorial, python, cloud
Published: 2020-09-21 11:27:57


#### 📺 025 - Nina Zakharenko 🎙️ Frank Boucher

{% youtube U3Axs6ZseJg %}

---

In this episode, Nina join Frank to talk about Python on Azure the tool available and walk us through the steps to deploy an simple Python application.  If you never try Python, like Frank, it's the perfect way to jump in! Everything will be explained for the none initiated. 

We will start by creating an app using the Django framework, because it's a very popular framework that does a lot of things easily. Nina will show us how great is the [Visual Studio Code extension for Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python&WT.mc_id=allaroundazure-devto-ninaz). We will quickly execute it locally as final validation before the deployment.

Finally Nina will use the excellent [Azure App Service extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice&WT.mc_id=allaroundazure-devto-ninaz) to deploy it into Azure App Service. This Platform As A Service ([PaaS](https://code.visualstudio.com/docs/azure/deployment?WT.mc_id=allaroundazure-devto-ninaz)) option gives of a lot of flexibility and stay very easy to use as we only control our application.

---

### Useful Links

🔗 [Deploy a Django web app with PostgreSQL in Azure App Service](https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-python-postgresql-app?tabs=bash%2Cclone&WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Deploy to Azure App Service using Visual Studio Code](https://docs.microsoft.com/en-us/azure/devops/pipelines/targets/deploy-to-azure-vscode?view=azure-devops&WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Deploying Applications to Azure](https://code.visualstudio.com/docs/azure/deployment?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Python in Visual Studio Code](https://code.visualstudio.com/docs/languages/python?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Getting Started with Python in VS Code](https://code.visualstudio.com/docs/python/python-tutorial?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Azure for Python Developers](https://docs.microsoft.com/en-us/azure/developer/python/?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Flask tutorial](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Device Simulator Express](https://marketplace.visualstudio.com/items?itemName=ms-python.devicesimulatorexpress?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Azure Monitor Application Insights now supports Python](https://azure.microsoft.com/en-us/updates/azure-monitor-application-insights-now-supports-python/?WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Writing your first Django app](https://docs.djangoproject.com/en/3.0/intro/tutorial01/)

🔗 [Python extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python&WT.mc_id=allaroundazure-devto-ninaz)

🔗 [Azure App Service for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureappservice&WT.mc_id=allaroundazure-devto-ninaz)


### Learn more about Nina Zakharenko

🔗 Twitter: [@nnja](https://twitter.com/nnja)

🔗 [Nina's Bio](https://developer.microsoft.com/en-us/advocates/nina-zakharenko)


### Find Us On

📺 [Twitch](https://www.twitch.tv/microsoftdeveloper)

🔗 [Twitter](https://twitter.com/fboucheros)

☁️