Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elixir Deployment
Search
Lukas Rieder
December 14, 2017
Programming
1
59
Elixir Deployment
A talk given at the 42th Elixir Meetup in Berlin.
Lukas Rieder
December 14, 2017
Tweet
Share
More Decks by Lukas Rieder
See All by Lukas Rieder
Modeling Document Databases
overbryd
1
140
Ahoi! Complex applications on Kubernetes
overbryd
0
77
Flow Based Programming in 2 minutes
overbryd
0
73
Metabase UG, November 2018
overbryd
0
130
Flow Based Programming in Elixir
overbryd
0
170
Configuration in Elixir
overbryd
0
180
Metabase, three good practises for a hosted setup
overbryd
0
100
NIFs and C-Nodes
overbryd
0
73
SQL Workshop Part 1
overbryd
0
130
Other Decks in Programming
See All in Programming
CSC305 Lecture 01
javiergs
PRO
1
400
CSC305 Lecture 03
javiergs
PRO
0
240
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
210
What's new in Spring Modulith?
olivergierke
1
110
株式会社 Sun terras カンパニーデック
sunterras
0
250
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
500
技術的負債の正体を知って向き合う / Facing Technical Debt
irof
0
120
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
560
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
190
ててべんす独演会〜Flowの全てを語ります〜
tbsten
1
220
Serena MCPのすすめ
wadakatu
4
920
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.4k
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
53
9k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The World Runs on Bad Software
bkeepers
PRO
71
11k
The Invisible Side of Design
smashingmag
301
51k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
Transcript
Elixir Deployment
A very short
Talk
by Lukas Rieder
80%
80% Optimum
Build Release Restart
20%
20% This is what you can hire me for.
3 Phases
1 Build
1 Build Compile your application & dependencies
1 Build Watch out for cross- compiling issues!
1 Build CPU arch, OS Erlang version (!)
1 Build Watch out for configuration issues!
1 Build use ${VAR} templates
Tool: Docker
Tool: Docker Portability Reliability
Tool: Docker Compile for target CPU, OS and Erlang version
Tool: Vagrant (Docker Alternative)
Tool: distillery
Tool: distillery so amazing should be stdlib
Tool: mix_docker
2 Deploy & Restart
Tool: Docker (again?)
Tool: Docker Just works™
Tool: A Server /w ssh (Captain Obvious)
Tool: scp, rsync (alternatively)
Tool: Kubernetes
Tool: Kubernetes Featureful Orchestration Platform
Tool: Kubernetes Use when running whole infrastructures
3 Restart
3 Restart simplest = just restart
20% Continous Integration
20% Blue/Green Deployments
20% Canary Deployments
20% Rollbacks
10% Performance Optimizations
2% Hot Code Reloading
10% Automatic Clustering
20% Scaling
20% Monitoring
20% Error Reporting
Talk to me!
© 2017 Lukas Rieder