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
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
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
540
Cosmos World Foundation Model Platform for Physical AI
takmin
0
890
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
Introduction to Bill One Development Engineer
sansan33
PRO
0
360
What happened to RubyGems and what can we learn?
mikemcquaid
0
300
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
230
OpenShiftでllm-dを動かそう!
jpishikawa
0
110
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
140
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
Webhook best practices for rock solid and resilient deployments
glaforge
1
290
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
93
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
Typedesign – Prime Four
hannesfritz
42
2.9k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
How to train your dragon (web standard)
notwaldorf
97
6.5k
First, design no harm
axbom
PRO
2
1.1k
Making Projects Easy
brettharned
120
6.6k
Fireside Chat
paigeccino
41
3.8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
85
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 :)