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
Immutable Servers & Image Bakery
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mehmet Ali Aydın
April 19, 2017
Technology
0
48
Immutable Servers & Image Bakery
Immutable Servers/Infrastructure and Deploying Apps with Bakery Model
Mehmet Ali Aydın
April 19, 2017
Tweet
Share
More Decks by Mehmet Ali Aydın
See All by Mehmet Ali Aydın
Ansible - Hands on Training
maaydin
0
150
Other Decks in Technology
See All in Technology
Phase05_ClaudeCode入門
overflowinc
0
2.3k
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.3k
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
100
MCPで決済に楽にする
mu7889yoon
0
130
Physical AI on AWS リファレンスアーキテクチャ / Physical AI on AWS Reference Architecture
aws_shota
1
150
FASTでAIエージェントを作りまくろう!
yukiogawa
4
110
Kiro Meetup #7 Kiro アップデート (2025/12/15〜2026/3/20)
katzueno
2
250
20年以上続く PHP 大規模プロダクトを Kubernetes へ ── クラウド基盤刷新プロジェクトの4年間
oogfranz
PRO
0
310
非同期・イベント駆動処理の分散トレーシングの繋げ方
ichikawaken
1
150
Phase08_クイックウィン実装
overflowinc
0
1.9k
GitHub Actions侵害 — 相次ぐ事例を振り返り、次なる脅威に備える
flatt_security
3
3.2k
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
380
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
200
Navigating Team Friction
lara
192
16k
Documentation Writing (for coders)
carmenintech
77
5.3k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
We Have a Design System, Now What?
morganepeng
55
8k
A better future with KSS
kneath
240
18k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Being A Developer After 40
akosma
91
590k
Believing is Seeing
oripsolob
1
96
The agentic SEO stack - context over prompts
schlessera
0
720
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
460
Transcript
Immutable Servers & Image Bakery
Mehmet Ali Aydın DevOps Engineer @maayd_in
DevOps & Microservices Consultancy We consult you move towards Containerization,
Automated Provisioning, Deployment/Release Automation, Test Automation, Performance Tuning and moving to Cloud …
Server Operations Server A Server A Server A
Server Operations Server B Server B Server C Server C
Server C Server E Server E Server E Server F Server F Server A Server A Server A Server D Server D Server B Server D Server F
Server Operations
Operations at Scale?
Car Insurance - Replacement Over Repair
Operational Risks rm -rf *
Maintenance Time of one Machine • Get informed with alarms:
~ 2 minutes • Investigate error logs and find the problem: ~ 5 minutes • Solve the problem: 3 minutes • Total Time: ~ 10 minutes Maintenance Time of 10 Machines • 7 + (3 x n) minutes • Total Time: ~ 37 minutes Maintenance Time
None
Replacement Time of one Machine • Get informed with alarms:
~ 2 minutes • Initialization of a new machine: ~ 2 minutes • Application boot up and health checks: ~ 1 minute • Total time: ~ 5 minutes Replacement Time of 10 Machine • 3 + 2 minutes • Total time: ~ 5 minutes Replacement Time
Replacement over Maintenance
SLA level of 99.99 % uptime/availability gives following periods of
potential downtime/unavailability: • Monthly: 4m 23.0s • Yearly: 52m 35.7s SLA level of 99.999 % uptime/availability gives following periods of potential downtime/unavailability: • Monthly: 26.3s • Yearly: 5m 15.6s High Availability & Uptime
• Server #1 : $> node --version $> v6.9.0 •
Server #2 : $> node --version $> v6.9.2 • Server #3 : $> node --version $> v6.9.4 Snowflake Servers
The Bakery Model
Image ref: http://www.3ders.org/articles/20150220-stuffhub-teams-with-candymaker-to-create-custom-lollipops-with-help-of-3d-printing.html The Bakery Model
• Binaries • Packages • Machine Images Artifacts
Image Bakery Temporary Instance For Bakery Image Bakery Image Repository
Base Image Baked Image
Rolling Updates Image Repository Baked Image v2 App Instance v1
App Instance v1 App Instance v2 App Instance v2 App Instance v1 App Instance v2 App Instance v2 App Instance v1
Featured Implementers
Human Body Metaphor
Human Body Metaphor
Image Repository
Storage
Configuration Management
Secret Management
Log Management
Testing and Security
Docker & Docker Compose
Ansible & Vagrant & Packer
Demo https://github.com/maaydin/immutable-servers-demo
Happy Baking :) Happy Baking :)