Windows Server & Hyper-V Containers Vaggelis Kappas

Slides:



Advertisements
Similar presentations
Gold Sponsors Bronze Sponsors Silver Sponsors Taking SharePoint to the Cloud Aaron Saikovski Readify – Software Solution Specialist.
Advertisements

Microsoft Desktop Virtualization Migrating to Windows 7 With MED-V.
Windows Azure Conference 2014 Azure Infrastructure services foundation.
GAAIN Virtual Appliances: Virtual Machine Technology for Scientific Data Analysis Arihant Patawari USC Stevens Neuroimaging and Informatics Institute July.
LegendCorp What is System Center Virtual Machine Manager (SCVMM)? SCVMM at a glance Features and Benefits Components / Topology /
David Kim Product Manager CLI306 Industry Trends Windows Vista Enterprise Flexible Desktop Computing Options Windows Vista Enterprise Centralized Desktop.
#msitconf. Damien Caro Technical Evangelist Manager, Что будет, если приложение поместить в контейнер? What happens if the application.
Microsoft Build /9/2017 5:00 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Return of the wall of fire
4/12/2018 1:12 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Global Azure Bootcamp 2017 Linz, Austria
Building ARM IaaS Application Environment
Volume Licensing Readiness: Level 100
Fundamentals Sunny Sharma Microsoft
5/13/2018 5:39 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Accelerate your DevOps with OpenShift by Red Hat
Windows Containers Taylor Brown Principal Lead Program Manager
Volume Licensing Readiness: Level 200
Develop, debug and deploy containerized applications with Docker
Volume Licensing Readiness: Level 100
Docker and Azure Container Service
Deploying Linux on Microsoft Public and Private cloud
Working With Azure Batch AI
Windows Server* 2016 & Intel® Technologies
Microsoft Virtual Academy
6/11/2018 8:14 AM THR2175 Building and deploying existing ASP.NET applications using VSTS and Docker on Windows Marcel de Vries CTO, Xpirit © Microsoft.
Windows Server 2016 Platform for Modern Apps Microsoft Build 2016
Learning about Containers in the Real World
In-Depth Introduction to Docker
Docker – kontejnerizacija na serveru Vedran Vučetić, SPAN
Manage Nano Server with Windows Server 2016 Hyper-V
Building a Continuous Delivery Pipeline for ASP.NET Core Apps
Application Platform.
Volume Licensing Readiness: Level 100
Windows Azure Pack : Express Installation
ASP.NET in Linux and Windows containers
Andrew Pruski SQL Server & Containers
Containers in HPC By Raja.
The Path to Containerization Transforming workloads into containers
Design and Implement Cloud Data Platform Solutions
Use server-based personal desktops in Windows Server 2016
Microsoft Connect /18/ :32 PM
9/20/2018 2:30 PM BRK2279 Everything you need to know about the new Windows Server release cadence Chris Van Wesep, Director Product Marketing Jeff Woolsey,
Introduction to Docker
Azure Container Instances
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Cloud? It's All about the App!
Microsoft Virtual Academy
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Developing for the cloud with Visual Studio
Intro about Contanier and Docker Technology
Learn. Imagine. Build. .NET Conf
Microsoft Virtual Academy
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
System Center Application Management
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Openstack-alapú privát felhő üzemeltetés
LitwareHR v2: an S+S reference application
Microsoft Connect /24/ :10 PM
Introduction to Docker
Service Template Creation from the Ground Up
Service Template Creation from the Ground Up
Day 2, Session 2 Connecting System Center to the Public Cloud
Azure Container Service
Microsoft Virtual Academy
Microsoft Virtual Academy
Continuous Services and Connected Devices
Tech·Ed North America /17/2019 4:14 PM
Azure App Service Web App for Containers
Containers on Azure Peter Lasne Sr. Software Development Engineer
Presentation transcript:

Windows Server & Hyper-V Containers Vaggelis Kappas

What is a container? Microsoft Build 2016 9/18/2018 12:30 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a container? Microsoft Build 2016 9/18/2018 12:30 PM Application OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Traditional virtual machines = hardware virtualization Microsoft Build 2016 9/18/2018 12:30 PM What is a container? Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Traditional virtual machines = hardware virtualization Microsoft Build 2016 9/18/2018 12:30 PM What is a container? Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Traditional virtual machines = hardware virtualization Microsoft Build 2016 9/18/2018 12:30 PM What is a container? OS Hardware Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a container? Microsoft Build 2016 9/18/2018 12:30 PM Containers = Operating system virtualization OS Applications Kernel Hardware Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a container? Microsoft Build 2016 9/18/2018 12:30 PM Containers = Operating system virtualization OS CONTAINER CONTAINER CONTAINER Applications Kernel Hardware Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a container? Microsoft Build 2016 9/18/2018 12:30 PM Containers = Operating system virtualization OS CONTAINER CONTAINER CONTAINER Applications Kernel Hardware Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Server Containers Microsoft Build 2016 9/18/2018 12:30 PM What is a container? Windows Server Containers Maximum speed and density Containers = Operating system virtualization OS CONTAINER CONTAINER CONTAINER Kernel CONTAINER Applications Kernel Hardware Traditional virtual machines = hardware virtualization Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Windows Server Containers Microsoft Build 2016 9/18/2018 12:30 PM What is a container? Windows Server Containers Maximum speed and density Containers = Operating system virtualization OS CONTAINER CONTAINER CONTAINER Kernel CONTAINER Applications Kernel Hardware Hyper-V Containers Isolation plus performance Traditional virtual machines = hardware virtualization Hyper-V Kernel CONTAINER Application VM OS Hardware © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

How do containers work? Microsoft Build 2016 9/18/2018 12:30 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

High Level Architecture } Docker Universal Control Plane Container Development and Management Toolset Docker Client Docker PowerShell Docker Compose Docker Registry Docker Swarm Docker Engine Operating System Container Runtime

Local Security Authority Windows Containers Host User Mode System Processes Container Management Session Manager Docker Engine Local Security Authority Compute Services Etc… Windows Kernel Hyper-V Hypervisor

Windows Containers Windows Server Container Windows Kernel Host User Mode System Processes Container Management Session Manager Docker Engine Windows Server Container Local Security Authority Compute Services Etc… Windows Kernel Hyper-V Hypervisor

Windows Containers Windows Server Container Windows Kernel Host User Mode System Processes Container Management Session Manager Docker Engine Windows Server Container Local Security Authority Compute Services Etc… System Processes Windows Kernel Hyper-V Hypervisor

Windows Containers Windows Server Container Windows Kernel Host User Mode System Processes Container Management Session Manager Docker Engine Windows Server Container Local Security Authority Compute Services Etc… System Processes Application Process(es) Windows Kernel Hyper-V Hypervisor

Windows Containers Windows Server Container Windows Server Container Host User Mode System Processes Container Management Session Manager Docker Engine Windows Server Container Windows Server Container Local Security Authority Compute Services Etc… System Processes System Processes Application Process(es) Application Process(es) Windows Kernel Hyper-V Hypervisor

Windows Containers Hyper-V Container Windows Server Container Host User Mode System Processes Container Management Session Manager Hyper-V Container Docker Engine Windows Server Container Windows Server Container Local Security Authority Compute Services Etc… System Processes System Processes Application Process(es) Application Process(es) Windows Kernel Hyper-V Hypervisor

Windows Containers Hyper-V Container Windows Server Container Host User Mode System Processes Container Management Session Manager Hyper-V Container Docker Engine Windows Server Container Windows Server Container Local Security Authority Compute Services Etc… System Processes System Processes Application Process(es) Application Process(es) Windows Kernel Windows Kernel Hyper-V Hypervisor

Windows Containers Hyper-V Container Windows Server Container Host User Mode System Processes Container Management Session Manager Hyper-V Container Docker Engine Windows Server Container Windows Server Container Local Security Authority Compute Services Etc… System Processes Application Process(es) System Processes Application Process(es) Windows Kernel Windows Kernel Hyper-V Hypervisor

Windows Containers Host User Mode Virtual Machine Specifically Optimized To Run a Container System Processes Container Management Session Manager Hyper-V Container Docker Engine Windows Server Container Windows Server Container Local Security Authority Compute Services Etc… System Processes Application Process(es) System Processes Application Process(es) Windows Kernel Windows Kernel Hyper-V Hypervisor

Startup Performance NodeJS with Windows Server Core Microsoft 2016 9/18/2018 12:30 PM Startup Performance NodeJS with Windows Server Core NodeJS with Nano Server Windows Server Container ~1 second Windows Server Container Under 600 Milliseconds! Hyper-V Container ~1.75 seconds Hyper-V Container ~3.3 seconds A virtual machine takes ~5 seconds to over a min A virtual machine takes ~3 seconds *Includes initial boot provisioning phase (out-of-box setup etc…) **Startup time after initial container start. Testing performed on HP ProLiant SL250s Gen8, E5-2600, 2 Socket, 8 Core, 128GB RAM, HP SATA SSD - results may vary based on hardware and software configurations. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Startup Performance NodeJS with Nano Server Microsoft 2016 9/18/2018 12:30 PM Startup Performance NodeJS with Nano Server Windows Server Container Under 600 Milliseconds! Hyper-V Container ~1.75 seconds A virtual machine takes ~3 seconds NodeJS with Windows Server Core Windows Server Container ~1 second Hyper-V Container ~3.3 seconds A virtual machine takes ~5 seconds to over a min © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Density NodeJS with Windows Server Core NodeJS with Nano Server Microsoft 2016 9/18/2018 12:30 PM Density NodeJS with Windows Server Core NodeJS with Nano Server Windows Server Container First Container ~150MB Additional Containers ~75MB Windows Server Container First Container ~120MB Additional Containers ~75MB Hyper-V Container First Container ~555MB Additional Containers ~280MB Hyper-V Container First Container ~340MB Additional Containers ~150MB Testing performed on HP ProLiant SL250s Gen8, E5-2600, 2 Socket, 8 Core, 128GB RAM, HP SATA SSD - results may vary based on hardware and software configurations. © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Density NodeJS with Nano Server NodeJS with Windows Server Core Microsoft 2016 9/18/2018 12:30 PM Density NodeJS with Nano Server Windows Server Container First Container ~120MB Additional Containers ~75MB Hyper-V Container First Container ~340MB Additional Containers ~150MB NodeJS with Windows Server Core Windows Server Container First Container ~150MB Additional Containers ~75MB Hyper-V Container First Container ~555MB Additional Containers ~280MB © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

How do I create a container? Microsoft Build 2016 9/18/2018 12:30 PM How do I create a container? © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Docker Run Creates and Starts a New Container Runtime options Microsoft 2016 9/18/2018 12:30 PM Docker Run Creates and Starts a New Container Runtime options Name (network name and management name) Interactive or Service Network configuration Resource management Volume mappings Isolation level © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo creating a container Microsoft 2016 9/18/2018 12:30 PM Demo creating a container © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

What is a container image? Microsoft Build 2016 9/18/2018 12:30 PM What is a container image? © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Microsoft 2016 9/18/2018 12:30 PM Container Image Analogous to a VHD and config file to a virtual machine Created by running a container and capturing changes Changes include files and registry Image Metadata Name, Creation Data, Command To Execute, Dependences Contents Files Folders Registry © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Container Images My Website Application IIS Application Framework Base Image (OS)

Container Images My Website Application IIS Application Framework Image Contents Registry Folders and Files HKLM HKCU License.txt PerfLogs Program Files Base Image (OS) HKCR HKU Program Files (x86) Users Windows

Container Images Image Contents My Website Application IIS Registry Folders and Files My Website Application inetpub HKLM mysite.html SOFTWARE/ mykey IIS Application Framework Image Contents Registry Folders and Files HKLM HKCU License.txt PerfLogs Program Files Base Image (OS) HKCR HKU Program Files (x86) Users Windows

Automated Image Building Docker Build and Dockerfiles Method for automated container image build Consumed when running “docker build” Caches unchanged commands Integrates into Docker Hub Examples IIS FROM microsoft/windowsservercore RUN powershell –command Add-WindowsFeature Web-Server Website FROM iis ADD mysite.htm inetpub\mysite.htm My Website IIS

Image Registries What is a registry? Stores container images Images are Pushed into a registry Images are Pulled from a registry Images are Searched for within a registry

Image Registries Docker Hub and Docker Store Docker Trusted Registry Public, Official and Private image repositories Granular access controls with organization support Automated image build support Docker Trusted Registry Enterprise Grade Private Registries Runs on your infrastructure (on-prem or cloud) Active Directory and Role Based Access Controls Docker Registry Open source foundation of Hub and DTR Runs on your infrastructure (on-prem or cloud) as a container https://docs.docker.com/registry and or https://github.com/docker/distribution

Demo building a container image Microsoft 2016 9/18/2018 12:30 PM Demo building a container image © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.