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
44
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
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
740
ロールが細分化された組織でSREと協働するインフラエンジニアは何をするか? / SRE Lounge #18
kossykinto
0
210
形式手法特論:位相空間としての並行プログラミング #kernelvm / Kernel VM Study Tokyo 18th
ytaka23
3
1.3k
Bet "Bet AI" - Accelerating Our AI Journey #BetAIDay
layerx
PRO
4
1.7k
反脆弱性(アンチフラジャイル)とデータ基盤構築
cuebic9bic
3
180
Findy Freelance 利用シーン別AI活用例
ness
0
450
ZOZOTOWNの大規模マーケティングメール配信を支えるアーキテクチャ
zozotech
PRO
0
170
Amazon Bedrock AgentCoreのフロントエンドを探す旅 (Next.js編)
kmiya84377
1
140
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
GMOペパボのデータ基盤とデータ活用の現在地 / Current State of GMO Pepabo's Data Infrastructure and Data Utilization
zaimy
3
210
Google Cloud で学ぶデータエンジニアリング入門 2025年版 #GoogleCloudNext / 20250805
kazaneya
PRO
20
4.8k
風が吹けばWHOISが使えなくなる~なぜWHOIS・RDAPはサーバー証明書のメール認証に使えなくなったのか~
orangemorishita
15
5.7k
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
19k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Designing for humans not robots
tammielis
253
25k
A Tale of Four Properties
chriscoyier
160
23k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Automating Front-end Workflow
addyosmani
1370
200k
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 :)