Network Flashcards
What are the 3 different types of networks that makeup Google’s network infrastructure?
- Data Center Network
- Private WAN
- Public WAN
The Data Center Network connects all machines in that network together. The Private WAN connects all Data Centers together. The Public WAN connects the user to the Private WAN. It is important to recognize that Google’s edge servers terminate TCP/SSL connections before entering the Private WAN toeliminate the 2 network round trips needed to establish an HTTPS connection
What is a VPC Network?
A VPC Network is a private, virtual, global WAN composed of private, virtual, regional subnetworks.
Its purpose is to provide a way to connect your internal project resources. An example of an internal resource is a Compute Engine instance. Keep in mind, there are resources that do not need to use your VPC Network, an example is a Cloud Run instance.
Is a default VPC Network created whenever you create a project?
Yes. This default VPC Network has “auto” regional subnets enabled, essentially creating a subnet in each region with predefined IP address ranges. In addition, the default VPC Network has 4 firewall rules (not associated with the 2 implicit firewall rules) that streamlines the out of the box experience. These firewall rules are fully configurable.
Does Google recommend using a default VPC Network in production?
No. Google recommends using a custom VPC Network in production.
Does a VPC Network have its own firewall or must you provision one yourself?
A VPC Network has its own firewall. In fact, every VPC Network has 2 implicit firewall rules that are not visible: 1) Deny all ingress. 2) Allow all egress. However, these 2 implicit firewall rules are given the lowest priority possible (65535), and can be overridden by defining firewall rules with a higher priority (lower number than 65535).
What is the difference between VPC Network Peering and Shared VPC?
VPC Network Peering is used to connect 2 different VPC Networks together, whether in the same or different projects. Shared VPC is used to allow a host project to share its VPC Network with other projects.
Could 2 different projects each having their own default VPC Network connect to each other by using VPC Network Peering?
No. This is because each default VPC Network creates regional subnets with the same predefined IP address ranges, causing a conflict when attempting to connect to each other’s networks.
What is Cloud Interconnect?
Cloud Interconnect is a service used to create a physical connection between a VPC Network to other external networks, such as on-prem or other cloud providers.
According to Google, 98% of internet traffic travels through fiber optic cables. In fact, Google has built subsea cables that span across continents.
What is latency?
Latency is the amount of time it takes for a data packet to travel across a network
What is the purpose of a load balancer?
To distribute traffic to multiple application instances
What is the main purpose of DNS?
To translate hostnames into IP addresses
What is Cloud Load Balancing and what are its 2 main features?
Cloud Load Balancing is a managed service that manages incoming traffic for your applications.
- Supports either external or internal load balancing
- Supports global or single region load balancing
What is Cloud DNS?
Cloud DNS is a service that publishes your domain names so that they area available to users (internal or external)
What are transient network errors?
Transient network errors are temporary errors that normally resolve themselves. For example, a temporary loss of network connectivity.