Building Elixir Applications as systemd Services

Written by baddev | Published 2021/06/13
Tech Story Tags: elixir | phoenix-elixir | devops | nspawn | linux | debian | containers | ansible

TLDR The story of deploying elixir applications in production is always a tough one. BEAM applications love to live in VM or bare metal without most abstractions. Nspawn is one of the components of Systemd-Nspawn that allows you to run containers (even docker containers) in your system. It's like chroot on steroids. The solution is to use a container with an OS identical to my production VM to deploy applications into production VMs. The only thing left is to trigger build inside of the container as part of the deploy process.via the TL;DR App

no story

Written by baddev | Not so great developer promoting old ways of doing things
Published by HackerNoon on 2021/06/13