Working with Custom Images

Lab Details

  1. In this lab we will walk through the steps to create custom images for virtual machines.

  2. Duration: 45 minutes

Introduction

What is a Custom Image?

  • An image is a copy of either a full VM (including any attached data disks) or just the OS disk, depending on how it is created.

  • An image can be created from a VM and then used to create multiple VMs.

  • When you create a VM from the image, a copy of the VHDs in the image are used to create the disks for the new VM. The image remains in storage and can be used over and over again to create new VMs.

  • If you have a large number of images that you need to maintain, and would like to make them available throughout your company, you can use an Azure Compute Gallery as a repository.

  • While enterprises can choose to use a prepared Azure Marketplace image, creating a custom VM image gives cloud administrators more control.When an admin plans to deploy several identical machines that have a lot of manual configuration, a custom image can reduce the potential risk of errors.

Task Details

  1. Launching Lab Environment

  2. Create a virtual machine

  3. Install IIS

  4. Create a Custom Image

  5. Create a VM using Custom Image