ARM Templates (Contd..)
-
Architecture We are trying to create

-
Lets Deploy this template using Azure Portal
- Create a new resource group

- Now Click on add resource and select template deployment

- Create a new resource group
-
note: Correct template is over here

-
The template written so far can be shared with others, to create a vnet with 3 subnets
- Improvements:
- This template creates vnet with fixed names in East Us location with fixed ip adresses
- Improvements:
-
Lets work on these improvements and ask the user for inputs. For doing this in ARM Templates we have Parameters Refer Here
-
Lets implement parameters in our template as mentioned over here

-
Lets check the resources created in resource group

-
Lets understand restrictions & Best practices of arm template Refer Here
-
Lets Try to group the parameters Refer Here
-
Lets try to create all the six subnets at one shot
-
Observations:
- Rather than writing each subnet, if we can loop (for/while)
- Passing cidr ranges of six subnets is pain why don’t we calculate?
-
Lets try to implement these changes in next session
-
Refer Here for template functions
