Learn about the core and hybrid connectivity features for connecting your workloads in Google Cloud, as well as how to scale those connections.
Core networking
Core networking includes connections that function internally for a private network, as well as products and services that expose your workloads externally.
Virtual Private Cloud
The Virtual Private Cloud (VPC) network acts as the foundational networking layer for your workloads. Each VPC network contains internal resources in an isolated environment so they are private to only you. You can think of VPC networks as virtual versions of your on-premises physical network—you create subnets, deploy firewalls, and configure routers. Your VPC network provides you with the following capabilities:
Flexibility with default isolation: By default, resources that are deployed in one VPC network can't communicate with resources in another VPC network and traffic within each VPC network is encrypted. This isolation forms a default access boundary that restricts each VPC network to its own private IP address ranges (defined by subnets). You have the flexibility to deploy subnets across any number of Google Cloud regions within each of your global VPC networks. You can then use private access options to connect to external resources outside your subnets.
Alternatively, you can choose to establish separate VPC networks for specific purposes and only link specific resources when you need to. For example, you might need to modify your network to do the following:
- Maintain security isolation.
- Meet scaling needs.
- Apply policy requirements.
Workload environment connectivity: VPC networks are the hosting environment for networking of various services, including but not limited to Compute Engine virtual machines (VMs), GKE clusters, firewalls, and internal load balancers. For example, your Compute Engine VMs and Google Kubernetes Engine (GKE) clusters can use global networking capability through your VPC network. Workloads in the same VPC network are connected, while the default network isolation prevents access from all workloads hosted in other VPC networks.
Private and public access: VMs and clusters can access the internet or other cloud service providers using external IP addresses. You enhance security by omitting external IP addresses from the VMs, and then providing private access from on-premises by using VPN. You can make the VMs and clusters reachable from the internet by positioning them behind load balancers. You can configure the following types of connectivity:
Connectivity within a VPC network: Each global VPC network contains regional subnets. By default, all workloads in a network have connectivity to every other workload in the network, even ones in different regions, though you can restrict access using firewall rules.
Connectivity between VPC networks and between VPC networks and hosted services: A VPC network is isolated from other VPC networks by default. You can enable connectivity between workloads in other VPC networks by using Network Connectivity Center or Private Service Connect. You can enable connectivity to services hosted by Google or by other service providers using Private Google Access, Private Service Connect, or private services access.
Connectivity to on-premises or other cloud networks: VPC networks are isolated from other networks by default, but you can connect them using Cloud VPN, Cloud Interconnect, or Router appliances.
Connectivity to the internet: To give outbound internet access to your VMs, you can set up Secure Web Proxy. To give inbound internet access, such as when you want to host a service for your customers, you can put the VMs behind a load balancer.
For more information, see the Virtual Private Cloud documentation.
Network Connectivity Center
Network Connectivity Center (NCC) provides transitive routing among your VPC networks and between your VPC networks, on-premises networks, or other cloud service providers using a mesh or hub-and-spoke (star) topology. This solution simplifies architecture and management of your network by eliminating the necessity for individual VPN connections throughout your network.
NCC Gateway lets you steer traffic to third-party security platforms for advanced inspection and policy enforcement using the hybrid inspection topology.
To connect to your on-premises or other cloud service providers, you use Cloud VPN, Cloud Interconnect, or Router appliances. In the hub-and-spoke topology, traffic between spoke VPC networks has to travel through the hub VPC networks. By using hub-and-spoke connectivity, you can do the following:
- Connect multiple VPC networks to one another. The VPC networks can be located across different projects in the same Google Cloud organization or different organizations.
- Connect multiple VPC networks to on-premise or other cloud provider networks. These external networks can be reachable through any type of hybrid spoke. This approach is known as site-to-cloud connectivity.
- Use Router appliance VMs to manage connectivity between your VPC networks.
- Use a Google Cloud VPC network as an enterprise wide area network (WAN) to connect networks that are outside of Google Cloud. You can establish connectivity between your external sites by using any type of hybrid spoke. This approach is known as site-to-site connectivity.
For more information, see Deploy a hub-and-spoke network topology.
Cloud NAT
Cloud NAT provides Source Network Address Translation (SNAT) capabilities so that VMs without direct internet access can download updates or query services. It also provides high-performance, scalable outbound connectivity for VMs that don't have external IP addresses. VMs can download updates or reach external servers, but external servers can't initiate connections to the VMs. Cloud NAT includes the following NAT types:
Hybrid NAT provides network address translation for connections between your VPC network and your connected on-premises network or cloud service provider.
Private NAT works with Network Connectivity Center to perform network address translation between Google Cloud VPC networks.
Hybrid, cross-cloud, and cross-site networking
Connect your on-premises or other-cloud networks to your VPC networks using hybrid and multicloud connections.
HA VPN
Create IPsec connections through Cloud VPN to your other networks by using a high-availability (HA) configuration. To learn more, see the Cloud VPN documentation.
Cloud Interconnect
Create high-speed, low-latency connections between your on-premises and VPC networks either directly or through a third-party provider. You can also establish high-availability connections between your Google Cloud workloads and workloads in other clouds or sites. To learn more, see the Cloud Interconnect documentation.
Cloud Router
Manage routing and use the Border Gateway Protocol (BGP) to dynamically exchange routes between your VPC and external networks. To learn more, see the Cloud Router documentation.
Router appliance
Router appliance is a NCC feature that lets you use a third-party network virtual appliance in Google Cloud to exchange routes with Cloud Router using Border Gateway Protocol (BGP). To learn more, see the Router appliance overview.
Scaling, load balancing, and content delivery
Optimize resource delivery, scale applications on demand, and securely manage external IP resolutions.
Cloud Load Balancing
Cloud Load Balancing is Google Cloud's suite of load balancers that provide external and internal load balancing for workloads. These services support traffic for resources hosted in Google Cloud, on-premises environments, or other cloud service providers. Google's global load balancing system lets you distribute millions of requests per second among backends in multiple regions with our Google Front End fleet in over 80 distinct locations worldwide.
Application Load Balancers are proxy-based Layer 7 load balancers that let you run and scale your services behind an anycast IP address. The Application Load Balancer distributes HTTP and HTTPS traffic to backends hosted on a variety of Google Cloud platforms—such as Compute Engine and GKE—as well as external backends outside Google Cloud.
Proxy Network Load Balancers are Layer 4 reverse proxy load balancers that distribute TCP (and SSL) traffic to backends in your VPC network or in other cloud environments.
Passthrough Network Load Balancers are Layer 4 regional, passthrough load balancers. To forward client traffic to your backends without modification, or to handle a variety of IP protocols such as TCP, UDP, ESP, GRE, ICMP, and ICMPv6, choose a passthrough Network Load Balancer.
Cloud Armor provides WAF capabilities for all external and internal Application Load Balancers. For proxy and passthrough Network Load Balancers, it provides advanced DDoS protection, IP-based access control, and rate limiting.
CDN
Because Google has a worldwide network of content delivery network (CDN) locations, you can use Google's CDN to cache content closer to your end users and improve their experience. Google Cloud offers the following CDN options:
Cloud CDN works with Application Load Balancers to cache content on Google's global edge. You can host source content in Google Cloud or elsewhere.
Media CDN uses YouTube's infrastructure to bring video streams (VoD and live) and large file downloads closer to users for fast and reliable delivery.
Cloud DNS
Cloud DNS provides DNS hosting and resolution using Google's infrastructure without third-party software or the need to use your own compute resources. Cloud DNS provides the following features:
Public DNS resolution: You can host your domains on Google Cloud, making Google your public resolver. Cloud DNS uses our global network of anycast name servers to serve your DNS zones from redundant locations around the world, providing high availability and lower latency for your users.
Private DNS zones: Private DNS zones provide an easy-to-manage internal DNS solution for your private Google Cloud networks, eliminating the need to provision and manage additional software and resources. And because DNS queries for private zones are restricted to a private network, they help protect your internal network information from unauthorized access.
DNS forwarding: For hybrid-cloud architectures, DNS forwarding helps bridge your on-premises and Google Cloud DNS environments. You can use your existing DNS servers as authoritative name servers and make sure your queries are performed efficiently with intelligent caching.
Internal DNS: Provides DNS resolution services for VMs in VPC networks.
API and service networking
Secure, control, and observe service-to-service communications inside your infrastructure and across external connections.
Private service access
You can use different options for private connectivity to Google and third-party APIs and services. For a comparison of these private access products and features, see Private access options.
Private Service Connect
Private Service Connect establishes a private, direct connection to services hosted outside the immediate VPC network. In addition, you can use Private Service Connect to offer your own services to customers. Privately access Google APIs and services such as BigQuery from your VPC networks using internal IP addresses. You can extend this private access to your other networks using Network Connectivity Center. In addition, you can use Private Service Connect to privately consume a service provided by a third-party entity. To learn more, see the Private Service Connect documentation.
Private Google Access
Private Google Access provides VMs that only have internal IP addresses with access to Google APIs and services without using the internet. Traffic from resources in subnets with Private Google Access enabled stays within Google's network. To learn more, see the Private Google Access documentation.
Cloud Service Mesh
Cloud Service Mesh is a fully managed traffic management and security framework for microservices. It lets you implement consistent service-to-service security policies, detailed request tracing, and intelligent traffic routing across different container platforms and virtual machines without having to refactor or write custom application code. To learn more, see the Cloud Service Mesh documentation.
Networking for specific services
See the following pages for details about configuring networking for each service: