Yandex Cloud network overview
A Yandex Cloud network is formed of two large parts:
-
Physical network: Hardware network within data centers, transport network between data centers and at the external network and internet connection points. A physical network is often referred to as underlay.
-
Virtual network: Network that works on top of the physical network infrastructure. Virtual Private Cloud (VPC) services provide users with:
- IP connectivity between cloud resources.
- Access to the internet for cloud resources.
A virtual network is often referred to as overlay. One or more virtual networks can be created in a single resource folder. Virtual networks are isolated from each other even if hosted in the same resource folder.
Below is an overview of the physical network and virtual network in Yandex Cloud. For more information about network components, see Extra materials.
Physical network in Yandex Cloud
The Yandex Cloud physical network can be presented as follows:
One of the main physical network components is the Yandex Cloud transport network.
The following objects connect to the transport network:
- Yandex Cloud data centers (availability zones).
- Points of presence (PoP). PoPs host the network equipment of the transport network. Connections to external networks and the internet (Internet Peering) are set up on individual PoPs. On individual PoPs, Yandex Cloud customers can set up IP connectivity between their own infrastructure's resources and cloud resources and public services in Yandex Cloud using Yandex Cloud Interconnect.
The Yandex Cloud transport network consists of two layers:
- Optical DWDM network layer. Dense wavelength-division multiplexing (DWDM
) equipment provides a connection to IP/MPLS packet network equipment. With the DWDM equipment, the transport network can easily increase its capacity (bandwidth) to dozens of terabits. - IP/MPLS packet network layer. It provides IPv4 connectivity between the availability zones and points of presence (underlay and overlay), as well as network transport required for all Yandex Cloud services to run.
The availability zones are linked through the Yandex Cloud transport network. PoPs enabling networking with other networks, including the internet, also connect to the transport network nodes. The transport network ensures fault-tolerant traffic exchange between the availability zones and PoPs.
Outbound traffic from the cloud resources in all the availability zones is distributed more or less evenly across all PoPs.
Likewise, inbound traffic to the cloud resources is distributed more or less evenly across all the Yandex Cloud availability zones.
All availability zones have the same weight: they provide identical network connectivity, i.e., the same data exchange rate and throughput. Traffic delays from an external resource to the cloud resources in different availability zones may differ slightly.
Virtual network in Yandex Cloud
The Yandex Cloud virtual network includes a set of Virtual Private Cloud network functions and allows users:
- Setting up networking between the cloud resources.
- Setting up networking between the cloud resources and the internet.
- Using additional network features for traffic processing (CloudGate).
The virtual network in Yandex Cloud is built on selected components of the Tungsten Fabric
The Yandex Cloud virtual network can be presented as follows:
The Yandex Cloud virtual network architecture has the following key components:
VRouter
VRouter is a network traffic listener. It runs on each Yandex Cloud physical server. It is used as the default gateway for all subnet objects (subnet's first IP address (x.x.x.1
)). It handles network traffic of all the VMs running on a server. Traffic is forwarded based on the flows table the records in which are programmed using another virtual network component called VRouter agent. To enable traffic forwarding through the underlay network, the MPLS over UDP
VRouter enables One-to-One NAT for VM public IP addresses.
VRouter also enables security groups for all the VMs on the physical server it runs on.
VRouter agent
The VRouter agent is an auxiliary component used for traffic processing. It works together with VRouter and programs the network flows table on the server. This table defines traffic forwarding rules for a specific IP prefix. The VRouter agent enables the following protocols and functions on the server for VMs:
- VM metadata service accessible only inside a VM at
169.254.169.254
. - DNS service to process DNS traffic on a cloud subnet's second IP address (
x.x.x.2
). - ICMP.
CloudGate
CloudGate is a component that includes groups of service VMs in each availability zone that ensure IP connectivity between the physical and virtual networks and provide a number of additional network functions:
Each network function within CloudGate runs on a separate group of service VMs inside Yandex Cloud.
Types of networking
Data centers are directly associated with the Yandex Cloud availability zones.
The above diagram shows the main types of networking between VMs in the Yandex Cloud virtual network:
Traffic between VMs in a single availability zone
Traffic from VM-A1
to VM-A2
in availability zone A will be routed as follows:
VM-A1
→VRouter on Server-A1
.Server-A1
→Server-A2
(within availability zone A).VRouter on Server-A2
→VM-A2
.
Traffic between VMs in different availability zones
Traffic from VM-A2
in availability zone A to VM-B1
in availability zone B will be routed as follows:
VM-A2
→VRouter on Server-A2
.Server-A2
→ Boundary network equipment of the transport network of availability zone A.- Boundary network equipment of the transport network of availability zone A → Boundary network equipment of the transport network of availability zone B.
- Availability zone B boundary network equipment →
Server-B1
. VRouter on Server-B1
→VM-B1
.
VM traffic to the internet via a NAT gateway
Traffic from VM-A1
to the internet via the NAT gateway will be routed as follows:
VM-A1
→VRouter on Server-A1
.Server-A1
→ CloudGateNAT-GW
function (via the availability zone A intranet).NAT-GW
→ Availability zone A boundary network equipment.- Availability zone A boundary network equipment → Network equipment at the point of presence where there is a connection to external networks and the internet.
Limitations
- Currently, network connectivity in the Yandex Cloud virtual network is only provided through IPv4. There is no support for IPv6.
- The Yandex Cloud virtual network runs on OSI Layer 3 (L3), which makes the use of the OSI Layer2 (L2) network technology very limited:
- Responses to ARP requests from VRouter (default gateway) will always be received from the same fixed MAC address.
- The only transport used for networking is
Unicast
. There is no support forMulticast
. - Network protocols that require a single virtual IP address (VIP) across VMs, such as HSRP, VRRP, or GLBP, are not supported.