SOLVED

Different method to create azure virtual machine

%3CLINGO-SUB%20id%3D%22lingo-sub-107237%22%20slang%3D%22en-US%22%3EDifferent%20method%20to%20create%20azure%20virtual%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107237%22%20slang%3D%22en-US%22%3E%3CP%3Eam%20new%20to%20this%20forum.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewant%20to%20clarify%26nbsp%3Bwhether%20my%20understanding%20is%20correct%20on%20creating%20azure%20VM%20through%20diff%20method%3C%2FP%3E%3CP%3E1)%20create%20a%20VM%20from%20azure%20portal%3C%2FP%3E%3CP%3E2)%20create%20a%20VM%20through%20Powershell%20(without%20using%20visual%20studio%20or%20JSON)%3C%2FP%3E%3CP%3E3)%20create%20a%20json%20template%20and%20deploy%20json%20template%20through%20power%20shell%3C%2FP%3E%3CP%3E4)%20create%20and%20deploy%20virtual%20machine%20through%20visual%20studio%20console.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20this%20correct%20%3F%20if%20yes%2C%20what%20is%20the%20recommanded%20method%20to%20create%20a%20azure%20VM%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-107237%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107369%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20method%20to%20create%20azure%20virtual%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107369%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20you%20can%20read%20more%20details%20here%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fps-template%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machines%2Fwindows%2Fps-template%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fresource-group-template-deploy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Fresource-group-template-deploy%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20there%20many%20great%20%22quick%20start%22%20templates%20on%20Github%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107336%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20method%20to%20create%20azure%20virtual%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107336%22%20slang%3D%22en-US%22%3E%3CP%3Ethank%20you.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20question%20on%20using%20VB.%20if%20i%20have%20jason%20template%20ready%20with%20me%20for%20VM%20deployment%20and%20parameter%20then%20i%20do%20not%20need%20VB%20to%20be%20installed%2C%20right%20%3F%20i%20can%20simply%20edit%20json%20file%20and%20use%20it%20in%20to%20powershell%20command.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20my%20unerstanding%20is%20correct%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107269%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20method%20to%20create%20azure%20virtual%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107269%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes.%20My%20preferred%20method%20is%20Powershell.%20I%20have%20my%20own%20scripts%20with%20variables%20i%20can%20change%20when%20needed.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-925741%22%20slang%3D%22en-US%22%3ERe%3A%20Different%20method%20to%20create%20azure%20virtual%20machine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-925741%22%20slang%3D%22en-US%22%3EWhat%20about%20Azure%20cli%20and%20shell%20on%20azure%3C%2FLINGO-BODY%3E
Highlighted
Contributor

am new to this forum.

 

want to clarify whether my understanding is correct on creating azure VM through diff method

1) create a VM from azure portal

2) create a VM through Powershell (without using visual studio or JSON)

3) create a json template and deploy json template through power shell

4) create and deploy virtual machine through visual studio console.

 

is this correct ? if yes, what is the recommanded method to create a azure VM ?

 

 

 

 

4 Replies
Highlighted

 

Yes. My preferred method is Powershell. I have my own scripts with variables i can change when needed. 

Highlighted

thank you.

 

One question on using VB. if i have jason template ready with me for VM deployment and parameter then i do not need VB to be installed, right ? i can simply edit json file and use it in to powershell command.

 

is my unerstanding is correct ?

 

 

Highlighted
Best Response confirmed by Suhag Desai (Contributor)
Highlighted
What about Azure cli and shell on azure