Jump to content
Sign in to follow this  
  • entries
    142
  • comments
    0
  • views
    79564

Azure VM Image

Sign in to follow this  
proximagr

419 views

Azure VM Image
Following one of my earlier posts, about Azure Managed Disks, lets see how easy it is to create an Azure VM Image from an Azure VM that uses Managed Disks.
The first step it to Sysprep/Generalize the source VM. Otherwise the VM that will be created will not start. Select Generalize and “Shutdown”.
img_595bf1eca1f3d.png
After that wait the VM to shut down and go to the Azure Porta, at the VM’s blade and click “Capture”.
img_595bf26118089.png
Now, the “Create Image” blade will open. Enter a name, select a Resource Group and choose if the source VM will be deleted or not. Then press create.
img_595bf2b81f6a3.png
As soon as the Image is created you can find it at the “Images” service.
img_595bf39e42068.png
Now lets create a VM from our Image
Click the image name from the Images Blade to open the desired image Blade and just press “Create VM”.
Of course at the image’s blade we can see if the image is Windows or Linux, if it has any Data Disks and the Location.
img_595bf410aa138.png
After clicking the “Create VM” the classic “Create virtual machine” wizard will start, just like any other Virtual Machine creation. You will notice the difference at the final step that shows the name of your image instead of the VM’s OS.
img_595bf48419e65.png
If you want to automate the process of creating an Azure VM from your images you can use Azure Template. You can find a quick start template at Azure’s GitHub repository.
Create a Virtual Machine from a User Image: https://github.com/Azure/azure-quickstart-templates/tree/master/101-vm-from-user-image

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...