Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Elixir Deployment
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lukas Rieder
December 14, 2017
Programming
120
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
Transcript
45 slides
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
More Decks by Lukas Rieder
See All by Lukas Rieder
Modeling Document Databases
overbryd
1
190
Ahoi! Complex applications on Kubernetes
overbryd
0
120
Flow Based Programming in 2 minutes
overbryd
0
120
Metabase UG, November 2018
overbryd
0
180
Flow Based Programming in Elixir
overbryd
0
220
Configuration in Elixir
overbryd
0
220
Metabase, three good practises for a hosted setup
overbryd
0
150
NIFs and C-Nodes
overbryd
0
120
SQL Workshop Part 1
overbryd
0
210
Other Decks in Programming
See All in Programming
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
790
Going Full Circle with Virtual Graphs and Relational Databases
michaelsimons
1
100
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
410
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
140
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
17
9.5k
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
240
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
470
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
140
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
230
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
700
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
The Invisible Side of Design
smashingmag
301
52k
Making Projects Easy
brettharned
120
6.9k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
960
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k