Learning Windows Server Containers

Build, package, and deploy applications as easily manageable and shippable containers
Preview in Mapt

Learning Windows Server Containers

Srikanth Machiraju

1 customer reviews
Build, package, and deploy applications as easily manageable and shippable containers

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning Windows Server Containers Book Cover
Learning Windows Server Containers
$ 39.99
$ 28.00
Mastering Windows Server 2016 Book Cover
Mastering Windows Server 2016
$ 47.99
$ 33.60
Buy 2 for $35.00
Save $52.98
Add to Cart

Book Details

ISBN 139781785887932
Paperback404 pages

Book Description

Windows Server Containers are independent, isolated, manageable and portable application environments which are light weight and shippable. Decomposing your application into smaller manageable components or MicroServices helps in building scalable and distributed application environments. Windows Server Containers have a significant impact on application developers, development operations (DevOps) and infrastructure management teams. Applications can be built, shipped and deployed in a fast-paced manner on an easily manageable and updatable environment.

Learning Windows Server Containers teaches you to build simple to advanced production grade container based application using Asp.Net Core, Visual Studio, Azure, Docker and PowerShell technologies. The book teaches you to build and deploy simple web applications as Windows and Hyper-V containers on Windows 10 and Windows Server 2016 on Azure. You will learn to build on top of Windows Container Base OS Images, integrate with existing images from Docker Hub, create custom images and publish to Hub. You will also learn to work with storage containers built using Volumes and SQL Server as container, create and configure custom networks, integrate with Redis Cache containers, configure continuous integration and deployment pipelines using VSTS and Git Repository. Further you can also learn to manage resources for a container, setting up monitoring and diagnostics, deploy composite container environments using Docker Compose on Windows and manage container clusters using Docker Swarm. The last chapter of the book focuses on building applications using Microsoft’s new and thinnest server platform – Nano Servers.

Table of Contents

Chapter 1: Exploring Virtualization
Microsoft's history of virtualization
Understanding virtualization levels
Limitations of virtualization
Introduction to containerization
Introduction to Windows Server Containers
Hyper-V Containers
Windows Server Containers on Azure
Comparing containerization and VM virtualization
Cluster management
Tooling support
Who else is working with containers?
Summary
Chapter 2: Deploying First Container
Preparing the development environment
Windows Server Containers development
Running web application in Docker
Summary
Chapter 3: Working with Container Images
Listing images
Searching images
docker pull
docker run
docker build
Docker tags
docker commit
docker exec
docker push
Cleaning up containers or images
Summary
Chapter 4: Developing Container Applications
Setting up the development environment
Understanding .NET Core and ASP.NET Core
Developing an ASP.NET Core application
Developing ASP.NET 4.5 applications as Windows Server Containers
Windows Server Container networking
Summary
Chapter 5: Deploying Container Applications
Deploy Azure VMs using ARM
Configure VM for remote connectivity
Configuring remote Docker host
Deploying containers remotely
Configuring load balancer
Deploy Hyper-V Containers
Dangling images
Summary
Chapter 6: Storage Volumes
Storage volumes
Relational databases and SQL Server container
Music Store—store data using SQL Server container
Summary
Chapter 7: Redis Cache Containers
Creating Redis Cache container
Operating Redis Cache containers
Persistent Redis containers
Master-slave configuration
Integrating Redis containers with Music Store
Summary
Chapter 8: Container Network
Introduction to Windows networking
Configuring container networks
Networking modes
Multiple container networks
Container network routing
Multi-subnet deployment of Music Store
Managing Docker networks using Windows PowerShell for Docker
Summary
Chapter 9: Continuous Integration and Delivery
Introduction to Visual Studio Team Services 
Continuous integration
Continuous delivery
Testing CI/CD
Summary
Chapter 10: Manage Resource Allocation and REST API
Container resource allocation
Insights and telemetry
Optimizing Dockerfiles
Docker REST API
Docker .NET SDK
Summary
Chapter 11: Composite Containers and Clustering
Orchestrating multi-container deployment using docker-compose
A docker-compose file reference
Docker CLI options
Docker Swarm architecture
Setting up a swarm cluster
Docker Swarm features
Summary
Chapter 12: Nano Server
A brief introduction to Nano Server
Benefits of running workloads on Nano Server
Provisioning Nano Server on Azure
Provisioning Nano Server on Windows 10
Package management
Deploy .NET Core applications on Nano Server
Configuration management using PowerShell DSC
Nano containers
Summary

What You Will Learn

  • Build and deploy ASP.NET web applications as Windows Containers on Windows 10 (Desktop) and Azure using Visual Studio 2015, Docker, and PowerShell
  • Build and manage custom images using Windows Server Core base OS image and Docker CLI, publish images to Docker, tag images, author Docker files, and so on
  • Create enterprise-scale, production-grade container environments using Redis Cache containers and SQL Server containers with storage volumes, set up custom container networks, continuous integration, and deployment pipelines using VSTS, Azure, and Git
  • Deploy a composite container environment using Docker Compose on Windows
  • Learn to build applications using Microsoft’s thinnest server platform - Nano Servers. Build custom Nano Server images and Nano Containers using Windows PowerShell and configure using PowerShell Core, DSC

Authors

Table of Contents

Chapter 1: Exploring Virtualization
Microsoft's history of virtualization
Understanding virtualization levels
Limitations of virtualization
Introduction to containerization
Introduction to Windows Server Containers
Hyper-V Containers
Windows Server Containers on Azure
Comparing containerization and VM virtualization
Cluster management
Tooling support
Who else is working with containers?
Summary
Chapter 2: Deploying First Container
Preparing the development environment
Windows Server Containers development
Running web application in Docker
Summary
Chapter 3: Working with Container Images
Listing images
Searching images
docker pull
docker run
docker build
Docker tags
docker commit
docker exec
docker push
Cleaning up containers or images
Summary
Chapter 4: Developing Container Applications
Setting up the development environment
Understanding .NET Core and ASP.NET Core
Developing an ASP.NET Core application
Developing ASP.NET 4.5 applications as Windows Server Containers
Windows Server Container networking
Summary
Chapter 5: Deploying Container Applications
Deploy Azure VMs using ARM
Configure VM for remote connectivity
Configuring remote Docker host
Deploying containers remotely
Configuring load balancer
Deploy Hyper-V Containers
Dangling images
Summary
Chapter 6: Storage Volumes
Storage volumes
Relational databases and SQL Server container
Music Store—store data using SQL Server container
Summary
Chapter 7: Redis Cache Containers
Creating Redis Cache container
Operating Redis Cache containers
Persistent Redis containers
Master-slave configuration
Integrating Redis containers with Music Store
Summary
Chapter 8: Container Network
Introduction to Windows networking
Configuring container networks
Networking modes
Multiple container networks
Container network routing
Multi-subnet deployment of Music Store
Managing Docker networks using Windows PowerShell for Docker
Summary
Chapter 9: Continuous Integration and Delivery
Introduction to Visual Studio Team Services 
Continuous integration
Continuous delivery
Testing CI/CD
Summary
Chapter 10: Manage Resource Allocation and REST API
Container resource allocation
Insights and telemetry
Optimizing Dockerfiles
Docker REST API
Docker .NET SDK
Summary
Chapter 11: Composite Containers and Clustering
Orchestrating multi-container deployment using docker-compose
A docker-compose file reference
Docker CLI options
Docker Swarm architecture
Setting up a swarm cluster
Docker Swarm features
Summary
Chapter 12: Nano Server
A brief introduction to Nano Server
Benefits of running workloads on Nano Server
Provisioning Nano Server on Azure
Provisioning Nano Server on Windows 10
Package management
Deploy .NET Core applications on Nano Server
Configuration management using PowerShell DSC
Nano containers
Summary

Book Details

ISBN 139781785887932
Paperback404 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Windows Server 2016 Book Cover
Mastering Windows Server 2016
$ 47.99
$ 33.60
DevOps with Windows Server 2016 Book Cover
DevOps with Windows Server 2016
$ 47.99
$ 33.60
PowerShell: Automating Administrative Tasks Book Cover
PowerShell: Automating Administrative Tasks
$ 67.99
$ 47.60
Enterprise PowerShell Scripting Bootcamp Book Cover
Enterprise PowerShell Scripting Bootcamp
$ 35.99
$ 25.20
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition Book Cover
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition
$ 39.99
$ 28.00
Enterprise Application Architecture with .NET Core Book Cover
Enterprise Application Architecture with .NET Core
$ 39.99
$ 28.00