kokolegorille

kokolegorille

Hello dear alchemists,

There was this question some days ago here about the deployment to a VPS.

As I was in the process of deploying to a VPS. I thought it would be nice to share, so I build a small demo repo and described the process.

https://github.com/kokolegorille/app

I hope You will find it useful.

Showing Posts 1 to 10

dokuzbir

dokuzbir

Timing is perfect. thanks @kokolegorille

wmnnd

wmnnd

Maybe you’d like to add a paragraph about security? If you don’t want to dive into it too much, you could acknowledge that this is purely an instruction for getting an application running, not a complete manual on how to provision a production server for an Elixir application.

kokolegorille

kokolegorille OP

I will, thanks for the advice. It is for the moment just a default installation, in particular, I will add https and wss support later when done.

All suggestions are welcomed.

wmnnd

wmnnd

I was more thinking about removing unnecessary packages, setting up security updates, limiting user logins, etc :slight_smile:

ibarch

ibarch

A paragraph about deploy automatization with tools like edeliver will also be appreciated.

dokuzbir

dokuzbir

@kokolegorille that tutorial is really perfect for beginners as me. You detailed every step clearly.

I have a queston about building machine. What is benefits of building releases in another machine? Cant i just do that in development machine ?

kokolegorille

kokolegorille OP

It is completely possible to use the same machine for build and production.

I am using two because it highlights the fact that the production server does not need any building tools to make it run. It does not even need to have Erlang and Elixir.

Using edeliver automates the process I made manually, in fact, it will take care of copying, installing, building the project for You.

dokuzbir

dokuzbir

build and production, but not same build and development machine for releases right? I havent deployed any app yet. So i dont know about releases

kokolegorille

kokolegorille OP

I am working on a Mac but deploy to Linux… probably like many of us.

dokuzbir

dokuzbir

I am using linux for development. So i can build releases on development machine and i can directly upload tar file to production server?

Where Next? Top

Trending in Guides/Tuts Top

rogach
I’ve spent some time understanding how to do hot code reloading with releases built using mix release, and here I’d like to detail the st...
New
c4lliope
# ~/src/livebook/.iex.exs System.cmd("xdg-open", [ LivebookWeb.Endpoint.access_url() ] ) Because Livebook requires a unique passcode on ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
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
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews