Azure Classroom Series – 26/Sept/2020

ARM Templates (Contd..)

  • Architecture We are trying to create

  • The current changes are over here

  • Lets Deploy this template using Azure Portal

    • Create a new resource group
    • Now Click on add resource and select template deployment
  • 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
  • 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

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%