Azure Classroom notes 22/Oct/2023

Azure VNet Contd

  • Lets create a virtual network in a region
    • name: ntier
    • cidr range (address space): 192.168.0.0/22
  • We will be having 4 subnets
    • web: 192.168.0.0/24
    • app: 192.168.1.0/24
    • db: 192.168.2.0/24
    • mgmt: 192.168.3.0/24
  • Portal: Refer Here
    Preview
    Preview
  • When we try to create a vm in one of the subnets a nic is created. There will generally be Network Security Group attached to nic.
    Preview
  • If we need to access publically, then the nic will be associated with public ip address
    Preview
  • Now lets try to create a free azure vm with focus on networking
    Preview
    Preview
  • Now lets focus on networking blade of Azure VM
    Preview
  • Now we were able to ssh into vm
ssh <username>@<publicip>
  • We have checked the vm gets internet
  • Now lets add one more vm into app subnet but lets not give public ip.
    Preview
    Preview
  • In Azure vnets by default all internal communication is allowed by nsg
  • In Azure when we create subnet the size of subnet is 2^n-5 Refer Here
  • Refer Here for Azure Vnet faq

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner