Hacker News new | ask | show | jobs
by pmontra 3253 days ago
Yep, I just finished to setup a build and deploy system for Phoenix using edeliver and it's definitely not nice. A bunch of files in different languages, it feels unnecessarily hard. I hope that'll put some effort in that.
4 comments

I host the production site I'm working on at Gigalixir[1] (with the postgres DB in Google Cloud) and it's been pretty sweet. Deploys have been trivial (the way they should be, if you aren't interested in also becoming a devops expert). Jesse Shieh is extremely responsive and a committed founder. Unlike Heroku, Gigalixir does not restart its servers nightly, which is very relevant if you store any state app-side (such as a cache).

[1] https://gigalixir.com/

I wasn't aware of Gigalixir, thanks for mentioning that. Looks very promising.

I've been hosting my site at https://clever-cloud.com with good results. I've been using Docker there but they just added beta Phoenix support which makes it really easy. They're French, and I'm in the US. So there have been time zone issues and support has been a bit lackluster at times, but generally they've fixed all the issues I've brought up and have been responsive. Price is right.

Elixir and Erlang deployments were tricky a few years ago, but I feel like now with distillery [0] it a lot better. I use it in docker multistage builds [1] and have been really happy with that.

[0] https://github.com/bitwalker/distillery

[1] example dockerfile: https://gist.github.com/bsedat/16cb74ebc8ab0ed61ac598a129b0a...

You could check https://github.com/labzero/bootleg which is simpler and flexible. (and of course missing some features)
Looks like a very straightforward way to do deploys thanx for posting the link.
Take a look at Nix[1], it has the advantage of being able to express dependencies to native libraries together with the Elixir dependencies.

[1] https://nixos.org/nix

I recently discovered that the Nix package manager was available outside NixOS (such as on OS X!)