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
78
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
76
SQL Workshop Part 1
overbryd
0
140
Other Decks in Programming
See All in Programming
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
270
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
CSC307 Lecture 04
javiergs
PRO
0
660
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
高速開発のためのコード整理術
sutetotanuki
1
390
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
Fragmented Architectures
denyspoltorak
0
150
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Featured
See All Featured
Everyday Curiosity
cassininazir
0
130
KATA
mclloyd
PRO
34
15k
Into the Great Unknown - MozCon
thekraken
40
2.3k
The SEO Collaboration Effect
kristinabergwall1
0
350
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
For a Future-Friendly Web
brad_frost
182
10k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
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