pillaiindu

pillaiindu

Kubernetes and the Erlang VM: orchestration on the large and the small, by José Valim

Our very handsome and humble José Valim (@josevalim) just published Kubernetes and the Erlang VM: orchestration on the large and the small.
It’s a very nice read, and I’m sure you guys will love it.

After reading this blog post I felt a need once again for a very detailed book on Elixir (Phoenix) deployment, like I and many others asked at the forum about a very detailed book even if there are resources like Distillery’s detailed documentation.

Most Liked

frigidcode

frigidcode

I am mulling the idea of writing an Elixir deployment book covering multiple deployment methods. Ansible will be used for server setup/deployment (build servers and run-time servers), then CI/CD deployment to Kubernetes was going to be covered in the second half. Initially I was going to aim for LeanPub for distribution. Wasn’t sure how many folks would be interested in such a book TBH.

19
Post #3
tristan

tristan

Rebar3 Core Team

I’d suggest trying not to go into ansible and server setup. That is a large topic in itself which will distract from the main topic.

I think there are 2 audiences (well really 3 but the third can look elsewhere for details on setting up servers with ansible, since that is not specific to Elixir): 1) those who need to run small projects and act as the main ops person as well – likely good enough to discuss how to use with systemd in their case 2) those at a company who need to fit into the existing organizations infrastructure.

The direction we are going with adoptingerlang.org is to mainly cover (2) when the organization is using kubernetes. The systemd case is covered in an appendix.

Since your book is solely about deployment I wouldn’t restrict to just k8s like adoptingerlang but just like we don’t cover setting up k8s (besides pointing to dev tools like microk8s and to google kubernetes engine for prod) I’d warn against it becoming an operations book instead of an Elixir book :slight_smile:

Phillipp

Phillipp

Me! Just do it, now!

tiagodavi

tiagodavi

Thank you for sharing.

tristan

tristan

Rebar3 Core Team

True. A chapter on using ansible for deploying, unpacking, starting/upgrading a release might be good.

Another suggestion, stick to what you actually use. If you (frigidcode) have experience with production ansible deloyment then maybe don’t also include a puppet/chef chapter. You could instead get collaborators who do use puppet or chef (or one of the many other offerings) to write those chapters.

The reason being, those who have used these tools in anger will know bits that are important to highlight – though obviously need someone who isn’t experienced with these tools to do a review because someone experienced will also accidentally leave out plenty of useful information that someone new will need.

Not to say writing and publishing guides while learning a tool isn’t really useful, I’m just referring explicitly to a book about real world production deployment, as opposed to a “getting up and running with Puppet and Elixir” post.

Where Next?

Popular in Blog Posts Top

JEG2
I’m closing out, for now, my series on questions at the heart of development with an analysis of when we need more abstraction. For exam...
New
New
mudasobwa
Blogged about the motivation and reasoning behind my idea to create yet another FSM library. Long story short: I did it in a proper way :...
New
marcelo
Long story short, over the past years we’ve been scaling our operation quite a lot at Unbabel. Most of our codebase is Python and some of...
New
bencoppock
I write about the frustration that can occur when dealing with string and atom-based keys in maps and how to (safely) translate string-ba...
New
ragamuf
A little halloween hocus-pocus on the value proposition of having a reliable test suite in place. You are not scared, are you?
New
ConnorRigby
Just finished a post for Embedded Elixir and I thought it should be cross-posted here: I’ll update this thread as posts get published. ...
New
psantos
Just wrote a new blog post about how to deploy a Phoenix app using Kamal 2. Check it out and let me know what do you think:
New
zacksiri
In December of 2023 we came to the realization that we needed to build our own image server. After hitting a few snags we decided that it...
New
lawik
One of the Erlang ecosystem’s spiciest nerd snipes are hot code updates. Because it can do it. In ways that almost no other runtime can.
New

Other popular topics Top

aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement