Azure Classroom Series – ARM Templating – 25/Sep/2019

Azure Account Overview

Preview

Resource Provider

Refer here

Resource Manager Template

  • Expresssing your architecture/need in azure in terms of json file
  • We would express in json file on what has to be done over how it has to be done.
  • This way is also referred as IAC(Infrastructure as a code)

Lab Setup

  • Install Visual Studio Code
  • Add Visual Studio Code Extenison Azure Resource Manager Tools

Lab Steps

  • Create a new directory (helloarm)
  • In the directory create a new file called main.json
  • Inside the main.json create basic json file structure
{

}
  • Refer here for template format
  • Find all the required Fields and fill them with some values
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion" : "",
    "resources": []
}
  • contentVersion is versioning for our reference
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion" : "1.0.0.0",
    "resources": []
}
  • In this page find the resource which you want to create

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner