PlantUML Server on Ubuntu 24.04 LTS
by cloudimg
Private PlantUML diagram server: browser editor and render API over HTTPS with a per-VM login.
PlantUML Server is the web front end of PlantUML, the open source tool that turns short text descriptions into sequence, class, activity, component, state, use case and deployment diagrams, plus mind maps, Gantt charts, JSON and YAML views and C4 architecture diagrams. It gives you a browser editor with a live preview and renders any diagram from a URL as PNG, SVG, PDF or text, so wikis, documentation sites, CI pipelines and chat tools can show diagrams that live as text in your repositories. Running your own server keeps those diagram sources on your own infrastructure.
This cloudimg image runs the official PlantUML Server 1.2026.9 release, unmodified and checksum pinned, on Eclipse Jetty 12.1.14 (which carries the 2026 Jetty request smuggling and denial of service fixes) and OpenJDK 21 from Ubuntu. Diagrams are laid out by PlantUML's built in Smetana engine, so no separate layout program runs.
It is locked down from the first boot. nginx serves the editor and the render API over HTTPS with a certificate generated on your VM, and port 80 redirects to HTTPS. A per-VM HTTP Basic Auth gate protects every page: there is no default login, and the password is generated on first boot and stored in a root only file. PlantUML runs in its strictest security profile, SANDBOX, so a diagram cannot include local files or URLs, read the service's environment or load JSON; the PlantUML service can reach nothing but the VM's loopback address, the upstream server-side fetch endpoints are switched off, and nginx, PlantUML and the first boot service are blocked from the Azure Instance Metadata Service and the WireServer. Cross-site requests are refused, a strict Content Security Policy protects the editor, and the real client address comes from the connection, not from forwarding headers. Ubuntu 24.04 LTS is fully patched at build time and unattended security upgrades stay on.
PlantUML Server is free and open source under the GNU General Public License, version 3 or later. cloudimg provides 24/7 commercial support with a guaranteed 24 hour response SLA, separate from the upstream project; the cloudimg charge covers packaging, hardening, security patching, image maintenance and support. The deployment guide is at https://www.cloudimg.co.uk/guides/plantuml-server-on-ubuntu-24-04-lts-azure/.