After you’ve created your resource group and virtual machine, you can follow the steps in this article to take a snapshot of myVM and use the snapshot to create another virtual machine, called myVM2. Once you have your resource group provisioned, deploy a Windows 2016 virtual machine, called ‘myVM”, into the resource group. If you want to follow along with these exercises, create a resource group in your own Azure tenant and call it “VMLab”. We’ll walk through the preparation for taking the snapshot, retrieving the configuration of the virtual machine being snapped, creating the snapshot configuration, taking the snapshot, converting the snapshot to a managed disk, and then deploying a new virtual machine using the newly-created managed disk.ĮDITOR'S NOTE: This tutorial was excerpted from the complete online course, " Creating and Managing Azure Virtual Machines with PowerShell", which can be found on the Udemy training platform. The following exercises show you how to take a snapshot (MySnapshot) of the OS disk of an existing virtual machine (MyVM), how to convert the snapshot to a managed disk (MyOSDisk), and how to deploy another virtual machine (MyVM2) using the managed disk created from the snapshot. What’s that, you say? You don’t know how? Well, in that case, read on – and I’ll walk you through the process right here. The entire process of taking a snapshot and deploying a new VM from that snapshot takes less than 15 minutes to complete – and it can all be done right from PowerShell. Using a snapshot is a good way to duplicate an Azure virtual machine relatively quickly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |