Page 1
Ignite SessionDevOpsDays TLV 2015
Page 2
how immutable can you get?
Ant Weisshttp://otomato.link
Page 3
CM Tools are Doomed!
Puppet SaltAnsibleChef
R.I.P
in near future
Page 4
Uncontrollable Drift!
Caused by: • Deployment time variance • Manual tweaks • Mysterious bit rot
Page 5
This is a f***ing chaos?! So what do we do?!
Immutable Servers!!!
Page 6
Immutable Infrastructure is King
• Build your servers once • Never upgrade or downgrade packages • Never change configuration • Don’t update your code • Block SSH (!)
Page 8
But We Want Change!
To improve is to change; to be perfect is to change often.
Winston Churchill
Page 9
What? Rebuild the whole thing?
But I only want to change an iptables rule!!!
Page 10
Let’s make small Boxes!!!
Page 11
Let’s build Micro -Services!!!
Page 12
Let’s use Containers!!!
LXD Docker Rocket
Page 13
Now.. How do We Manage
All These Small Immutable Thingies?
Page 14
Divide and Conquer!
STATE
EPHEMERAL
Page 15
StorageMonitoring Logs Service Discovery
Load Balancing
Page 16
StorageMonitoring Logs Service Discovery
Load Balancing
Management Layer
Page 17
StorageMonitoring Logs Service Discovery
Load Balancing
INFRASTRUCTURE!?!
Management Layer
Page 18
What’s Immutable Now?
Page 19
Some More Questions:
•Debugging? •Replacement Criteria? •Tooling?
Page 20
Challenges:
•Tools! •12-factor only •Slow changes •Upfront effort
Page 21
Immutable Servers May Be the
Only Solid Thing in the Fluid
Infrastructure of the Tomorrow