WHAT ARE ARM TEMPLATES?
ARM stands for Azure Resource Manager, which is Microsoft’s deployment and management service for Azure. You use the ARM management layer for creating, updating, and deleting Azure resources. ARM templates are a form of infrastructure as code, a concept where you define the infrastructure you need to be deployed. You no longer need to click around the portal creating virtual machines or writing scripts to deploy a storage account. Instead, the template defines the resources, and the Azure ARM management layer is responsible for creating the infrastructure.
USES OF ARM TEMPLATE
- Its a repeatable sets of code that helps in multiple repetitive deployment
- It controls order of operations for deployment removes the requirement of writing complicated deployment scripts to handle multiple deployment scenarios
- It reduces human errors enhances consistency
- It saves time by parallel deployment
- It can be used to deploy different resources in Azure eg Virtual Networks, Web Apps etc
- Its usable with other deployment scripts written in powershell or bash. These and many more are other uses and advantages of using ARM Templates.
DEPLOYMENT PROPER
- Log on to www.Portal.azure.com with your details
- Search for template and select deploy a custom template
- Click on the any of the options
- select build your own template in the editor if you have a customised .json file to upload as template OR
- select any of the common templates depending on the kind of resource you want to deploy. This option was selected for this lecture.
- Select edit template to edit the template to your custom taste OR
- Select edit parameter to edit some of the custom parameter in the chosen template. This option was selected for this lecture
- Customize some of the parameter to your choice and save
- Select/create a Resource Group, input the username and password. You will observe that other parameters as edited in the parameter file have taken effect. Then select *Review and Create *
- The system validates your settings and pops the image below, select create
- The deployment of the virtual machine is in progress with every accompany resources
- When the deployment is complete, select go to resource to access the configuration of the deployed resources.
Just like that, VM deployment with ARM Template completed.
I hope You Have Added Value.
Its Been Omoniyi, S> A. Precious (Presh)
Top comments (0)