16
Der Cloud Native Stack in a Nutshell Mario-Leander Reimer Cheftechnologe, QAware GmbH

Der Cloud Native Stack in a Nutshell

Embed Size (px)

Citation preview

Page 1: Der Cloud Native Stack in a Nutshell

Der Cloud Native Stack

in a Nutshell

Mario-Leander ReimerCheftechnologe, QAware GmbH

Page 2: Der Cloud Native Stack in a Nutshell

2

#GIFEE Google’s(and Facebook’s, Twitter’s, Airbnb’s, ...)

Infrastructure

For

Everyone

Else

Page 3: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

DIS

RU

PT

IND

UST

RIA

LIZE

3

Page 4: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

BUILT AND COMPOSED

AS MICROSERVICES

DYNAMICALLY

EXECUTED IN THE CLOUD

3 K

EY P

RIN

CIP

LES

4

PACKAGED AND

DISTRIBUTED IN CONTAINERS

Page 5: Der Cloud Native Stack in a Nutshell

„There ain’t no such thing as a free lunch.“Robert A. Heinlein, 1966, The Moon Is a Harsh Mistress

Page 6: Der Cloud Native Stack in a Nutshell

Die 5 Gebote der Cloud

1. Everything Fails All The Time.

2. Focus on MTTR not MTTF.

3. Know the Eight Fallacies of Distrbuted Computing.

4. Scale out not up.

5. Treat resources as cattle not pets.

Page 7: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Design Prinzipien Cloud-nativer AnwendungenoDesign for Performance: responsive; concurrency; efficiency.

oDesign for Resiliency: fault-tolerant; self-healing.

oDesign for Elasticity: dynamically scale; be reactive.

oDesign for Diagnosability: cluster-wide logs, traces, metrics.

oDesign for Delivery: short roundtrips; automated delivery.

oDesign for Automation: automate dev tasks & ops tasks.

7

Page 8: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Die Anatomie des Cloud Native Stack

8

Cluster Operating System

ApplicationsCluster Orchestrator

ContainersCluster Scheduler

ResourcesCluster Virtualization

Cloud Native AppApplication Platform

Entkoppelt von physischer

Hardware.

Führt Applikationen

auf dem Cluster aus.

Stellt Ablauf-Umgebung und APIs für Apps

bereit.

Verwaltet Ressourcen für die Ausführung von Container.

Page 9: Der Cloud Native Stack in a Nutshell
Page 10: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Cloud Native Stack mit Spring Cloud auf DC/OS

10

Cluster Operating System

Cloud Native AppApplication Platform

ApplicationsCluster Orchestrator

ContainersCluster Scheduler

ResourcesCluster Virtualization

Page 11: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

In 4 Stufen zur Cloud-nativen Anwendung

11

https://www.opendatacenteralliance.org/docs/architecting_cloud_aware_applications.pdf

Cloud Native- Skaliert elastisch abhängig von Stimuli.- Dynamische Migration auf andere Infrastruktur

ohne eine Service Downtime.Level 3: Adaptive

Cloud Resilient- Fehler-tolerant und resilient entworfen.- Metriken und Monitoring eingebaut.- Runs anywhere. Infrastruktur agnostisch.

Level 2: Abstracted

Cloud Friendly- Besteht aus lose gekoppelten Diensten.- Dienste können über Namen gefunden werden.- 12-Factor App Principles.

Level 1: Loosely Coupled

Cloud Ready- Keine Anforderungen an das Datei-System.- Läuft auf virtualisierter Hardware.- Self-contained, kann als Image ausgeführt werden.

Level 0: Virtualized

Page 12: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware12

Page 13: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Keine Magie. Aber komplexe Technologie.

oBuilding Distributed Systems is hard!

oDer Cloud Native Stack macht die inhärente Komplexität beherrschbar.

oEntwickler, Architekten und Ops brauchen zusätzliche Skills und Know-How

in etlichen neuen Technologien.

oDie hohe Abstraktion ist Segen und Fluch zugleich.

13

Page 14: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Digitale Transformation durch Renovierung oder Neubau ihrer IT Systeme mit Cloud Technologie.

14

Page 15: Der Cloud Native Stack in a Nutshell

| Cloud Expo Europe 2016 | Der Cloud Native Stack in a Nutshell | @LeanderReimer #cloudnativenerd #qaware

Code und Artikel zum Nachlesen unter …ohttps://github.com/qaware/hitchhikers-guide-cloudnative

oDer Cloud Native Stack: Mesos, Kubernetes und Spring Cloudhttps://goo.gl/U5cJAU

oSpring Cloud und Netflix OSS: Cloud-native Anwendungen bauenhttps://goo.gl/edNlUK

oCloud-native Anwendungen mit Kuberneteshttps://goo.gl/dVkoyR

oEine Einführung in Apache Mesos: Das Betriebsystem der Cloudhttps://goo.gl/7SnMZA

15

Page 16: Der Cloud Native Stack in a Nutshell

Mario-Leander Reimer Cheftechnologe, QAware [email protected]

https://www.qaware.dehttps://slideshare.net/MarioLeanderReimer/https://speakerdeck.com/lreimer/https://twitter.com/leanderreimer/