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
Be a Master Chef: Crafting Recipes for Reliable...
Search
Kumar Abhijeet
November 03, 2023
0
29
Be a Master Chef: Crafting Recipes for Reliable Infrastructure
Kumar Abhijeet
November 03, 2023
Tweet
Share
More Decks by Kumar Abhijeet
See All by Kumar Abhijeet
Multi-Region APIOps with Kong
kumar_abhijeet
0
60
How Patroni solved Database Reliability at Gojek
kumar_abhijeet
0
19
Featured
See All Featured
Code Review Best Practice
trishagee
71
19k
KATA
mclloyd
32
14k
How STYLIGHT went responsive
nonsquared
100
5.8k
Typedesign – Prime Four
hannesfritz
42
2.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Designing for Performance
lara
610
69k
A designer walks into a library…
pauljervisheath
207
24k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
What's in a price? How to price your products and services
michaelherold
246
12k
Site-Speed That Sticks
csswizardry
10
820
Become a Pro
speakerdeck
PRO
29
5.5k
Transcript
Be a Master Chef Kumar Abhijeet Product Engineer Crafting Recipes
for Reliable Infrastructure
None
Fabricating DBaaS@Gojek DevOps/Ruby Enthusiast Home Gym Owner Musician
A G E N D A Chef - What and
Why How Chef Works Chaos and Standards Solving the chaos puzzle Guiding Principles Future of Chef
Configuration Management Tool Suite Solves the configuration problem in the
IaC ecosystem Automates deployment and server management Mostly used in VM workloads Chef - What?
What does Configuration Management even mean?
Maintaining systems in a desired state Consistent state across all
systems Enforcing policy and standards Avoid outages by eliminating misconfigurations Configuration Management - What?
Why do we need Configuration Management?
Performing System Administration at scale Eliminate human error from systems
Automated Infra == Resilient Infra Cloud adoption and management made easy Configuration Management - Why?
Why are we discussing about Chef in a Ruby Meetup?
How does Chef work?
None
None
Let’s picture an application system
Rails Server VMs Patroni VMs API Traffic LB
None
None
None
Rails Server VMs Patroni VMs API Traffic LB
None
None
None
Rails Server VMs Patroni VMs API Traffic LB
Rails Server VMs Patroni VMs API Traffic LB
None
Load Compile Converge Cleanup Chef - Loading Process
None
Bad Code Good Code
Idempotence Multiple applications of the same action do not have
side effects on the system state Doesn’t get added to the resource collection Convergence Bring the system state in line with a defined policy. Changes are made on the system only if they need to be made. Convergence & Idempotence
Idempotent Convergent Idempotent means not taking actions when they aren't
needed, Convergent means it "settles" on a specific final state. - coderanger(aka Noah Kantrowitz)
Idempotent Convergent
Scalable Easier to rollback Predictable Efficient Convergence & Idempotence -
Why?
None
Data Driven Configurations Manage Systems, not Records Utilize Service Discovery
Extensible Abstractions Guiding Principles
........
........
None
None
None
POSIX Compatible
POSIX and Windows Compatible
None
Cloud Native Movement Mature Container Orchestration Toolings Business Strategy? Better
Alternatives Future of Chef
Thank you! Link to the deck and related resources =>