Azure Networking contd..
- Lets try to create the following networks in one resource group
- ntier-primary
- region: east us
- subnets: web, app, db
- cidr range: 192.168.0.0/16
- ntier-secondary:
- region: central us
- subnets: web, app, db
- cidr range: 10.10.0.0/16
- Create a vm in web subnet of ntier-primary and one more vm in web subnet of ntier-secondary

- ntier-primary
- In the above network the vm’s in two different vnets can only communicate suing public ip.
- If one of the vm doesnot have public ip then there is no way of communication.
- In azure we can create a peering connection between two virtual networks that enables the private communication between vnets
- Peering connection can be created b/w any two azure vnets where address spaces donot conflict
- Lets create a peering connection

- Now ssh connectivity b/w two virtual networks in two different regions is possible as we are able to create a peering connection.
