Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Google Cloud Network Load balancer | Proxy Network Loadbalancer & Passthrough Network LoadBalancer
Play lesson

Google Cloud - Google Cloud Network Load balancer | Proxy Network Loadbalancer & Passthrough Network LoadBalancer

4.0 (1)
16 learners

What you'll learn

This course includes

  • 3.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

▬▬▬▬▬▬ 🎉 🔥 Udemy Course - AWS Networking Zero to Hero!🔥 🎉▬▬▬▬▬▬ 🚀 AWS Networking Masterclass! - https://www.udemy.com/course/aws-networking-zero-to-hero-masterclass/?referralCode=9A38DC3CAF2B02863FF5 ▬▬▬▬▬▬ 🎉 🔥 Udemy Course - Master Azure Like a Pro!🔥 🎉▬▬▬▬▬▬ 🚀 Master Azure Like a Pro! - https://www.udemy.com/course/azure-cloud-zero-to-hero/?referralCode=241EFDDC7859120A5175 ▬▬▬▬▬▬ 🙍🏻‍♂️Join YouTube Membership ▬▬▬▬▬▬ Join this channel to get access to perks: https://www.youtube.com/channel/UC7p4oXcPbgk_yTSHK7QlkSg/join ▬▬▬▬▬▬ 🙍🏻‍♂️ Members Only Videos ▬▬▬▬▬▬ Member Only videos - https://www.youtube.com/playlist?list=UUMO7p4oXcPbgk_yTSHK7QlkSg ▬▬▬▬▬▬ 🗓️ Book Me for Consultation ▬▬▬▬▬▬ Calender - https://tidycal.com/rahulwagh17 Google Cloud Network Load Balancer - Complete Guide | Proxy NLB vs Passthrough NLB | ALB vs NLB Difference In this video, I walk you through the Google Cloud Network Load Balancer in detail. You will learn how to set up both the Proxy Network Load Balancer and the Passthrough Network Load Balancer on GCP using real hands-on examples. I also break down the key differences between Application Load Balancer (ALB) and Network Load Balancer (NLB) so you can choose the right one for your workload. === What You Will Learn === 00:00 - Introduction 09:30 - Demo: Setting Up Proxy Network LB on GCP 17:28 - Demo: Setting Up Passthrough Network LB on GCP === Proxy Network Load Balancer === - Operates at Layer 4 (TCP/SSL) - Terminates client connections at the load balancer - Opens a new connection from the load balancer to the backend - Supports SSL offloading - Client IP is visible via Proxy Protocol or X-Forwarded-For header - Ideal when you need connection termination, SSL offloading, or IP-based access control === Passthrough Network Load Balancer === - Operates at Layer 4 (TCP/UDP) - Does NOT terminate client connections - Passes traffic directly to the backend preserving the original client IP - Lower latency since there is no proxy in between - Supports any TCP/UDP protocol (not just HTTP) - Ideal for non-HTTP workloads, gaming servers, VoIP, or when preserving the client source IP is critical === ALB vs NLB - Key Differences === | Feature | ALB (Application LB) | NLB (Network LB) | |--------------------------|------------------------------|-------------------------------| | OSI Layer | Layer 7 (HTTP/HTTPS) | Layer 4 (TCP/UDP/SSL) | | Protocol Support | HTTP, HTTPS, HTTP/2, gRPC | TCP, UDP, SSL | | Routing | URL path, host, headers | IP and port based | | SSL Termination | Yes (at LB) | Proxy NLB: Yes / Passthrough: No | | Client IP Preservation | Via X-Forwarded-For header | Passthrough: Native / Proxy: Header | | Use Case | Web apps, APIs, microservices| Non-HTTP, gaming, IoT, raw TCP | | Health Checks | HTTP/HTTPS health checks | TCP, SSL, HTTP health checks | | Latency | Slightly higher (L7 inspect) | Lower (direct pass / L4 only) | | URL Map / Routing Rules | Yes | No | | Backend Service Type | Instance Groups, NEGs | Instance Groups, Target Pools | === When to Choose What? === Use ALB (Application Load Balancer) when: - You need content-based routing (URL paths, hostnames, headers) - Your application uses HTTP/HTTPS or gRPC - You want built-in SSL termination and Cloud CDN integration - You need advanced traffic management (rewrites, redirects, A/B testing) Use NLB - Proxy when: - You have TCP/SSL workloads that need connection termination - You want SSL offloading at Layer 4 - You need a static IP for your load balancer Use NLB - Passthrough when: - You need the lowest possible latency - Client source IP preservation is critical - Your workload uses non-HTTP protocols (gaming, VoIP, custom TCP/UDP) - You want direct server return (DSR) capability === Architecture === Proxy Network Load Balancer: Client -- Proxy NLB (terminates connection) -- New Connection -- Backend VMs Passthrough Network Load Balancer: Client -- Passthrough NLB (forwards as-is) -- Backend VMs (sees original client IP) Application Load Balancer: Client -- ALB -- URL Map -- Backend Service -- Backend VMs === Resources & Links === GitHub Repository (Terraform Code): https://github.com/rahulwagh/gcp-zero-to-expert-by-rahulwagh Google Cloud Load Balancing Documentation: https://cloud.google.com/load-balancing/docs GCP Network Load Balancer Overview: https://cloud.google.com/load-balancing/docs/network Proxy Network Load Balancer Docs: https://cloud.google.com/load-balancing/docs/proxy-network-load-balancer Passthrough Network Load Balancer Docs: https://cloud.google.com/load-balancing/docs/passthrough-network-load-balancer

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere