What this thread does
The problem
Your Phoenix app needs repeatable deployment, recovery, a suitable host and review of agent-generated OTP and infrastructure changes.
Versions and costs, as of November 2026
| Component or service | Verified status | Source and qualification |
|---|---|---|
| Elixir | 1.20.5 release | Official release; not installed here |
| Phoenix | 1.8.17, MIT | Hex; release generator included |
| libcluster | 3.6.0, MIT | Hex |
| Kamal | Official site displays 2.12.0 | Site; licence not audited here |
| Tidewave Phoenix MCP | Hex package tidewave 0.9.2, Apache-2.0 | Hex; separate from the commercial product |
| usage_rules | 1.3.1, MIT | Hex |
| Fly.io | Shared CPU, 512 MB, $3.69 per 30 days in iad/ewr | Official pricing; app machine only, regional differences and other resources extra; Basic Managed Postgres starts at $38/month plus storage |
| Gigalixir | Free $0/month; Standard calculator initially shows $10/month at 0.2 GB, one replica, no database | Official pricing; Free has 0.5 GB, one app replica, a 10k-row database and sleeps after 30 days without a deploy; Standard database separate |
| Render | Current price not recoverable from fetched page | Pricing; do not budget from an old screenshot |
| VPS | No provider quote verified | Budget separately for VM, backups, storage, traffic and operator time |
Figures are not memory requirements or comparable bills. Docker/systemd versions were not pinned.
When to pick which
| Pick | Fits when | Work still yours |
|---|---|---|
| Fly.io | You want Phoenix-aware deployment and private networking, possibly across regions | Machine lifecycle, placement, database plan, health checks and distribution configuration |
| Gigalixir | You prefer an Elixir-focused PaaS with node discovery and remote console workflows | App configuration, sizing, migrations, data recovery and validating plan limits |
| Render | You want Git-driven web services and managed infrastructure with a documented Phoenix path | Release build/start settings and deliberate private-network discovery for multiple nodes |
| VPS plus Kamal | You want your own hosts and container rollout tooling | OS, Docker, registry, capacity, backups and the app's cluster networking |
| VPS plus systemd | One service or a small fleet, Linux operations skills, minimal deployment machinery | Artifact delivery, service unit, reverse proxy, TLS, restarts, rollback and backups |
Phoenix documents these deployment paths without ranking reliability.
Build a release before choosing the wrapper
Phoenix releases bundle runtime, app and dependencies. Generate helpers with mix phx.gen.release, compile production assets and assemble with MIX_ENV=prod mix release. Generated bin/server enables HTTP. Match the target OS, architecture and native libraries.
mix phx.gen.release --docker generates a Dockerfile building the release into a runtime image. The guide recommends matching Debian versions across stages and cautions about Alpine compatibility. Pin compatible build/runtime versions; keep migration, recovery and health-check plans.
For native releases, I recommend a foreground server under a dedicated systemd user, with working directory, runtime configuration and restart policy; see the service reference. Keep the previous artifact and plan schema compatibility.
Kamal supports containerized apps beyond Rails. Supply a Phoenix release image, port and health endpoint. App replicas still need BEAM distribution configuration.
Provider-specific checks
- Fly documents Phoenix and clustering. Verify generated config, listeners, health checks and database placement. Multiple app regions do not create a multi-region writable database.
- Gigalixir documents an Elixir workflow and lists discovery in its pricing. Verify the actual paid configuration and recovery plan.
- Render explains PHX_SERVER and RENDER_EXTERNAL_HOSTNAME. Its cluster guide uses libcluster DNS discovery and RENDER_DISCOVERY_SERVICE, but still contains config/releases.exs-era instructions; adapt to runtime.exs.
Clustering basics
libcluster discovers peers and maintains node connections using a chosen strategy under Cluster.Supervisor. Choose discovery for the host, such as DNS or static membership. Nodes need distinct reachable names, compatible distribution configuration and the same cookie, over a private network with the required ports reachable.
Begin with one node unless requirements justify more. Verify Node.list() and cross-node PubSub. Phoenix documents long-polling needs across replicas: clustering, another PubSub adapter or sticky sessions. Clustering does not replicate databases, persist arbitrary process state or ensure exactly-once jobs.
Community evidence and AI coding agents
- A r/elixir hosting discussion was returned by search. Commenters report working Fly deployments and VPS rollouts with health checks and previous-image rollback; others report setup friction. Author metadata was unavailable; these anonymous excerpts are supplementary evidence, not a provider ranking.
- Hashrocket's Vinicius Negrisolo reports better assistant suggestions using dependency rules and Tidewave runtime context. This is a practitioner account, not a controlled study.
- Ben Swift shows Zed/Tidewave/AshAI, calling it “my setup”. This verifies a workflow, not autonomous deployment reliability.
Tidewave verifies source lookup, logs, locked-version docs and runtime evaluation. Keep it development-only. usage_rules manages rules and skills; configure mix.exs and run mix usage_rules.sync. Older blog flags are obsolete.
My inference is to use agents for scaffolding, tests and failure reproduction. Require review and tests for supervision, process lifetime, distributed failures and recovery. A working page proves none of those. No general Elixir agent success/failure rate was established.
A prompt to give your agent
Read mix.lock and runtime.exs; cite matching docs. Prepare a release build and Docker/Kamal or systemd proposal with health checks, runtime inputs and rollback. Explain clustering and verification. Use dependency rules and dev logs. Separate test results from assumptions. Do not deploy, migrate or access production databases.
Mistakes and recommendation by constraint
Choose Fly/Gigalixir for less platform setup, Render for existing workflows, a VPS when someone owns operations. Use systemd for native releases or Kamal for containers. Check obsolete config, PHX_SERVER and distribution ports; test recovery.
Limits
No builds, deployments, clusters, load/recovery tests or agent trials were run; no uptime comparison verified. Reddit came from search excerpts. Two blogs do not measure agent competence. Render prices, VPS quotes and Kamal licensing remain unverified. Official pages checked 2026-10-20.
Started from a post by @Vinicius Negrisolo, packaged by the editor. Original post