Create VM image in Azure With Customizable Data disk

%3CLINGO-SUB%20id%3D%22lingo-sub-1103123%22%20slang%3D%22en-US%22%3ECreate%20VM%20image%20in%20Azure%20With%20Customizable%20Data%20disk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1103123%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20around%208-9%20images%2C%20with%20various%20data%20disk%20sizes.%3C%2FP%3E%3CP%3EWe've%20this%20much%20images%20because%20each%20image%20represents%20specific%20size%2C%20like%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3Ecanc128gbimg%3C%2FLI%3E%3CLI%3Ecanc128gbx3img%3C%2FLI%3E%3CLI%3Ecanc1TBimg%3C%2FLI%3E%3CLI%3Ecanc256gbimg%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20can%20I%20do%2C%20so%20that%20I%20can%20use%20single%20image%20and%20create%20multiple%20data%20disk%20size%20VM%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1103123%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20%2B%20Storage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108873%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20VM%20image%20in%20Azure%20With%20Customizable%20Data%20disk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108873%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F514685%22%20target%3D%22_blank%22%3E%40roushan2208%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EARM%20Templates%20or%20maybe%20also%20Terraform%20InfrastructureasCode%20would%20be%20good%20stuff%20to%20proceed%20and%20achieve%20your%20goal.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBoth%20can%20use%20one%20Image%20and%20deploy%20them%20in%20various%20ways%20and%20with%20different%20parameters.%3C%2FP%3E%3CP%3EMaybe%20have%20a%20look%20here%20if%20this%20is%20something%20your%20looking%20for%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.terraform.io%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.terraform.io%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20regards%20and%20good%20Luck%2C%20Peter%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

 

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