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
61
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
80
Flow Based Programming in 2 minutes
overbryd
0
80
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
110
NIFs and C-Nodes
overbryd
0
77
SQL Workshop Part 1
overbryd
0
140
Other Decks in Programming
See All in Programming
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
520
SourceGeneratorのマーカー属性問題について
htkym
0
170
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.7k
15年目のiOSアプリを1から作り直す技術
teakun
1
610
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
250
CSC307 Lecture 12
javiergs
PRO
0
460
Unity6.3 AudioUpdate
cova8bitdots
0
110
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
350
CSC307 Lecture 13
javiergs
PRO
0
310
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
360
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
440
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
930
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
220
Skip the Path - Find Your Career Trail
mkilby
1
72
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
99
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
75
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.4k
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