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
58
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
77
Flow Based Programming in 2 minutes
overbryd
0
73
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
98
NIFs and C-Nodes
overbryd
0
72
SQL Workshop Part 1
overbryd
0
130
Other Decks in Programming
See All in Programming
TanStack DB ~状態管理の新しい考え方~
bmthd
2
480
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
20
5.1k
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
380
CSC305 Summer Lecture 12
javiergs
PRO
0
130
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.3k
rage against annotate_predecessor
junk0612
0
160
🔨 小さなビルドシステムを作る
momeemt
3
660
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
複雑なドメインに挑む.pdf
yukisakai1225
5
990
Design Foundational Data Engineering Observability
sucitw
3
170
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
160
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
250
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
111
20k
GraphQLとの向き合い方2022年版
quramy
49
14k
A Tale of Four Properties
chriscoyier
160
23k
Designing for humans not robots
tammielis
253
25k
Done Done
chrislema
185
16k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
910
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
840
How GitHub (no longer) Works
holman
315
140k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
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