paint-brush
Building Elixir Applications as systemd Servicesby@baddev
429 reads
429 reads

Building Elixir Applications as systemd Services

by Bad Dev3mJune 13th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.

People Mentioned

Mention Thumbnail

Company Mentioned

Mention Thumbnail
featured image - Building Elixir Applications as systemd Services
Bad Dev HackerNoon profile picture
Bad Dev

Bad Dev

@baddev

Not so great developer promoting old ways of doing things

About @baddev
LEARN MORE ABOUT @BADDEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Bad Dev HackerNoon profile picture
Bad Dev@baddev
Not so great developer promoting old ways of doing things

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite