Azure Classroomnotes 25/Jun/2022

ARM Templates contd

  • ARM Templates can be created to be deployed at
    • subscription level
    • Resource Group level
    • Management Group level Refer Here
  • Now lets have a look at the template which we created
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "resources": [
        {
            "type": "Microsoft.Network/virtualNetworks",
            "name": "ntier",
            "apiVersion": "2021-08-01",
            "location": "centralus",
            "properties": {
                "addressSpace": {
                    "addressPrefixes": ["10.10.0.0/16"]
                }

            }
        }
    ]

}

Lets deploy this template from Azure CLI

  • Create a resource group
    Preview

Add subnets to Network in the ARM

az network vnet list --resource-group 'armfromcli'
az deployment group create --name 'ntierdeploy1' --resource-group 'armfromcli' --template-file 'C:\khajaclassroom\azure\azureadmin\June22\Operations\iac\arm\ntier\ntier.json'

Network Creation in a different way

Create a sql server

  • Refer Here for documentation
  • Refer Here for the changes
  • Exercise: Try adding a linux vm in web and app subnet.

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

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

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube