$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Immutable Servers & Image Bakery
Search
Mehmet Ali Aydın
April 19, 2017
Technology
0
45
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
Fashion×AI「似合う」を届けるためのWEARのAI戦略
zozotech
PRO
2
1k
【U/Day Tokyo 2025】Cygames流 最新スマートフォンゲームの技術設計 〜『Shadowverse: Worlds Beyond』におけるアーキテクチャ再設計の挑戦~
cygames
PRO
2
1k
Database イノベーショントークを振り返る/reinvent-2025-database-innovation-talk-recap
emiki
0
250
【ServiceNow SNUG Meetup LT deck】WorkFlow Editorの廃止と Flow Designerへの移行戦略
niwato
0
110
ウェルネス SaaS × AI、1,000万ユーザーを支える 業界特化 AI プロダクト開発への道のり
hacomono
PRO
0
310
Connection-based OAuthから学ぶOAuth for AI Agents
flatt_security
0
190
Identity Management for Agentic AI 解説
fujie
0
290
アプリにAIを正しく組み込むための アーキテクチャ── 国産LLMの現実と実践
kohju
0
150
SREには開発組織全体で向き合う
koh_naga
0
390
Power of Kiro : あなたの㌔はパワステ搭載ですか?
r3_yamauchi
PRO
0
200
AgentCore BrowserとClaude Codeスキルを活用した 『初手AI』を実現する業務自動化AIエージェント基盤
ruzia
7
470
モダンデータスタックの理想と現実の間で~1.3億人Vポイントデータ基盤の現在地とこれから~
taromatsui_cccmkhd
1
190
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandezseo
0
83
Chasing Engaging Ingredients in Design
codingconduct
0
76
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
Designing for humans not robots
tammielis
254
26k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
64
35k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
18
The agentic SEO stack - context over prompts
schlessera
0
550
Practical Orchestrator
shlominoach
190
11k
We Have a Design System, Now What?
morganepeng
54
7.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
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 :)