Azure Classroomnotes 09/Aug/2022

Azure VNet Peering

  • To establish private connectivity between two vnets of azure (irrespective of subscriptions and accounts)
  • It is widely used for the Networks across region for active/active and active/passive setup
    Preview
  • Create a peering connection between two vnets in different regions
    Preview
    Preview
    Preview
  • Now lets login into the vm with public ip address
    Preview
  • Now lets try to connect to the vm with private ip in other vnet. The connectity fails as there is no connection.
  • NOw lets establish peering connection between vnet 1 and vnet2
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
    Preview
  • Now try to login from vm in vnet1 to vm in vnet2 using private ip
    Preview
  • faq’s on vnet peering Refer Here

Endpoints in Azure

  • Certain services such as Azure SQL, Storage Accounts will not be part of our virtual networks, Ideally only way to access them is to use public ip.
  • Azure has a concept of private endpoint, where a private connectivity between some subnet in your vnet to the Azure service is created.
  • Refer Here for different services in Azure
  • A Network interface with valid ip with in your subnets cidr range will be allocated and then we can connect to the azure service privately using the private ip/dns name

Exercise: Install and Configure Azure CLI and Powershell

az login
az group list --output table
Connect-AzAccount
Get-AzResourceGroup
  • Refer Here for the video demonstration of the installation.

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner