Principal Consultant @muellermarc Microsoft I like but Im a - - PowerPoint PPT Presentation

principal consultant
SMART_READER_LITE
LIVE PREVIEW

Principal Consultant @muellermarc Microsoft I like but Im a - - PowerPoint PPT Presentation

Marc Mller Principal Consultant @muellermarc Microsoft I like but Im a Microsoft Fan-Boy https://twitter.com/dberkholz/status/689211852157407233 100 Deployments pro Tag! UI BL DAL Order Order Orders Logic Data Product


slide-1
SLIDE 1
slide-2
SLIDE 2

Marc Müller Principal Consultant @muellermarc

slide-3
SLIDE 3
slide-4
SLIDE 4

Microsoft

slide-5
SLIDE 5

I like

…but I‘m a Microsoft Fan-Boy

slide-6
SLIDE 6

https://twitter.com/dberkholz/status/689211852157407233

slide-7
SLIDE 7

100 Deployments pro Tag!

slide-8
SLIDE 8
slide-9
SLIDE 9

Orders Products DAL Order Data Product Data BL Order Logic Product Search Product Logic UI Admin UI

slide-10
SLIDE 10

API Gateway / Proxy Order Service

Orders Order Data Order Logic

Customer UI Admin UI Product Search Service

Products Product Data Product Search

Product Service

Products Product Data Product Search

Message Queue

slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14

Server Host OS Hypervisor Server Host OS Docker Engine Guest OS Guest OS Guest OS

Bins/Libs Bins/Libs Bins/Libs

App A App A’ App B Bins/Libs Bins/Libs App A App A’ App B App B’ App B App B’ App B App B’

Containers are isolated, but share OS and, where appropriate, bins/libraries

Bins/Libs

Image Source: https://sec.ch9.ms/sessions/build/2016/B822.pptx

slide-15
SLIDE 15

My ASP.NET Core Application microsoft/aspnet microsoft/dotnet buildpack-deps:jessie-scm buildpack-deps:jessie-curl debian:jessie

slide-16
SLIDE 16

Developer PC / Laptop Docker Engine

Container Container Container

slide-17
SLIDE 17
slide-18
SLIDE 18

App1 App2

slide-19
SLIDE 19

▪ Schnelles Deployment ▪ Schneller Start ▪ Einfaches Scaling und Partitioning ▪ Isolierter, versionierter, wiederverwendbarer Code (Artefakt /

Konfigurationselement) Klare Abgrenzung zwischen Entwicklung und Betrieb

▪ Entwicklung

kümmert sich um den Inhalt des Containers

▪ Betrieb

kümmert sich darum, wie der Container verwendet wird

slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24

24

slide-25
SLIDE 25

https://github.com/dotnet/dotnet-docker/issues/239

slide-26
SLIDE 26

▪ ▪ ▪

slide-27
SLIDE 27
slide-28
SLIDE 28

VSTS Build VSTS Release Management Docker Registry Build App Test Build Container Repo Container Info Publish to Target Host Container Info Push Host Pull Config Artifact

slide-29
SLIDE 29

VSTS Build Agent Build Pool Build Pool Build Pool Build Definition Build Definition Build Queue Docker Engine Build Agent

slide-30
SLIDE 30
slide-31
SLIDE 31

▪ ▪

slide-32
SLIDE 32
slide-33
SLIDE 33
slide-34
SLIDE 34

Image Source: https://docs.docker.com/registry/spec/api/

slide-35
SLIDE 35
slide-36
SLIDE 36

▪ ▪ ▪

slide-37
SLIDE 37

Build/CI, Integrate, Test

3. 1.

Monitor and Diagnose

Outer-Loop

Push Code Production environments

Run, Manage

5. 6.

Container Service Service Fabric Batch App Services Coming soon … …

Code Run Validate Debug

Inner-Loop

CD, Deploy

4.

Visual Studio Team Services

Source Code Control

(SCC)

2.

Azure Container Registry

Image Source: https://sec.ch9.ms/sessions/69613110-c334-4f25-bb36-08e5a93456b5/206BuildDebugDeployASPNETCorewithDocker.pptx

slide-38
SLIDE 38

ACS = ARM T emplates 3 Varianten

▪ ▪ ▪

Image Source: https://docs.microsoft.com/en-us/azure/container-service/container-service-intro

slide-39
SLIDE 39

VSTS Azure Resource Group DCOS Master DCOS Master DCOS Master DCOS Master DCOS Master Public Agent DCOS Master DCOS Master Private Agent Marathon-LB VSTS Agent App1 App1 App1 App1 App1 App2 Git Build Release Internet Azure Load Balancer

slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42
slide-43
SLIDE 43
slide-44
SLIDE 44

▪ Micro-Service Architektur

Reduktion der Komplexität, einfacher und schnellere Deployments

▪ Automatisierung der Build- und Release-Prozesse ▪ Isolation der Services als Container ▪ Isolation der Build Umgebung (Agent) ▪ Load Balancing mittels Service Discovery

slide-45
SLIDE 45
slide-46
SLIDE 46