Networking for internet-facing application delivery: Reference architectures

Last reviewed 2023-11-13 UTC

This document is part of a series that describes networking and security architectures for enterprises that are migrating data center workloads to Google Cloud.

The series consists of the following documents:

Google offers a set of products and capabilities that make it easy to help secure and scale your most critical internet-facing applications. Figure 1 shows an architecture that uses Google Cloud services to deploy a web application with multiple tiers.

Typical multi-tier web application deployed on Google Cloud.

Figure 1. Typical multi-tier web application deployed on Google Cloud.

Lift-and-shift architecture

As internet-facing applications move to the cloud, they must be able to scale, and they must have security controls and visibility that are equivalent to those controls in the on-premises environment. You can provide these controls by using network virtual appliances that are available in the marketplace.

Application deployed with an appliance-based external load balancer.

Figure 2. Application deployed with an appliance-based external load balancer.

These virtual appliances provide functionality and visibility that is consistent with your on-premises environments. When you use a network virtual appliance, you deploy the software appliance image by using autoscaled managed instance groups. It's up to you to monitor and manage the health of the VM instances that run the appliance, and you also maintain software updates for the appliance.

After you perform your initial shift, you might want to transition from self-managed network virtual appliances to managed services. Google Cloud offers a number of managed services that make it easy to deliver applications at scale.

Figure 2 shows a network virtual appliance configured as the frontend of a web tier application. For a list of partner ecosystem solutions, see the Google Cloud Marketplace page in the Google Cloud console.

Hybrid services architecture

Google Cloud offers the following approaches to make it easy to manage internet-facing applications at scale:

  • Use Google's global network of anycast DNS name servers that provide high availability and low latency to translate requests for domain names into IP addresses.
  • Use Google's global fleet of external Application Load Balancers to route traffic to an application that's hosted inside Google Cloud, hosted on-premises, or hosted on another public cloud. These load balancers scale automatically with your traffic and ensure that each request is directed to a healthy backend. By setting up hybrid connectivity network endpoint groups, you can bring the benefits of external Application Load Balancer networking capabilities to services that are running on your existing infrastructure outside of Google Cloud. The on-premises network or the other public cloud networks are privately connected to your Google Cloud network through a VPN tunnel or through Cloud Interconnect.
  • Use other network edge services such as Cloud CDN to distribute content, Google Cloud Armor to protect your content, and Identity-Aware Proxy (IAP) to control access to your services.

    Figure 3 shows hybrid connectivity that uses external Application Load Balancer.

    Hybrid connectivity configuration using external Application Load Balancer and network edge services.

    Figure 3. Hybrid connectivity configuration using external Application Load Balancer and network edge services.

    Figure 4 shows a different connectivity option—using hybrid connectivity network endpoint groups.

    External Application Load Balancer configuration using hybrid connectivity network endpoint groups.

    Figure 4. External Application Load Balancer configuration using hybrid connectivity network endpoint groups.

  • Use a Application Load Balancer (HTTP/HTTPS) to route requests based on their attributes, such as the HTTP uniform resource identifier (URI). Use a proxy Network Load Balancer to implement TLS offload, TCP proxy, or support for external load balancing to backends in multiple regions. Use a passthrough Network Load Balancer to preserve client source IP addresses, avoid the overhead of proxies, and to support additional protocols like UDP, ESP, and ICMP.

  • Protect your service with Google Cloud Armor. This product is an edge DDoS defense and WAF security product that's available to all services that are accessed through a global external Application Load Balancer.

  • Use Google-managed SSL certificates. You can reuse certificates and private keys that you already use for other Google Cloud products. This eliminates the need to manage separate certificates.

  • Enable caching on your application to take advantage of the distributed application delivery footprint of Cloud CDN.

  • Use network virtual appliances to inspect and filter both north-south (to and from the internet) and east-west (to and from on-premises network or VPC networks) traffic, as shown in figure 5.

    Configuration of highly available network virtual appliance using internal load balancer and VPC Network Peering for inspecting traffic.

    Figure 5. Configuration of highly available network virtual appliance using an internal passthrough Network Load Balancer and VPC Network Peering for inspecting traffic.

  • Use Cloud IDS to detect threats in north-south traffic, as shown in figure 6.

    Cloud IDS configuration to mirror and inspect all internet and internal traffic.

    Figure 6. Cloud IDS configuration to mirror and inspect all internet and internal traffic.

Zero Trust Distributed Architecture

You can expand Zero Trust Distributed Architecture to include application delivery from the internet. In this model, the Google external Application Load Balancer provides global load balancing across GKE clusters that have Cloud Service Mesh meshes in distinct clusters. For this scenario, you adopt a composite ingress model. The first-tier load balancer provides cluster selection, and then a Cloud Service Mesh-managed ingress gateway provides cluster-specific load balancing and ingress security. An example of this multi-cluster ingress is the Cymbal Bank reference architecture as described in the enterprise application blueprint. For more information about Cloud Service Mesh edge ingress, see From edge to mesh: Exposing service mesh applications through GKE Ingress.

Figure 7 shows a configuration in which a external Application Load Balancer directs traffic from the internet to the service mesh through an ingress gateway. The gateway is a dedicated proxy in the service mesh.

Application delivery in a zero-trust microservices environment.

Figure 7. Application delivery in a zero-trust microservices environment.

What's next