87 points · by eellson · 9y ago · 25 comments
update: Ah, Didn't realize it was already released. How quickly things progress! Thanks for the update, folks.
Elixir deploys are currently functional, but we're working with the Elixir community to really fine-tune the process (including hot-code-reloads).
DigitalOcean has been supported for a few months now. AWS support was just released yesterday.
The $99 you pay to Nanobox is for the use of the Nanobox Dashboard to manage your application on your host (Nanobox Desktop is free).
Even down to the boxfile.
For what it's worth though, that doesn't mean you shouldn't use nginx. It's easier to configure, very fast, faster than Cowboy for static file serving and small enough that it's usually a good idea to setup nginx as a reverse proxy in front of cowboy. Just let it handle the static files and ssl.
Cowboy can do all of these things, but one of the many lessons of Elixir is that just because you can doesn't mean you should. :-)
At that point it just becomes a matter of "do I want to configure nginx or cowboy?"
If you have SSL at the load balancer and you're using a CDN for assets then it's less compelling. If you're looking to deploy a full encapsulated binary (server and all) then avoiding nginx makes sense.
That's basically it though.
Do heroku's custom buildpacks not allow you to prevent restarting the dyno?
On deploy, the containers are all being replaced.