Open a ticket
Chat with us
BLOG Published on 2016/09/22 by Asitha De Silva in Tech-Tips

Microsoft Windows Container

With the increase of necessity of so much high end Servers for our deployments, a decade before we found a solution called VIRTULIZATION. Simply it allows admins to run a server on top of another server. With the high usage while having high productivity that concept has aroused so much and today, we all get the experience of Virtualization. While evolving the concept we had to face many challenges especially on hardware limitations, software cost and shortage of expert technical skills.


The architecture of virtualization is totally based on hardware sharing and never incorporated software sharing. In other words, we were unable to use HOST’s software inside a Virtual machine. Also we were unable to share OS files / kernel information with VM.


Traditional Virtualization


To overcome mentioned limitations, Microsoft tried to implement a virtualization concept that goes beyond hardware. The original concept initiated few years back, and Microsoft merged their concept with company named DOCKER and implemented Container Service. It is a features that comes with Windows Server 2016 and already implemented on Microsoft AZURE.

Azure Container Service aka ACS is introduced to create, configure and manage cluster of virtual machines in a configured environment using optimized performances. The container is the application piece which works as a virtual machine.


Containerization (aka OS Virtualization)


*** Container runs an operating system, has a file system and can be accessed over a network.

With new concept, the HOST can handle many containers same as virtual machines. But the containers can share resources, OS files with the HOST as the diagram explained. With the sharing capability of Container based virtualization the container can run as LIGHT weight machine which enable efficiency. It will reduce loading time and will increase operation time.


Important Facts


  1. Releasing with Windows server 2016
  2. First we need to create a “CONTAINER HOST” (Windows HOST or a LINUX HOST) before start virtualization
  3. We can create 2 types of Containers
    - Windows Server Containers (shares a kernel with the container host and all containers running on the host)
    - Hyper-V Containers (container in a highly optimized virtual machine, valid only on-premise)
  4. Windows Server Container Efficiency is greater than Hyper-V Container, because of OS level virtualization
  5. Windows Server Container Security is lesser than Hyper-V Container, because of resource sharing


  6. Image is a Snapshot of a Container which includes the current status of running virtualized environment.
  7. Sandbox is the storage use to write changes in each container and can be committed to Image if wanted
  8. Container OS Image provides the operating system environment for Container, but this is Immutable
  9. Container Repository to Keep local data including container specific installed software changes, file level changes and other OS level changes.
  10. Microservices architecture will be integrated with ACS,
    - Container can have many micro-services (can call as SUB-SYSTEMS)
    - Efficient and manageable resource allocation



  11. We can enable the feature using command of
    Install-WindowsFeature containers



WOW things


  1. “Docker image” can be created and it can be deployed to all environments (IDENTICAL environment of UAT, PRODUCTION)
  2. “Container Orchestration” is capable of handling,
    - Tracking / managing containers
    - Can CLUSTER containers for easy access
    - Scheduling of maintenance tasks
    - Constraint based deployments





  3. Docker template is available with visual studio 2015, we can create APPs directly to ACS
  4. Azure Container Service (ACS) is now available with on MARKETPLACE, we can create CONTAINERS on Azure
  5. REST API support to connect with third party tools
  6. Portability among different platforms and environments


Benefits

  1. With the use of ACS, the OS will be virtualized. Hence the amount of resources will be less and it will be a financial benefit
  2. All the containers can use single base image and it will make all the environments are identical
  3. Easy to upgrade sever kernel as one unit
  4. Direct integration of Visual Studio with Azure






Our thoughts

  1. The ACS is still in emerging stage and it is not fully equipped with all the features
  2. Windows Server 2016 is still in Technical Preview 5, and will be released on October 2016
  3. We may have to create n containers for n developers, but can use 1 host as shared kernel
  4. The Azure Container Service (ACS) is free, have to pay for the usage only
    https://azure.microsoft.com/en-us/pricing/details/container-service/













Conclusion (Our Perspective)

With the vision of Microsoft, everything will be on cloud and Windows Server 2016 is taking more steps towards it. With the concept of “Container Service” users can create their development environments using ACS. But for a production setup, users have to wait till the release of windows server 2016 which will be available in last quarter of 2016. Still can create a FREE-TRIAL on Azure subscription and check the possibilities of creating environments using Containers.


Hope this post is useful 


References: -

https://azure.microsoft.com/en-us/blog/containers-docker-windows-and-trends/

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/about_overview

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

https://www.docker.com/microsoft

https://mva.microsoft.com/en-us/training-courses/exploring-microservices-in-docker-and-microsoft-azure-11796

http://www.andrewconnell.com/blog/docker-containers-101-what-is-docker

http://www.theregister.co.uk/2015/08/31/hands_on_with_windows_server_2016_containers

http://weblogs.asp.net/scottgu/announcing-windows-server-2016-containers-preview

https://azure.microsoft.com/en-us/pricing/details/container-service/

http://www.forbes.com/sites/janakirammsv/2015/08/25/10-things-you-should-know-about-microsofts-container-strategy/

https://azure.microsoft.com/en-us/blog/azure-container-service-is-now-generally-available/








Asitha De Silva

Consultant Cloud Solutions

Expert in architecting and implementing cloud-based infrastructure solutions.

Newsletter

To keep up with the news and updates related to our products, make sure to subscribe to our newsletter!

Copyright © 2024 Terminalworks. All Rights Reserved