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
Kamal 2.x
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Miha Rekar
October 11, 2024
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kamal 2.x
A lightning talk given at Slovenia Ruby User Group on 10th October 2024.
Miha Rekar
October 11, 2024
More Decks by Miha Rekar
See All by Miha Rekar
Rails Made My Hobby Profitable
miharekar
0
170
Turbo
miharekar
0
140
What's new in Rails?
miharekar
0
130
Rails 7.1
miharekar
0
160
Software Developers Are People Too
miharekar
0
180
What Are Flame Graphs and How to Read Them - RubyConfBY 2017
miharekar
2
620
What Are Flame Graphs and How to Read Them - DevConTLV X
miharekar
0
460
TBD
miharekar
0
190
Flame Graphs
miharekar
0
620
Other Decks in Technology
See All in Technology
CSS2026:OWS研究会・招待講演「世界観を、実装する」
atsush1_sada
2
340
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
320
Patterns in AI Driven Software Development
akosma
PRO
0
300
2026-10-24 JAWS JAWS-UG 茨城 #18 IAM Policy Autopilotってなにさ。terraform planからIAM Policyつくれるの? / What's IAM Policy Autopilot
masasuzu
0
180
自宅サーバと脆弱性
masakiokuda
1
120
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
150
How we choose session proposals
kawaguti
PRO
1
180
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
110
外国人エンジニアがVueプロトタイプで仕様を合わせている話 / Vue Fes Japan 2026 LT
eluwing
0
280
シンプルな設定ファイルで実現する AWS IAM Identity Center の ユーザー管理Terraformフレームワークを公開しました / Simplifying AWS IAM Identity Center User Management: An Open-Source Terraform Framework
yamaguchitk333
1
330
AIで選択肢が広がった組織設計の理想と現実
konifar
15
6.6k
AWS DevOps Agentはどこまで任せられるか 〜機能の現在地と、機能拡張の実践〜
nyankotaro
0
270
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
My Coaching Mixtape
mlcsv
0
370
Code Review Best Practice
trishagee
74
20k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
430
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Chasing Engaging Ingredients in Design
codingconduct
0
370
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Believing is Seeing
oripsolob
1
250
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
Transcript
Miha Rekar Lightning talk Kamal 2.x
Migration Expert • Last several blog posts all about migrations:
• SES -> Postmark and (ab)using generates_token_for for List-Unsubscribe Headers • Pagy -> Turbo with in inite scrolling* • Devise to native Rails 8 Auth* • Fly.io to Hetzner with Kamal 2† *on Radan’s blog † WIP
ECT Business • https://business.europeancoffeetrip.com/ • Postgres DB • Small number
of users • Café Awards • Huge traffic spike • Fly gets expensive real fast • How hard can it be?
None
All the metrics
Just add accessories • kamal accessory boot prometheus • kamal
accessory boot node_exporter • kamal accessory boot cadvisor • kamal accessory boot grafana • Add a simple prometheus.yml
Hetzner • All in a single CAX11 ARM VM •
4f the RAM and 2f CPU of Fly • 1/8th the price • Response times slashed in half • No traffic bottlenecks (yet) • Much faster and zero-downtime deploys
Just Do It # • Already hosted a couple of
tiny services • This gave me con idence • Visualizer next • What are you migrating? • 20× Hetzner credits $
Thank you!