I’m in a constant need of deploying complex Azure infrastructures as soon as possible. And because time is a very precious resource I’m looking for your advice on what approach I should learn. For example, I need to deploy 2 storage accounts, 10 VMs that consist of SQL Servers HA clusters, web servers and all of that into domain. Of course it’s a pain to do that manually more than once. So I’m looking for an easy to learn and fast to deploy way to do all that. What are my options and what is best practice for such situations?

closed as too broad by Greg Askew, Reaces, Ward, mdpc, Katherine Villyard Jul 20 '16 at 20:28

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


a combination of two things will help you here. you should use a combination of .Json templates and PowerShell desired state configuration(PowerShell DSC)

.json will allow you to deploy your VMs, Storage accounts, resource groups, Vnets etc. by defining each element in a .json file. you will build the .json files once and then use them to repeatedly role out the same environment over and over again. take a look at this blog for an initial look at .json


using .json file to deploy most of your config should give you predictable results every time.

PowerShell DSC can be used to configure your deployed resources and keep them configured. this blog can give you an overview of DSC


also check out channel Certification and Beyond on YouTube it has lots of videos on DSC.

hope this helps.


Not the answer you're looking for? Browse other questions tagged or ask your own question.