koen_vb
Hi, I was looking for a pointer of how I could most easily start with phoenix regarding deploying it to something like linode or google cloud.
Its a side project which would use some websockets and liveview but I have no experience with docker or kubernetes, was just looking for a quite straightforward way of deploying an elixir application.
So just something where I do not have too much things to do, no CI is required or test runners, just copy to my server and start it ![]()
Thanks!
Trending in Chat/Questions
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Aludel - LLM Evaluation Workbench
Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #ai
- #elixirconf-us
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
mindok
The render.com deployment guide is pretty good, and works very nicely for deploying to render.com too!!
Guide is here:
I deploy my charting library sample code and package website more or less using that recipe. Code is here: GitHub - mindok/contex-samples: Sample web application demonstrating contex features · GitHub.
bin folder contains the release script.
The sample app uses web sockets to support liveview pages.
If you don’t need a database, render.com is about $7/month. It’s a little more complex and a few more $/s a month if you need a database or file storage, but still pretty easy and the guides are really good - I have another database-backed app deployed there.
koen_vb
Thanks, never seen render, so nice suggestion.
Then a second question was:
Should I use mix/distillery/elixir releases?
(Note, I am indeed just looking for some easy deployment, just as a start to get things going)
thiagomajesk
Been there done that (recently). My two cents:
Go with mix releases and just follow the Phoenix docs (it doesn’t get easier than that).
My experience was that the number of available blog posts and tutorials online made me a little bit confused about what was the “recommended way” to deploy whether the reality of how to do it is way simpler
After you feel comfortable with the basics steps I’ll advise looking into docker or configuring a deployment pipeline.
tmartin8080
I wrote some articles about basic Phoenix Deployment (render, Edeliver, distillery) recently that may help you get started:
https://phxroad.com/skills/devops.
maz
This one helped me a lot: https://medium.com/@j.schlacher_32979/release-a-phoenix-application-with-docker-and-postgres-28c6ae8c7184
tfwright
I posted my experience deploying to a linode instance with ansible in this thread
koen_vb
I started by just installing all my dependencies on a 5$ linode and got everything working!
Only thing was that when I apt-get install esl-erlang it installed a whole bunch of other packages like xserver etc which was a bit strange to me?
Thanks a lot!
OvermindDL1
Because erlang has
:observer, which is built on wxWidgets, a GUI framework built on X.This means you can
ssh -X user@serverand you can startup a beam node and start observer to have it appear on your local machine.Although running a local node connected remotely (like over an ssh tunnel) would be faster. ^.^
aenglisc
I’m surprised that nobody has mentioned gigalixir so far.
axelson
If you want something easy and simple then I think you’d definitely want to look at http://heroku.com/ or gigalixir (as previously mentioned). They both have free tiers which is great for a side project.
I think you’d want to stay away from docker and kubernetes if you’re just getting started.