Resource Deployment using ARM Template — Azure
We can automate the resource deployment in azure using ARM Template so that we can create the resource without going to resource creation wizard. This is also an Infrastructure as Code.
The main benefits with this deployment process is that we can reuse this template to deploy the resource in other environment and avoid manually creating the resource.
To create the resource using ARM Template, first we will go to Template deployment screen. Here we can either build our own custom template in the editor or can chose with pre defined template.
Let’s see how we can build our own custom template using editor.
Click on “Build your own template in the editor” and then click on “Add Resource”. Select the type of resource which you want to create using your own custom template. In this example, I have selected “Storage Account” and then click on “OK”.
You will notice the code for the parameter, the resource and the variables for the resource deployment will be updated in the editor and then click on save.
Once you save the code in the editor you will need to provide the subscription id etc., refer below image and then click on “Review and Create” and then create.
You can see your newly deployed resource in your dashboard.
Please follow me in LinkedIn :