Book Image

Getting Started with Nano Server

By : Charbel Nemnom
Book Image

Getting Started with Nano Server

By: Charbel Nemnom

Overview of this book

Nano Server allows developers and operations teams to work closely together and use containers that package applications so that the entire platform works as one. The aim of Nano Server is to help applications run the way they are intended to. It can be used to run and deploy infrastructures (acting as a compute host, storage host, container, or VM guest operating system) without consuming significant resources. Although Nano Server isn't intended to replace Server 2016 or 2012 R2, it will be an attractive choice for developers and IT teams. Want to improve your ability to deploy a new VM and install and deploy container apps within minutes? You have come to the right place! The objective of this book is to get you started with Nano Server successfully. The journey is quite exciting, since we are introducing you to a cutting-edge technology that will revolutionize today's datacenters. We'll cover everything from the basic to advanced topics. You'll discover a lot of added value from using Nano Server, such as hundreds of VM types on a single host through a small footprint, which could be a big plus for you and your company. After reading this book, you will have the necessary skills to start your journey effectively using Nano Server.
Table of Contents (17 chapters)
Title Page
About the Author
About the Reviewers
Customer Feedback

Deploying Nano Server in a VM

Before we deploy Nano Server in a virtual machine, we need to create a Nano Server image. You can do this using PowerShell or using Nano Server image builder. In this chapter, we will use Windows PowerShell. For a more thorough explanation of deployment and configuration options for Nano Server, see Chapter 2, Getting Started with Nano Server.

First, you need to have a Windows Server 2016 or Windows 10 machine. Upon doing so, you'll have to create a folder on the machine that you can use to store the items to be used for the Nano Server creation process. For instance, you might create a folder named C:\NanoServer. After creating this folder, there are four resources you must have saved to that folder. These resources are:

  • NanoServerImageGeneratorPowerShell module
  • Convert-WindowsImage.ps1 script
  • NanoServer.wim file
  • Windows Server 2016 ISO file

In fact, all these resources are included in Windows Server 2016 ISO media in the NanoServer folder, you can mount the ISO...