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
94
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elixir Deployment
A talk given at the 42th Elixir Meetup in Berlin.
Lukas Rieder
December 14, 2017
More Decks by Lukas Rieder
See All by Lukas Rieder
Modeling Document Databases
overbryd
1
160
Ahoi! Complex applications on Kubernetes
overbryd
0
100
Flow Based Programming in 2 minutes
overbryd
0
93
Metabase UG, November 2018
overbryd
0
150
Flow Based Programming in Elixir
overbryd
0
190
Configuration in Elixir
overbryd
0
200
Metabase, three good practises for a hosted setup
overbryd
0
130
NIFs and C-Nodes
overbryd
0
93
SQL Workshop Part 1
overbryd
0
180
Other Decks in Programming
See All in Programming
Building an Out-of-Order CPU
latte72
0
680
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
Deep dive into the select statement (GopherCon UK)
jespino
0
170
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
280
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
140
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
440
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
250
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
810
Flow は今どうなっているか
mizdra
PRO
0
920
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
110
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Raft: Consensus for Rubyists
vanstee
141
7.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to build a perfect <img>
jonoalderson
1
6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
How to Talk to Developers About Accessibility
jct
2
540
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