/
Developing on Windows Server Developing on Windows Server

Developing on Windows Server - PowerPoint Presentation

briana-ranney
briana-ranney . @briana-ranney
Follow
342 views
Uploaded On 2019-11-23

Developing on Windows Server - PPT Presentation

Developing on Windows Server Innovation for today and tomorrow TaylorBrownmicrosoftcom Principal Lead PM Windows Server taylorbmsft B8013 Slides are at httpdocscomtaylorb Where do developers spend time ID: 767132

server windows containers container windows server container containers existing iis applications docker program run path code azure linux support

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Developing on Windows Server" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Developing on Windows Server Innovation for today and tomorrow Taylor.Brown@microsoft.com Principal Lead PM Windows Server@taylorb_msft B8013 Slides are at: http://docs.com/taylorb

Where do developers spend time… Debugging existing applications “Fixing” existing applications Adding “features” to existing applications Fixing the feature someone else added Building a new application (maybe… if there’s time)

Where do application admin’s spend time… Maintaining existing applications Re-deploying existing applications Diagnosing issues with existing applications Troubleshooting issues from feature additions Deploying a new application (maybe… if there’s time)

Making old new… We can’t throw out every old app. We can’t stop adding features. We can’t stop maintaining old apps. We can make it easier… We can use new tools/code with existing apps…

Where to start? TRANSFORM MONOLIT HS TO MICROSERVICES New code and transforming existing code CONTAINERIZE EXISTING APPLICATIONS Containerize for portability, efficiency and reliability ACCELERATE NEW APPLICATIONSAgile cloud native app development

The pattern works

The pattern works “By upgrading to Windows Server 2016, we were able to ‘lift and shift’ a key security application into Windows Server Containers, gain the flexibility to run it anywhere, and begin to use microservices to refactor aspects of the application to gain needed scalability.”   -Stephen Tarmey, Chief Architect

The pattern works Four Times Faster deployment time Two Times Improvement in Infrastructure utilization

The pattern works Ten Applications Four times App Density without performance degradation Two third’s Reduction in infrastructure cost Reduce infrastructure and operational cost while moving to Azure and modernizing application architecture

The pattern works “We love the pristine and predictable environments provided by Windows Server Containers. Service Fabric brings us a safe and consistent deployment strategy that maximizes uptime. The marriage of the two in Microsoft Azure gives us unlimited potential.” – Ralph Feltis , Senior Software Engineer “With Azure Service Fabric and Windows Containers, we were able to push out [a] new feature immediately …. That’s a big win for our team and for the airline.” – Debra Moore, Senior Product Owner “By upgrading to Windows Server 2016, we were able to ‘lift and shift’ a key security application into Windows Server Containers, gain the flexibility to run it anywhere, and begin to use microservices to refactor aspects of the application to gain needed scalability.”  -Stephen Tarmey, Chief Architect

The pattern works

Where to start? TRANSFORM MONOLIT HS TO MICROSERVICES New code and transforming existing code CONTAINERIZE EXISTING APPLICATIONS Containerize for portability, efficiency and reliability ACCELERATE NEW APPLICATIONSAgile cloud native app development

Visual Studio 2017 Container tools Run, debug, test web, and console apps in Docker Containers .NET FX w/Windows Server, .NET Core with Nano Server, and Linux Breakpoint debugging Edit & refresh of code Scaffolds Docker assets Dockerfile, docker-compose.yml

Demo Visual Studio 2017 Container Tooling Steve Lasker Principal PM with Visual Studio @ SteveLasker github.com/stevelasker

Image2Docker

Image2Docker ConvertTo-Dockerfile `     - RemotePath \\ 192.168 . 1.5\c$ `    -OutputPath c:\newDockerFile `    -Artifact IIS # escape=`FROM microsoft/aspnet:windowsservercore-10.0.14393.693SHELL ["powershell ", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Remove-Website 'Default Web Site';# Set up website: iis-envRUN New-Item -Path 'C:\iis\iis-env' -Type Directory -Force; RUN New-Website -Name 'iis-env' - PhysicalPath 'C:\ iis \ iis-env ' -Port 8090 -Force; EXPOSE 8090 COPY [ " iis-env " , "/ iis / iis-env " ]

Image2Docker Open source PowerShell module WIM, VHD, VHDx or Live Servers Roles and Features along with installed programs Internet Information Services (IIS) - HTTP Handlers in IIS configuration - IIS Websites and filesystem paths - ASP.NET web applications Microsoft SQL Server InstancesApache Web Server https://www.powershellgallery.com/packages/Image2Docker/ https://github.com/docker/communitytools-image2docker-win Get It

Where to start? TRANSFORM MONOLIT HS TO MICROSERVICES New code and transforming existing code CONTAINERIZE EXISTING APPLICATIONS Containerize for portability, efficiency and reliability ACCELERATE NEW APPLICATIONSAgile cloud native app development

one container two container n containers

Docker Enterprise Edition: Docker Datacenter Beta Support for Windows Server Containers Frictionless deployment experience Integrated web management portal Role Based and LDAP/AD Access Control Self-healing and rolling app deploy/upgrade Image scanning, signing & E2E security

Azure Service Fabric Support for Windows Server Containers and Hyper-V isolation Image deployment and activation Volume driver support Networking and DNS discovery Resource governance

Kubernetes Alpha Support for Windows Server Containers Control plane runs on Linux nodes, Kubelet / kube -proxy run on WindowsNetwork is achieved using L3 routing Only One Container Per Podhttps://kubernetes.io/docs/getting-started-guides/windows/

Where to start? TRANSFORM MONOLIT HS TO MICROSERVICES New code and transforming existing code CONTAINERIZE EXISTING APPLICATIONS Containerize for portability, efficiency and reliability ACCELERATE NEW APPLICATIONSAgile cloud native app development

Containers are everywhere…

Functions on-premises Preview of Azure Functions Runtime https://aka.ms/azafr

Azure Functions Runtime Same programming model Same portal Same publishing experience from Visual Studio Azure Consistency Hybrid deployments

Azure Functions Runtime Management Role Hosts Portal and Publishing Endpoint Worker Roles Runs functions inside Windows Server Containers Triggers Timers, File System and/or SQL Service Broker

Demo Azure Functions Runtime

The title said today and tomorrow…

Hyper-V Hypervisor Windows Kernel Host User Mode Container Runtime ContainerD Docker Engine Hyper-V Isolation Virtual Machine Specifically Optimized To Run a Container Linux Kernel Linux ContainerApp Hyper-V IsolationVirtual MachineSpecifically Optimized To Run a Container Windows Kernel Windows Server Container App Linux containers with Hyper-V isolation One Docker engine Choice of Linux kernels Yes, this will be on Win10! One container host Any container, regardless of OS

Demo Linux containers

taylorb@taylorb-pc : / mnt /c/Users/taylorb $ _ cat / mnt/c/build-announce.txtThe Windows Subsystem for Linux (aka Bash) is coming to Windows Server!taylorb@taylorb-pc: /mnt/c/Users/taylorb$__ Manage, debug, build or deploy from the Bash promptBring the same scripts from Linux and Mac to Windows 10 and now Windows ServerSame experience and features as found on Windows 10

Windows Server Insiders! Will provides access to frequent and regular builds of Windows Server Aligned with Windows 10 flights New Server Category in Feedback Hub New channel in Tech Communities Download ISOs from Insider Portal Pull container images for the Docker hub

Container Optimized Nano Server Image Uncompressed container image ~1GB Components not relevant in containers Optional components not layers With Windows Server 2016

Container Optimized Nano Server Image Significant reduction in size (on disk and pull) Removing components not relevant to containers or modern development Optional components are layers Coming in this feature release and beyond

Platform plumbing for container orchestrators Mapping named pipes into containers Hot-add of network interfaces Initial support for sharing network interfaces between containers Network overlay support (shipped!)

Support for mapping SMB Volumes docker run -v d:\<path>:c:\<container path> License.txt PerfLogs Program Files Program Files (x86) Users Windows C: D: <Path> My Container Container Host License.txt PerfLogs Program Files Program Files (x86) Users Windows <container path>

Support for mapping SMB Volumes docker run -v c:\<path>:c:\<container path> docker run -v \\fileserver\share\<path>:c:\<container path> License.txt PerfLogs Program Files Program Files (x86) Users Windows <Path> My Container Container Host License.txt PerfLogs Program Files Program Files (x86) Users Windows <container path> File Server \\fileserver\share C:

General improvements Polish and bug fixes Driven by your feedback and bug reports Improved performance and density Faster startup time, better throughput and increased density Optimizing container images Not just .NET Core 2.0 but others including Server Core based

That was a lot to cover in an hour… Your feedback matters! Join the insider program, send bug reports, tell us what you need Join the insider program Try building in parallel, let us know what works and what doesn’t Start building now

Important links Windows Server and Windows Insider Program http://insider.windows.com Windows Tech Communities https://techcommunity.microsoft.com/t5/Windows-Server/ct-p/Windows-Server Windows Server UserVoice https://windowsserver.uservoice.com/forums/295047-general-feedback Windows Server Container Documentationhttp://aka.ms/containers