Azure Classroom Series – 07/Apr/2021

Azure Networking using CLI

  • Lets create the following virtual network in Azure CLI and Powershell Preview
  • Developer Setup
    • Install Azure CLI Tools extension in Visual Studio Code Preview
    • While create azure cli based script create a file with .azcli extension
  • So first lets try to create the resource group
    • Refer Here for the script to create vnet and subnets
  • Exercise create a nsg for the
    • ApplicationGatewaySubnet which allows all comunication from port 80,443
    • ManagementGatewaySubnet which allows all communication from port 22, 3389
    • WebTier subnet which allows all communication within vnet on port 80,443
    • BusinessTier subnet which allows all communication within vnet on port 8080
    • DataTier subnet which allows all communication within vnet on port 3306
  • Refer Here for the nsg samples used
  • Refer Here for the azure cli commands written as shell script with one function.

Leave a Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

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