Live data from Hacker News

Deploying Elixir

luk3thomas.com

1–10 of 14 posts

Re: Deploying Elixir

#2
Thanks for the article! I find it really surprising how difficult it is to deploy Elixir apps when it's so much more popular now and the Elixir team is so great at the developer experience.

Re: Deploying Elixir

#3
post #2

Thanks for the article! I find it really surprising how difficult it is to deploy Elixir apps when it's so much more popular now and the Elixir team is so great at the developer experience.

Deployment and configuration is among the top priorities from both the core team and the community from what I can tell. There's been a lot of discussion about it and some resources being dedicated in the last year. So only a matter of time, but a little heavy on initial deployment for sure.

Re: Deploying Elixir

#4
post #3
post #2

Thanks for the article! I find it really surprising how difficult it is to deploy Elixir apps when it's so much more popular now and the Elixir team is so great at the developer experience.

Deployment and configuration is among the top priorities from both the core team and the community from what I can tell. There's been a lot of discussion about it and some resources being dedicated in the last year. So only a matter of time, but a little heavy on initial deployment for sure.

That's great to hear. Would be nice to have an "official" sort of tool for deployment.

Re: Deploying Elixir

#5
This article was great mostly as an affirmation that my cobbled together practices are sound. (I follow all these exactly, except my build server is a VM)

Re: Deploying Elixir

#7
Awesome post! I really like the idea of the custom config provider and the approach to config that is taken in this post. Config is definitely a pain point for Elixir deployment, but the core team knows this and is working on it.

My strategy is similar to the one in this post, however it is optimized to allow for separate stages for complication and runtime, so that you can compile your apps wherever you want and separately run them wherever you want. For this I use two different Fockery images. Docker also makes it really easy to manage multiple apps running at the same time.

If anyone is interested in my deployment strategy, I wrote up a post on how I do things and why I do them that way: https://gist.github.com/jswny/83e03537830b0d997924e8f1965d88....

Re: Deploying Elixir

#8
post #7

Awesome post! I really like the idea of the custom config provider and the approach to config that is taken in this post. Config is definitely a pain point for Elixir deployment, but the core team knows this and is working on it. My strategy is similar to the one in this post, however it is optimized to allow for separate stages for complication and runtime, so that you can compile your apps wherever you want and sep…

Intriguing post!

Re: Deploying Elixir

#9
post #4
post #3

Earlier quoted context omitted.

Deployment and configuration is among the top priorities from both the core team and the community from what I can tell. There's been a lot of discussion about it and some resources being dedicated in the last year. So only a matter of time, but a little heavy on initial deployment for sure.

That's great to hear. Would be nice to have an "official" sort of tool for deployment.

In case you haven't heard yet, there's ongoing work [1] from Paul Schoenfelder for just that! Dockyard (employer of Chris McCord, father of the Phoenix framework) hired him some time back for this very reason.

[1] https://dockyard.com/blog/2018/02/28/elixir-deployment-tools...

Re: Deploying Elixir

#10
post #6

I'm curious as to why docker is chosen for build artifacts but not for running the app itself. Any info available here?

Generally speaking there is no way I'm installing a compiler on production servers, so having a builder is needed.

And rather than having a bunch of different machines for each stack, much cheaper and easier to have docker images.

Then you can deploy easily to any kind of production server: physical, VM, docker, cloud, etc.

Post reply on HN