Connect two VNETS in Azure

·

1 min read

There are ways to connect two Virtual Networks in Azure:

  1. VPN Gateway

  2. VNET Peering, with a click of a button.

    1. Regional Peering

    2. Global Peering

VNET space must be non overlapping

VNET peering is completely private.

VPC peering has no cost for all availability zones!

VPC peering allows you to use the low latency of Azure networks!

Demo:

  • Simple listener and receiver.

We have achieved latency of 142ms!! Idc if its fast or slow, but peering is very fast!

NUTTCP = for 10 usd a month VM we can get a throughput of 156MBS per second