Top Banner
Ignite Session DevOpsDays TLV 2015
21

How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Apr 14, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Ignite SessionDevOpsDays TLV 2015

Page 2: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

how immutable can you get?

Ant Weisshttp://otomato.link

Page 3: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

CM Tools are Doomed!

Puppet SaltAnsibleChef

R.I.P

in near future

Page 4: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Uncontrollable Drift!

Caused by: • Deployment time variance • Manual tweaks • Mysterious bit rot

Page 5: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

This is a f***ing chaos?! So what do we do?!

Immutable Servers!!!

Page 6: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Immutable Infrastructure is King

• Build your servers once • Never upgrade or downgrade packages • Never change configuration • Don’t update your code • Block SSH (!)

Page 7: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Ordnung Muss Sein

Page 8: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

But We Want Change!

To improve is to change; to be perfect is to change often.

Winston Churchill

Page 9: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

What? Rebuild the whole thing?

But I only want to change an iptables rule!!!

Page 10: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Let’s make small Boxes!!!

Page 11: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Let’s build Micro -Services!!!

Page 12: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Let’s use Containers!!!

LXD Docker Rocket

Page 13: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Now.. How do We Manage

All These Small Immutable Thingies?

Page 14: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Divide and Conquer!

STATE

EPHEMERAL

Page 15: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

StorageMonitoring Logs Service Discovery

Load Balancing

Page 16: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

StorageMonitoring Logs Service Discovery

Load Balancing

Management Layer

Page 17: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

StorageMonitoring Logs Service Discovery

Load Balancing

INFRASTRUCTURE!?!

Management Layer

Page 18: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

What’s Immutable Now?

Page 19: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Some More Questions:

•Debugging? •Replacement Criteria? •Tooling?

Page 20: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Challenges:

•Tools! •12-factor only •Slow changes •Upfront effort

Page 21: How Immutable Can You Get - Anton Weiss, OTomato - DevOpsDays Tel Aviv 2015

Immutable Servers May Be the

Only Solid Thing in the Fluid

Infrastructure of the Tomorrow