Create VM image in Azure With Customizable Data disk

Copper Contributor

 

I have around 8-9 images, with various data disk sizes.

We've this much images because each image represents specific size, like below:

 

  • canc128gbimg
  • canc128gbx3img
  • canc1TBimg
  • canc256gbimg

 

What can I do, so that I can use single image and create multiple data disk size VM?

1 Reply

Hi @roushan2208,

 

ARM Templates or maybe also Terraform InfrastructureasCode would be good stuff to proceed and achieve your goal.

 

Both can use one Image and deploy them in various ways and with different parameters.

Maybe have a look here if this is something your looking for: https://www.terraform.io/

 

Kind regards and good Luck, Peter