Windows Server 2016 Modern Application Platform Features -3: Containers

Microsoft has made a focused shift to ensuring that customers today, whether they are in the public or private cloud, have a solid foundation for their application portfolio. There are two new technologies introduced in Microsoft Windows Server 2016: Nano Server and containers. With these new technologies, you can take advantage of a highly optimized, scalable, and secure experience for Application Platform.

Containers

A container in its simplest form is exactly that—a container. It is an isolated environment in which you can run an application without fear of changes due to applications or configuration. Containers share key components (kernel, system drivers, and so on) that can reduce startup time and provide greater density than you can achieve with a VM.

As the illustration demonstrates, a host OS can host many containers and allow them to be completely isolated while sharing key components of the OS, such as the kernel.

The interesting thing about containers is the application itself. The application might have various dependencies that it requires to run. These dependencies exist only within the container itself. This means that something bad that happens to Application A and the binaries it depends on has no impact on Application B and the binaries on which it depends. For example, in most environments, if you delete the registry from Application A, the consequences are disastrous for both Application A and Application B. However, with containers, Application A and Application B are each self-contained, and the change to the registry for Application A does not affect Application B.

Because all binaries and dependencies are hosted within the container, the application running in the container is completely portable. Essentially, this means that you can deploy a container to any host running the container manager software, and it will start and run without any modification. For example, a developer can begin developing his application and deploy it into a Hyper-V Container using Windows 10 Anniversary Edition. When he is ready to roll it out in production, it can be run on Windows Server 2016, including Nano Server, in a public, private, or hybrid cloud.

Containers are built on layers. The first layer is the base layer. This is the OS image on which all other layers will be built. This image is stored in an image repository so that you can reference it when necessary. The next layer (and sometimes the final layer) is the application framework layer that can be shared between all of your applications. For example, if your base layer is Windows Server Core, your application framework layer could be .NET Framework and Internet Information Services (IIS). The second layer can also be stored as an image, which, when called, also describes its dependency on the base layer of Windows Server Core. Finally, the application layer is where the application itself is stored, with references to the application framework layer and, in turn, to the base layer.

The base layer and the application layer can be referenced at any time by any other application

container you create. Each layer is considered read-only except the top layer of the “image” you are deploying. For example, if you deploy a container that depends only on the Windows Server Core image, this Windows Server Core layer is the top layer of the container and a sandbox is put in place to store all the writes and changes made during runtime. You can then store the changes made as another image for later reuse. The same applies if you deploy the application framework layer image; this layer would have its own sandbox, and if you deploy your application to it, you can then save the sandbox as a reusable image.

Basically, when you deploy a container to a host, the host determines whether it has the base layer. If not, it pulls the base layer from an image repository. Next, it repeats the process for the application framework layer and then creates the application container that you were originally trying to deploy. If you then want to create another container with the same dependencies, you simply issue a command to create the new application container, and it is provisioned almost immediately because all of the dependencies are already in place. If you have an application container that depends on a different application framework layer as well as on the original Windows Server Core base layer, you can simply pull the different application framework layer from an image store and start the new application container.

For details, please ref the Microsoft free book: Introducing Windows Server 2016  at http://aka.ms/mspressfree  or email me at [email protected]

时间: 2024-10-11 01:20:00

Windows Server 2016 Modern Application Platform Features -3: Containers的相关文章

Windows Server 2016 Modern Application Platform Features -1: Microservices

Microsoft has made a focused shift to ensuring that customers today, whether they are in the public or private cloud, have a solid foundation for their application portfolio. There are two new technologies introduced in Microsoft Windows Server 2016:

Windows Server 2016 Software-Defined-Datacenter Features

Windows Server 2016 is the cloud-ready operating system (OS) that delivers new layers of security and Microsoft Azure-inspired innovation for the applications and infrastructure that power your business. One of the important feature is Softwzre-defin

如何部署Windows Server 2016 中的Storage Spaces Direct超聚合解决方案

客户环境: Component   Detail Platform Dell  PowerEdge R730xd (2U, 16 x 3.5" and 2 x 2.5" rear drives) CPU 2 x 338-BJCZ  Intel Xeon CPU E5-2620 v4 @2.10GHz Memory 8 x  16 GB RDIMM, 2400MT/s, Dual rank, x8 Data Width OS  drive 200GB  SSD NDC Intel  X5

Upgrade Windows Server 2016 to Windows Server 2019

Pre-Upgrade Upgrade path: Windows Server 2016 can be upgraded to Windows 2019 in a single upgrade process. Support: In-place Upgrade is supported for Windows Server 2016 on physicaL hardware, and in Virtual Machines. Public and private cloud companie

Windows Server 2016技术预览

Windows Server 2016是微软将于2016年9月份发布的最新服务器操作系统.目前微软官方发布了许多Windows Server 2016新的功能和特性,下面我们来简单看下: 主要内容 预览版界面 系统需求及安装 服务器管理变化 新特性及变化 预览版界面 服务器界面,沉浸而不渲染 登录界面,色调变得活泼起来,用户图像由原先Windows2012的方块变成圆形 继续 进入系统,乍一看,以为是WIN10呢,注意右下角 如此做法,似乎在传递win10的最佳服务器系统就是他了 开始菜单,Al

Visual Studio 2017 调试 windows server 2016 Docker Container

网上很多文章都是在win10下,用Docker for windows工具进行Docker的安装部署的.用知道windows server 2016已经原生支持Docker了,其windows Container已经和Linux下的内核技术是一致的了,况且最重要的原因就是Docker容器的部署肯定是在Windows server 上面的.所以何不尝个鲜,直接用windows server 2016上装个visual studio 2017来进行开发呢. 一.Windows Server 2016

Enable Windows Photo Viewer in Windows 10 TH1/TH2/RS1/RS2 and Windows Server 2016

Windows Photo Viewer is a quick desktop application for image viewing. In previous OS like Windows 8.1, it can be set as default through PC Settings, But this won't work starting from Windows 10. The Windows Photo Viewer is not available in Default A

在docker中运行ASP.NET Core Web API应用程序(附AWS Windows Server 2016 widt Container实战案例)

环境准备 1.亚马逊EC2 Windows Server 2016 with Container 2.Visual Studio 2015 Enterprise(Profresianal要装Update 3) 3..NET Core 1.0.0 – VS 2015 Tooling Preview 2.请点击此处安装 4.Microsoft .NET Core SDK,可以到微软官方网站下载安装 实验步骤 一.Docker环境准备 亚马逊EC2 Windows Server 2016 with C

2-node hyperconverged cluster with Windows Server 2016 (转)

摘自:http://www.tech-coffee.net/2-node-hyperconverged-cluster-with-windows-server-2016/ Design overview In this part I'll talk about the implemented hardware and how are connected both nodes. Then I'll introduce the network design and the required soft