Plotly Dash on Ubuntu 24.04 LTS
بواسطة cloudimg
Interactive Python analytics dashboards in production: gunicorn, nginx and a per-VM login
Plotly Dash on Ubuntu 24.04 LTS
Plotly Dash is the popular open source Python framework for building interactive, data-driven web applications and analytical dashboards — Plotly charts wired to dropdowns, sliders and callbacks — without writing any JavaScript. cloudimg packages it as a finished, production-ready dashboard server, not a bare framework.
What you get
- Dash 4.4.0 with Plotly 6.9.0 and pandas 2.2.3 in a Python 3.12 virtual environment, run by an unprivileged service account
- A substantive bundled sample dashboard, the Global Development Explorer, live on first boot: a Plotly bubble chart, a ranked bar chart and a data table driven by a metric dropdown, a region dropdown and a year slider, with real interactive callbacks
- Served in production by gunicorn, the WSGI application server, never the Flask development server, behind an nginx reverse proxy on port 80
- Secure by default: the dashboard is placed behind HTTP Basic Authentication and a unique admin password is generated on the first boot of every VM and written to a root-only file
- An open, unauthenticated health probe for load balancers
Make it yours
Replace the bundled sample with your own Dash application — the guide shows exactly how, keeping the module-level server that gunicorn serves. Restart the systemd service and your dashboard is live.
Licensing and support
Dash is free and open source under the MIT licence. The cloudimg charge (0.04 US dollars per vCPU per hour) covers packaging, security patching, image maintenance and 24/7 expert support. Every deployment is paired with a step-by-step guide tested against the exact image you deploy.