Beginner Guide to Streamlit Deployment on Azure
<p><a href="https://streamlit.io/" rel="noopener ugc nofollow" target="_blank">Streamlit</a> is an amazing open-source app framework commonly used by data scientists to quickly make responsive web apps. Streamlit’s intuitive framework is very simple to learn, and can create beautiful dashboards and even more complex web applications within minutes.</p>
<p>However, many data scientists put off thoughts of deployment until the end of their project. Instead, by starting their projects with the deployment stage programmers can quickly visualize their changes within the final UI as they work. This can save you a lot of stress down the road in the event that you complete the machine learning phase only to realize there are many unexpected issues when trying to deploying your project.</p>
<p>When trying to deploy a recent project of mine, I realized that there weren’t many explanations of how to deploy a Streamlit app on Azure with SSL encryption. The SSL certificate is very important for any client-facing pages. If you have a certificate, visitors to your page will not face a browser warning that the site is unsafe. This browser warning is unprofessional, and can potentially block users from connecting successfully (depending on the browser and settings). Therefore, after many days of experimenting, researching and parsing deprecated or incomprehensible solutions, I have developed a minimal step-by-step guide to deploy a Hello World Streamlit app online with SSL. For this we will use Microsoft Azure (Repository, Storage Account and Container Instance), certbot (for SSL), and NGINX as a reverse proxy web server. Don’t worry if you don’t understand one (or all!) of those — this guide is step-by-step, and should have you up and running within 15 minutes. Without further ado, let’s get started!</p>
<p><a href="https://towardsdatascience.com/beginner-guide-to-streamlit-deployment-on-azure-f6618eee1ba9"><strong>Click Here</strong></a></p>