Microservice, Micro Deployments and DevOps

31
ruxit theme 2014.05.15 Microservices, Micro Deployments and DevOps Alois Reitbauer @aloisreitbauer [email protected]

Transcript of Microservice, Micro Deployments and DevOps

Page 1: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Microservices, Micro

Deployments and DevOps

Alois Reitbauer@aloisreitbauer

[email protected]

Page 2: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

sorry for the buzzword headline ;- )

Page 3: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Vision and Goal

… is to run web-scale infrastructures with

less than a single full-time resource.

Page 4: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Micro Services

Page 5: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Micro Deployments

Page 6: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Site Reliability Engineering for the

rescue

Page 7: Microservice, Micro Deployments and DevOps

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?

Page 8: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Step 0

Understand and know your system.

Page 9: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Question:

How many of you can get a complete view of their

production system in less then two hours?

Page 10: Microservice, Micro Deployments and DevOps

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

Page 11: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

In most cases this is totally hand

crafted

Page 12: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15The model

Page 13: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Question #1

Is my system healthy?

Page 14: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15Is my system healthy?

Health is defined at three different levels:

Infrastructure

Applications Services

Business Services

Page 15: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Fight your

intuition

Page 16: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

General Rule:

Start with user visibile problems first and then work

your way back

Page 17: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Page 18: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Question #2

How stable are my deployments?

Page 19: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Page 20: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

When you ship fast, you must be able to relate

functional and performance problems to

deployments

Page 21: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

requires baselining

Page 22: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Question #3

How save is it to modify my system?

Page 23: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15Three Types of Dependencies in a System

Incoming dependencies

Outgoing dependencies

External dependencies (not controlled by you)

Page 24: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15Gatekeeper - Many outgoing dependencies

Likely not very “micro”

Complex application logic

Very deployment sensitive

Page 25: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15Single Point of Failure

Central application

services

Very fragile to scaling

User facing impact

Page 26: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15Hub – Incoming and outgoing dependencies

The worst thing to happen

“Legacy” migration

Highest deployment risk

Page 27: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Question #4

How resilient is my infrastructure to

changed usage patterns?

Page 28: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Metric Granularity

Page 29: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Wrap up

Page 30: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Page 31: Microservice, Micro Deployments and DevOps

ruxit theme 2014.05.15

Work with us …

Try ruxit and submit your feedback

[email protected]