Streamlit 1.58 on Ubuntu 24.04 LTS by cloudimg. The Python framework for turning data scripts into shareable web apps, serving a sample dashboard on loopback behind nginx HTTP Basic auth, the app on a dedicated data disk and a per-VM password. 24/7 support.
## Streamlit on Ubuntu 24.04 LTS by cloudimg
Streamlit is the fastest way to build and share data apps. Write a Python script and Streamlit turns it into an interactive web app - charts, dataframes, widgets, maps and more - with no front-end code. It is the go-to framework for data scientists and ML engineers building dashboards, internal tools and model demos. The cloudimg image installs Streamlit 1.58.0 in a dedicated Python virtualenv, serves a sample dashboard app as a systemd service bound to loopback behind an nginx reverse proxy on port 80 with HTTP Basic auth, persists the app and its data on a dedicated Azure data disk, and generates a unique login password on the first boot of every VM. Backed by 24/7 expert support.
Dedicated Data Disk
The sample app and any data live on a dedicated, independently resizable Azure data disk mounted at /var/lib/streamlit, separate from the OS disk and re-provisioned with every VM. Replace /var/lib/streamlit/app.py with your own Streamlit script and restart the service.
Secure By Default
Streamlit has no built-in authentication, so the server is bound to loopback and nginx fronts it on port 80 with HTTP Basic auth and websocket proxying. The per-VM admin password is unique to each VM, generated on first boot and stored in a root-only file. Front the proxy with TLS for production.
Why Choose cloudimg?
* 24/7 Expert Support with guaranteed 24 hour response. Contact support@cloudimg.co.uk
* Production Ready from Launch Pre configured, security patched, and validated before publication
* Azure Native Integration Built with Azure Linux Agent, cloud init, and Gen2 Hyper V
What is Included
* Streamlit 1.58.0 in a Python virtualenv at /opt/streamlit/venv (with pandas and numpy)
* A sample interactive dashboard app, served behind nginx on port 80
* HTTP Basic auth with a per-VM password in a root-only file
* A dedicated Azure data disk at /var/lib/streamlit for the app and data
* streamlit.service and nginx.service as systemd units, enabled and active
Use Cases
Data dashboards and internal tools, machine learning model demos and interfaces, interactive data exploration, reporting apps, and a self-hosted alternative to managed data-app hosting.
Visit www.cloudimg.co.uk/guides/streamlit-on-ubuntu-24-04-azure for the full user guide.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.