how immutable can you get - anton weiss, otomato - devopsdays tel aviv 2015

21
Ignite Session DevOpsDays TLV 2015

Upload: devopsdays-tel-aviv

Post on 14-Apr-2017

254 views

Category:

Technology


0 download

TRANSCRIPT

Ignite SessionDevOpsDays TLV 2015

how immutable can you get?

Ant Weisshttp://otomato.link

CM Tools are Doomed!

Puppet SaltAnsibleChef

R.I.P

in near future

Uncontrollable Drift!

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

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

Immutable Servers!!!

Immutable Infrastructure is King

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

Ordnung Muss Sein

But We Want Change!

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

Winston Churchill

What? Rebuild the whole thing?

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

Let’s make small Boxes!!!

Let’s build Micro -Services!!!

Let’s use Containers!!!

LXD Docker Rocket

Now.. How do We Manage

All These Small Immutable Thingies?

Divide and Conquer!

STATE

EPHEMERAL

StorageMonitoring Logs Service Discovery

Load Balancing

StorageMonitoring Logs Service Discovery

Load Balancing

Management Layer

StorageMonitoring Logs Service Discovery

Load Balancing

INFRASTRUCTURE!?!

Management Layer

What’s Immutable Now?

Some More Questions:

•Debugging? •Replacement Criteria? •Tooling?

Challenges:

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

Immutable Servers May Be the

Only Solid Thing in the Fluid

Infrastructure of the Tomorrow