Marc Müller Principal Consultant @muellermarc
Microsoft
I like …but I‘m a Microsoft Fan-Boy
https://twitter.com/dberkholz/status/689211852157407233
100 Deployments pro Tag!
UI BL DAL Order Order Orders Logic Data Product Product Search Data Products Admin UI Product Logic
Customer API Order Service Gateway / UI Proxy Order Order Orders Logic Data Message Queue Product Search Service Product Product Products Search Data Admin UI Product Service Product Product Products Search Data
Containers are isolated, but App A App A’ App B share OS and, where appropriate, bins/libraries Bins/Libs Bins/Libs Bins/Libs Bins/Libs Guest Guest Guest App B’ App B’ App B’ OS OS OS App A’ App A App B App B App B Bins/Libs Bins/Libs Hypervisor Docker Engine Host OS Host OS Server Server Image Source: https://sec.ch9.ms/sessions/build/2016/B822.pptx
My ASP.NET Core Application microsoft/aspnet microsoft/dotnet buildpack-deps:jessie-scm buildpack-deps:jessie-curl debian:jessie
Developer PC / Laptop Docker Engine Container Container Container
App1 App2
▪ 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
24
https://github.com/dotnet/dotnet-docker/issues/239
▪ ▪ ▪
VSTS Release Docker Registry VSTS Build Host Management Artifact Build App Container Info Config Push Test Repo Publish to Target Host Build Container Pull Container Info
Build Agent VSTS Build Pool Build Pool Build Pool Docker Engine Build Queue Build Build Agent Definition Build Definition
▪ ▪
Image Source: https://docs.docker.com/registry/spec/api/
▪ ▪ ▪
Container Service Visual Studio Team Services 4. 5. 3. 2. Run, Manage Service Fabric Build/CI, Source Code CD, Deploy Control Integrate, Test (SCC) Batch Production environments App Services Azure Coming soon Push Container Code Registry … Inner-Loop 6. 1. … Run Monitor and Diagnose Code Validate Outer-Loop Debug Image Source: https://sec.ch9.ms/sessions/69613110-c334-4f25-bb36-08e5a93456b5/206BuildDebugDeployASPNETCorewithDocker.pptx
ACS = ARM T emplates 3 Varianten ▪ ▪ ▪ Image Source: https://docs.microsoft.com/en-us/azure/container-service/container-service-intro
Internet Azure Resource Group DCOS Master DCOS Master DCOS Master Azure Load Balancer VSTS Public Agent Private Agent Git DCOS Master DCOS Master DCOS Master DCOS Master VSTS Agent App1 App2 App1 App1 Build App1 App1 Marathon-LB Release
▪ 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
Recommend
More recommend