4 ms·
What do people use as a PaaS provider for Erlang/Elixir?
by Touche 9y ago
What do people use as a PaaS provider for Erlang/Elixir?
- sntran 9y agoHeroku is fine for development. However, it does not work with hot code swapping. There are ways around it, and some people don't believe it's a gain. There is also https://github.com/hashrocket/gatling https://github.com/hashrocket/gatling that promises the Git push workflow but with hot upgrading capability.
- Touche 9y agoAny other options? For the small team I work with managing infrastructure is not really an option.
- andruby 9y agoI use docker and docker-compose for sideprojects that don't need zero downtime deploys. Installed on a tiny digital ocean droplet. A multistage build makes it easy to compile a release on a macOS system and create a minimal alpine docker images with the unpacked .tar.gz release. (My app is an ~84MB docker images)
- josevalim 9y agoHeroku is OK as a deployment platform. Hex powers Erlang/Elixir communities on a small Heroku dyno ($7). And 99% of Elixir developers should not worry about hot code swapping anyway. Let your load balancer or your PaaS take care of it.
- udfalkso 9y agoSee above. Someone mentioned Gigalixir, and I've been having success with Clever Cloud. I had to do a ton of research before finding a workable option (Heroku is not really a good option imo), so hopefully this helps.
- jmcgough 9y agoUsing Heroku at the moment (largely because I was already familiar with its ecosystem) for a phoenix app, though they don't have support for Elixir. In the future I'm considering doing my own hot deploys to AWS, but the cost of running on Heroku is small enough that it may not be worth the time to migrate off.