Microservice, Micro Deployments and DevOps

Post on 14-Jul-2015

223 views 1 download

Tags:

transcript

ruxit theme 2014.05.15

Microservices, Micro

Deployments and DevOps

Alois Reitbauer@aloisreitbauer

alois.reitbauer@ruxit.com

ruxit theme 2014.05.15

sorry for the buzzword headline ;- )

ruxit theme 2014.05.15

Vision and Goal

… is to run web-scale infrastructures with

less than a single full-time resource.

ruxit theme 2014.05.15

Micro Services

ruxit theme 2014.05.15

Micro Deployments

ruxit theme 2014.05.15

Site Reliability Engineering for the

rescue

ruxit theme 2014.05.15The four questions of Reliability

Engineering

Is my application healthy?

How well are my deployments working?

Is my architecture save to modify?

How resilient is my architecture to change?

ruxit theme 2014.05.15

Step 0

Understand and know your system.

ruxit theme 2014.05.15

Question:

How many of you can get a complete view of their

production system in less then two hours?

ruxit theme 2014.05.15A lot of data is needed to make this work

Application Monitoring

System Monitoring

Architecture Diagrams

Puppet/Chef Scripts

AWS management console

Config Files

ruxit theme 2014.05.15

In most cases this is totally hand

crafted

ruxit theme 2014.05.15The model

ruxit theme 2014.05.15

Question #1

Is my system healthy?

ruxit theme 2014.05.15Is my system healthy?

Health is defined at three different levels:

Infrastructure

Applications Services

Business Services

ruxit theme 2014.05.15

Fight your

intuition

ruxit theme 2014.05.15

General Rule:

Start with user visibile problems first and then work

your way back

ruxit theme 2014.05.15

ruxit theme 2014.05.15

Question #2

How stable are my deployments?

ruxit theme 2014.05.15

ruxit theme 2014.05.15

When you ship fast, you must be able to relate

functional and performance problems to

deployments

ruxit theme 2014.05.15

requires baselining

ruxit theme 2014.05.15

Question #3

How save is it to modify my system?

ruxit theme 2014.05.15Three Types of Dependencies in a System

Incoming dependencies

Outgoing dependencies

External dependencies (not controlled by you)

ruxit theme 2014.05.15Gatekeeper - Many outgoing dependencies

Likely not very “micro”

Complex application logic

Very deployment sensitive

ruxit theme 2014.05.15Single Point of Failure

Central application

services

Very fragile to scaling

User facing impact

ruxit theme 2014.05.15Hub – Incoming and outgoing dependencies

The worst thing to happen

“Legacy” migration

Highest deployment risk

ruxit theme 2014.05.15

Question #4

How resilient is my infrastructure to

changed usage patterns?

ruxit theme 2014.05.15

Metric Granularity

ruxit theme 2014.05.15

Wrap up

ruxit theme 2014.05.15

ruxit theme 2014.05.15

Work with us …

Try ruxit and submit your feedback

alois.reitbauer@ruxit.com