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
56
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
130
Ahoi! Complex applications on Kubernetes
overbryd
0
76
Flow Based Programming in 2 minutes
overbryd
0
70
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
97
NIFs and C-Nodes
overbryd
0
70
SQL Workshop Part 1
overbryd
0
130
Other Decks in Programming
See All in Programming
Porting a visionOS App to Android XR
akkeylab
0
820
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
210
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
1
310
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
16
5.7k
「次に何を学べばいいか分からない」あなたへ──若手エンジニアのための学習地図
panda_program
3
540
The Modern View Layer Rails Deserves: A Vision For 2025 And Beyond @ RailsConf 2025, Philadelphia, PA
marcoroth
2
750
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
LT 2025-06-30: プロダクトエンジニアの役割
yamamotok
0
890
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
150
「App Intent」よくわからんけどすごい!
rinngo0302
1
110
顧客の画像データをテラバイト単位で配信する 画像サーバを WebP にした際に起こった課題と その対応策 ~継続的な取り組みを添えて~
takutakahashi
4
1.3k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Optimizing for Happiness
mojombo
379
70k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
750
Music & Morning Musume
bryan
46
6.7k
The Pragmatic Product Professional
lauravandoore
35
6.7k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Automating Front-end Workflow
addyosmani
1370
200k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
YesSQL, Process and Tooling at Scale
rocio
173
14k
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