Elixir with Phoenix on Ubuntu 24.04 LTS
by cloudimg
Elixir with Phoenix - BEAM-VM web framework stack on Ubuntu 24.04
Elixir is a dynamic, functional language that runs on the Erlang virtual machine (the BEAM), and Phoenix is its productive, real-time web framework - together the stack behind fault-tolerant, massively concurrent web applications and WebSocket channels at scale. This cloudimg image installs Elixir 1.20.2 and Phoenix 1.8.9 on Ubuntu 24.04 LTS, running on Erlang/OTP 28.5, all pinned by exact version and verified against sha256 checksums.
Because Phoenix is a web framework, this image ships a genuinely browsable web UI. A demo Phoenix app is pre-deployed as a production Mix release - the self-contained BEAM artifact that bundles its own Erlang runtime - and served behind nginx on port 80. It presents the standard Phoenix welcome page, a live JSON status route (server timestamp, Elixir/OTP/Phoenix versions and a concurrency-safe request counter), and Phoenix LiveDashboard, the real-time console showing live BEAM memory, processes and run-queues over a LiveView WebSocket. The endpoint binds to loopback with nginx fronting it and an unauthenticated health check.
The Elixir toolchain (elixir, iex and mix) is on the system path, so you can build and deploy your own release with a single mix release command. The release and runtime data live on a dedicated 20 GiB Azure data disk at /var/lib/phoenix-demo. Each VM generates its own Phoenix secret key on first boot, and the image ships fully patched.
Elixir is Apache-2.0 and Phoenix is MIT licensed - free and open source with no per-CPU or per-deployment fee. cloudimg provides 24/7 commercial support with a 24 hour response SLA, separate from the upstream open-source projects.