Forum Discussion

roushan2208's avatar
roushan2208
Copper Contributor
Jan 11, 2020

Create VM image in Azure With Customizable Data disk

 

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?

  • 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

Resources