Hosting Livebook on

Hello Everyone!

Here’s a quick story of how helped solve my hosting issues with Livebook.

FYI…I don’t work for Railway in any capacity, I just really enjoy their platform :+1:

I’m a huge fan of Livebook and wanted to collaborate with others on writing the book Elixir For Data Science. Given that, I needed a place to host it. Naturally, I went with the obvious option of The problem is, to actually use the packages I need (i.e. Explorer, Vega_lite, and Kino) I needed to scale up beyond the free tier to even download the packages let alone do any analysis. To save on cost I would “scale up” when I’m working and “scale down” when I’m not.

I didn’t realize it but what I really wanted was a deployment platform that would autoscale my Livebook instance based on my usage at any given moment. This is where Railway comes in. Railway can run anything that is in a Docker container on their platform. Their service has autoscaling as well as many other niceties built in that you can find on the website.

After having gone through the process of setting up Livebook on Railway, I decided to make a template (button below) so anyone else you use it. After you sign up for a Railway account, the steps are

Deploy on Railway

  1. Click on the button
  2. Customize the Environment Variables
  3. Enjoy Livebook

I’m not sure if anyone else has used them for hosting Elixir projects, but I would be very interested to hear your feedback.

Also, I don’t mean for this to take away anything from They have a great platform, it just didn’t meet the specific need that I had in this instance.

Thanks so much for reading! Have a great day.

It’s official! Railway now has official support for Livebook.

You can find the Livebook template here:



this is awesome! great work! I’m actually the community engineer at Railway. If you need any credits for running your project, LMK!