What are the differences between Network and HTTP s load balancer in GCP

0 votes

GCP provides two load balancers namely Network and HTTP(s) where the former works on layer 4 and the later works on layer 7.

There is also a documentation which states that even HTTP traffic can be load balanced by a network load balancer. This slightly confuses which load balancer to choose for a web app in GCP. It is better to understand the differences before selecting one for the project.

What are the differences between them based on the workflowsetupregion/zone based, options for session affinity, and other settings?

Mar 23 in GCP by Rahul
• 2,540 points
55 views

1 answer to this question.

0 votes

While the global HTTPS load balancer is for Layer-7 traffic and is built using the Google Front Engines at the edge of Google's network. The regional network load balancer is for Layer-4 traffic and is built using Maglev.

Layer 4-  The distribution of traffic based network variables such as IP address, destination port. Not designed to take into consideration anything at the application layer such as content type, cookie data and custom headers etc. It is only for TCP and below 

Layer 7- The distribution of requests based on multiple variables from the network layer to the application layer. It is context aware and can direct requests based on single variables as easily as it can a combination of variables. Applications are load balanced based on their peculiar behavior and not solely on server information. Provides the ability to route both HTTP and HTTPS traffic based upon rules, host based or path based. 

For more differences refer: https://medium.com/awesome-cloud/aws-difference-between-application-load-balancer-and-network-load-balancer-cb8b6cd296a4

answered Apr 5 by Korak
• 4,460 points

Related Questions In GCP

+1 vote
1 answer

What's the payload limit of HTTP load balancer in GCP?

Google Fronted process all request created to any Google product/service. GFE is that ...READ MORE

answered Oct 11, 2019 in GCP by Sirajul
• 59,170 points
1,397 views
0 votes
1 answer

What are the libraries and tools for cloud storage on GCP?

At the center level, XML API and ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,170 points
688 views
0 votes
1 answer

What are the service accounts in GCP? How to create one?

The special accounts associated with a project are called the Service Accounts. The ...READ MORE

answered Oct 9, 2019 in GCP by Sirajul
• 59,170 points
250 views
0 votes
1 answer

What are the limitations associated with sharing storage resources in GCP?

Sharing storage resources has the following restrictions: It's ...READ MORE

answered Oct 18, 2019 in GCP by Sirajul
• 59,170 points
237 views
–1 vote
1 answer

How to copy files between Cloud Shell and the local machine in GCP?

Hi@akhtar, You can copy files from the remote ...READ MORE

answered Nov 9, 2020 in GCP by MD
• 95,340 points
3,862 views
0 votes
1 answer

What are different between GCP service and GCP resources?

Google Cloud Platforms have a set of ...READ MORE

answered Mar 20 in GCP by Korak
• 4,460 points
23 views
0 votes
1 answer
0 votes
1 answer

What is the difference between boot disk and data disk in GCP (especially AI platform)

Boot disk is dedicated to the boot ...READ MORE

answered Apr 6 in GCP by Korak
• 4,460 points
19 views
0 votes
1 answer

What is the difference between GCP cloud composer and workflow?

There are some key differences to consider ...READ MORE

answered Mar 17 in GCP by Korak
• 4,460 points
45 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP