Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, October 18, 2018 3:20 AM
what is the difference between a managed image versus unmanaged image versus generalized image?
Is a managed image defined by having managed disks? while an unmanaged image is a image with unmanaged disks?
dsk
All replies (3)
Thursday, October 18, 2018 6:44 AM
Hi kimdav111,
A Managed Image resource can be created from a generalized virtual machine (VM) that is stored as either a managed disk or an unmanaged disk in a storage account. The image can then be used to create multiple VMs (as per /en-us/azure/virtual-machines/windows/capture-image-resource)
Her is another great article on how to use Managed VM Images https://blogs.technet.microsoft.com/keithmayer/2017/08/17/how-to-azure-managed-vm-images-using-premium-data-disks/
A generalized image is a capture of an already installed Operating System without the machine specific settings and without user’s settings. For example, the machine name, its SID, the administrator password and so on are not retained when capturing the image. You can think of Generalized VM Image as a model you can use to stamp out similar VMs, and the specialized VM Image as a snapshot of the disks used to deploy a VM to a known good point in time. Her is an instruction of how to create generalized images using Sysprep tool: /en-au/windows-hardware/manufacture/desktop/sysprep--system-preparation--overview
In regards of Unmanaged Image, I guess you are referring to any Custom VHD image uploaded and stored on an Azure Storage Account. Here is another great article describing Custom Images and how you can convert these into Managed Images: https://blogs.technet.microsoft.com/paulomarques/2017/08/13/new-azure-automation-solution-azure-image-management-automation/
Thursday, October 18, 2018 5:43 PM
When we take a VHD then upload to Blob. Next enter "images" in search cand choose Images>create image> enter blob address during creation of image. Please confirm the above steps to create a image from a VHD.
How do we create a image that has a Drive (temporary drive/ volatile drive)?
dsk
Friday, October 19, 2018 5:47 AM
Hi kimdav111,
First of all, you will have to make sure you VHD is prepared correctly following these steps /en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
Next, you will have to upload image following one of the methods described here: /en-us/azure/virtual-machines/windows/upload-generalized-managed#upload-the-vhd-to-your-storage-account Please note: if you are using AzCopy to upload your VHD to Azure, make sure you have set /BlobType:page before running your upload script. If the destination is a blob and this option is not specified, by default AzCopy creates a block blob.
For the last step, creation of the Managed Image, I would recommend you using PowerShell as per instruction below:
I hope this helps!