This document discusses the history and future of operations (ops) and infrastructure management. It outlines how infrastructure has evolved from single manually configured servers to cloud-based infrastructure with immutable servers. Immutable infrastructure involves replacing servers instead of modifying them, using pre-built machine images. Tools like Packer, Vagrant, and Serf help enable immutable infrastructure by automating the creation of machine images and handling service orchestration outside of images. This approach provides benefits like speed, repeatability, stability and testability compared to traditional mutable infrastructure management.
69. Server Deploy
•
Server started with Packerbuilt image
•
Running server has all preinstalled software
•
Service orchestration runs
now
Request Server
Running Server
71. Development
•
Vagrant downloads the latest
machine image created by
Packer
•
“vagrant up” takes seconds
to minutes and runs, nearly
identical to production
“vagrant up”
Ready to work
88. Config Management
Chef/Puppet Run
Configure Serf
agent init script
Don’t start Serf. Serf
starts on boot.
Chef and Puppet just
configure the Serf init
script to start the
agent.
89. Serf Wins
•
•
•
No orchestration in image build
Fast membership detection, don’t
wait for Chef/Puppet
Easily and infinitely extensible
91. As servers become cheaper, more ondemand, and infrastructures become
more distributed, immutable
infrastructure will win.
92. Important to remember:
You don’t have to go all in on
immutable. You can start with certain
servers. Example: databases are hard,
just ignore that for awhile.
93. Mostly Immutable
There are still big benefits for going
mostly immutable. Things like quick
config changes and deploys can still
be mutable. Serf is good for this.
94. The Wins
•
•
•
•
•
Super fast deployment
Repeatability
High failure tolerance
Improved stability and testability
Versioning