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
52
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
120
Ahoi! Complex applications on Kubernetes
overbryd
0
74
Flow Based Programming in 2 minutes
overbryd
0
69
Metabase UG, November 2018
overbryd
0
120
Flow Based Programming in Elixir
overbryd
0
150
Configuration in Elixir
overbryd
0
170
Metabase, three good practises for a hosted setup
overbryd
0
89
NIFs and C-Nodes
overbryd
0
65
SQL Workshop Part 1
overbryd
0
120
Other Decks in Programming
See All in Programming
ベクトル検索システムの気持ち
monochromegane
30
9.4k
安全に倒し切るリリースをするために:15年来レガシーシステムのフルリプレイス挑戦記
sakuraikotone
5
2.5k
ミリしらMCP勉強会
watany
4
620
地域ITコミュニティの活性化とAWSに移行してみた話
yuukis
0
150
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
280
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
140
WordPress Playground for Developers
iambherulal
0
120
MCP世界への招待: AIエンジニアが創る次世代エージェント連携の世界
gunta
4
800
私の愛したLaravel 〜レールを超えたその先へ〜
kentaroutakeda
12
3.7k
DomainException と Result 型で作る型安全なエラーハンドリング
karszawa
0
820
DataStoreをテストする
mkeeda
0
220
remix + cloudflare workers (DO) docker上でいい感じに開発する
yoshidatomoaki
0
120
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
17
1.1k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
31
4.8k
Agile that works and the tools we love
rasmusluckow
328
21k
Bash Introduction
62gerente
611
210k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
118
51k
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