Giorgio Desideri
Giorgio Desideri

Reputation: 179

Azure - VM Generalize

I write this question because I found only partial informations about my scenario.

In Azure to clone a VM, I need to deallocate and generalize, after I can create a lot of copy as many I would. The details that I didn't find are:

Thanks

Upvotes: 2

Views: 1720

Answers (2)

Shui shengbao
Shui shengbao

Reputation: 19225

the VM generalized "cost" me in term of CORE ? If I run azure vm list-usage the number of cores used decreased or not ?

Yes, it costs you in the term of CORE. However, you don't need pay for the VM. You only need pay for the OS and date VHDs storage account. When you use vm list-usage, you will find the core CurrentValue does not change. When you delete the VM, the cores will be released.

I will find again this configurations in new cloned VMs

Yes, you could. Sysprep removes all your personal account information, among other things, and prepares the machine to be used as an image. More information please refer to this link. For a Linux VM, please refer to this link.

what are the parameters that I can change after generalization, ex. Availability Set, Network Security Group, Nic associated, etc. ?

You could use the generalized VHD image to create any VMs. All of them you could associate to the new VM. More information about how to create a VM from a generalized VHD image please refer to this link.

Upvotes: 2

4c74356b41
4c74356b41

Reputation: 72191

  1. VM's are billed according to their capacity, not on the basis of whether they are generalized or not, a vm and a vm created from generalized vm would cost the same (granted they are the same "size").
  2. this question has nothing to do with azure, it's just a syprep. Azure adds nothing to this process.
  3. Anything you would expect when creating a new VM.

you need to understand the basic concepts behind virtualization to understand what is going on there.

https://en.wikipedia.org/wiki/Virtualization

Upvotes: 0

Related Questions