Azure Virtual Network
- Your isolated network in Azure.
- The region can have multipleVNets but each VNetbelongs to the same Region
- Within a VNet, network traffic is isolated (not visible) from network traffic in all other Azure VNet.
- You maintain complete control over all traffic entering and leaving a VNet.
- IP Address is an address of resource that ensures the traffic gets to the right server on the internet
- Every resource gets its unique IP Address on that Vnet within the address space.
- Scaling – You can add more VNets or more addresses on existing VNet.
- Each kind of resource has distinct access requirements.
- Elastic Load Balancers that are publicly available are accessible through the internet (public resources)
- Databases and App Server instances should be inaccessible from the internet.
- Only apps running inside your VNet should be able to access them (private resources).
- How do you partition public and private resources inside a VNet?
Need for Azure Virtual Network
- In a corporate on-premises data center network:
- Nobody on the internet sees the data exchange between the application and the database.
- Nobody on the internet can directly connect to yourdatabase
- You must first establish a connection to your corporate network beforegaining access to your apps or databases.
- Corporate networks offer a secure internal network that safeguards yourresources, data, and communications from unauthorized access.
- How can you build your private cloud network?
- Azure Virtual Network
VNet Subnets
- Organize and group resources on subnets
- Separate public and private resources into distinct subnets
- Resources in a public subnet CAN be access from the internet
- Resources in a private subnet CANNOT be access from the internet, but resources in a public subnet can connect With resources in aprivate subnet.
- We can use network security groups to secure individual subnets
VNet Peering
- Connect VNets from the same or different regions (Global VNet peering)
- Allows for secure communication between VNets that are linked.
- Low Latency: Resources between differentVNets are connected using high bandwidth connections.
- Assemble them as though they were members of the same network
- Must not have CIDRs that overlap (IP address range)