Back to Browse

Deploy Dash Plotly App with Azure (for Free!)

567 views
Jan 25, 2025
13:14

Deploy Your Dash Plotly App to Microsoft Azure in 10 Easy Steps (For Free!) 🚀 In this video, I’ll walk you through how to deploy your Dash Plotly app to Microsoft Azure in just 10 simple steps—and yes, it’s completely free! 🤑 🔗 GitHub Repo (Final Code): https://github.com/msjoelin/dash_demo Prerequisites 🛠️ Before we dive in, make sure you have: ✅ A Dash Plotly app working locally 🖥️ ✅ Your code pushed to a GitHub repository 🔗 ✅ An Azure subscription 🌐 Steps to Deploy 📝 1️⃣ Ensure your app works locally (test it to avoid surprises). 2️⃣ Add server=app.server to your app.py file. 3️⃣ Wrap app.layout in an html.Div. 4️⃣ Create a requirements.txt file. 5️⃣ Commit and push your changes to GitHub. 6️⃣ Create a new app in Azure. 7️⃣ Add the startup command: bash gunicorn --bind=0.0.0.0 --timeout 600 app:server 8️⃣ Deploy the app using your GitHub repo. 9️⃣ Let it build (grab a coffee ☕). 🔟 Celebrate and check out your app in production! 🎉 --------------------------- 00:00 Intro — deploy your Dash app to the web for free 00:31 Prerequisites — 3 things you need before starting 01:22 Step 1: Check the app works locally 02:22 Step 2: Prep the code for deployment 03:53 Step 3: Create the requirements.txt file 05:49 Step 4: Set up Azure App Service 08:06 Step 5: Configure the startup command 09:04 Step 6: Connect GitHub & deploy 10:27 Verify the deployment is live 11:27 Bonus: Auto-deploy on every GitHub push #PlotlyDash #MicrosoftAzure #PythonDeployment #DashApp #AzureAppService #DataEngineering #PythonDeveloper #DataAnalytics #GitHub #WebDeployment

Download

1 formats

Video Formats

360pmp420.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Deploy Dash Plotly App with Azure (for Free!) | NatokHD