Azure Resource Manager allows you to provision your applications using a declarative template called ARM Template. In a single template, you can deploy multiple services along with their dependencies. You can use the same template to repeatedly deploy your application during every stage of the application lifecycle.
The template consists of JSON and expressions that you can use to construct values for your deployment. The Json Templates can be deployed using Powershell, CLI, .Net, Ruby.
The Templates shall be either created end to end by us or we can create a Model template from the Azure Portal. In this article I will explain how create a Template using Azure Portal and how to deploy the template to procure Azure VM.
As shared in Previous Posts try to create a VM using Azure Portal. At the last step you would notice deployment template and Parameters.

Click on the template link and you could see the Json template and Parameter file that has to be passed to the template. It has complete set of files that can be used for deployment. We can add this template to the Library and we can use this library later when needed.

When you check on the Template resource in the Azure Portal you could see the already saved templates. If you want to use these templates you can edit the parameter file for Json template and use them as per the requirement.
Coming back to the Templates page you could see CLI, Powershell, .Net and Ruby files. The Json files are can be deployed using either using Powershell, Ruby, CLI or .Net Files. Scripts are readily provided by Azure.
Now we are going to Deploy ARM template Using Windows Powershell(Make Sure your Power shell is upgraded to support Azure Refer). Download the template to your local Machine.
Open the Powershell file in IDE.

Make Sure the Json Template and Parameter file path are updated in Powershell file.

On Executing the Powershell Script it will take you through the deployment.
Once the Deployment is completed the Summary of the deployment will be listed as below.
Yes its Cooked! VM is ready to Use now.
