ca1989
Hi all,
is there any up to date resource out there (blog, talk, video, book…) about deploying elixir applications using releases?
In particular, I am interested in Phoenix apps.
I am looking for something that does not use a manged solution.
I am looking for something that does not use Docker.
Thank you
Trending in Chat/Questions
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #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)
D4no0
What kind of resources?
Run mix release, open the release folder and find the binary to start your application. The code, runtime and configurations are all packed with the release.
ca1989
What can I say, it worked the first time after just reading the official releases documentation (that you summarized nicely here).
I am quite impressed! This is great!
Thank you
LostKobrakai
Usually docker is used because that’s the simplest way to make sure the architecture between an external build machine and machines used to run the release are the same. If you can have the build machine match without using docker that works just as much.
ca1989
I am building the release on the target directly (I use Ansible to automate).
It worked the first time with just a couple of env variables, that’s really amazing.
LostKobrakai
Yeah that works. Not a common solution though as you need build tooling on that server and you also have the load of doing the build there. Both things people tend to avoid in production.
ca1989
Yeah yeah, that’s fair and stated in the docs
Just wanted to start from the basics and climb to state of the art.
T0ha666
This is my article about deploying to Ubuntu <= 20.04 LTS
sanswork
What is the best way to deploy a Phoenix application to EC2 or Digital Ocean? - #5 by sanswork is how I used to do it though I use fly these days.
w0rd-driven
There’s https://staknine.com/deployment/ but the latest is 2022. He produced a book at Phoenix Deployment Handbook. There’s also Deploying Elixir with his companion at Deploying Elixir eBook. Both are great resources and I’ve seen some other tutorials for Digital Ocean or running Elixir processes with supervisord. There’s also a library that helps create the scripts for that like
mix releasebut it’ll take me a while to find that in my sea of GitHub stars.ragamuf
Hi Carlo. Ansible is the way I went in combination with droplets on Digital Ocean. I found some excellent articles on the Cogini blog when it was starting out like yourself trying to figure out an approach. It takes some work but if you are down for it the work can be pretty rewarding. I wrote my own scripts using the information on Coflgini as a reference. I did not want to use theirs as is because it felt like I would be putting someone else in charge of my Devops and I needed to know how everything works under the hood in case issues arise. Hopefully it helps.