AWS Gateway Load Balancer (GWLB) helps deploy and scale fleets of virtual network appliances, such as third-party firewalls and intrusion detection or prevention systems. It sits in the traffic path and distributes flows across appliance targets while preserving the network transparency needed for inspection architectures.

The architecture: GWLB and GWLBE

Gateway Load Balancer is deployed in a service-provider VPC with a target group containing virtual appliances. A Gateway Load Balancer Endpoint (GWLBE), powered by AWS PrivateLink, is created in the consumer VPC. Route tables direct selected traffic to the endpoint, which forwards traffic to the GWLB and its appliance fleet. This allows inspection without placing the appliances directly inside every consumer subnet.

How traffic is handled

  1. A route in the workload VPC sends selected traffic to a Gateway Load Balancer Endpoint.
  2. The endpoint forwards the traffic to the associated Gateway Load Balancer service.
  3. GWLB distributes flows to healthy appliance targets in its target group.
  4. The appliance inspects the traffic and returns it through the GWLB path.
  5. The traffic continues toward its destination according to the VPC routing design.

GENEVE encapsulation and flow stickiness

GWLB uses the GENEVE protocol on UDP port 6081 to encapsulate packets and carry metadata between the load balancer and appliances. GWLB supports flow stickiness so packets belonging to a flow are consistently directed to the same appliance target, which is important for stateful inspection. Appliance targets must support the required GENEVE behavior and be configured for the GWLB deployment model.

GWLB vs. other load balancers

Load balancerPrimary purposeExam clue
Gateway Load BalancerScale and manage virtual network appliancesTransparent third-party firewall or inspection fleet
Network Load BalancerLayer 4 TCP/UDP/TLS traffic distributionHigh-performance transport-level load balancing
Application Load BalancerLayer 7 HTTP/HTTPS routingHost, path, header, or application-aware routing

Design considerations

Exam traps

Test yourself

Question 1

A company wants to insert a fleet of third-party firewalls into traffic flows across multiple VPCs and scale the appliances transparently. Which service is designed for this architecture?

  1. Application Load Balancer
  2. Gateway Load Balancer
  3. Amazon Route 53
  4. Network Load Balancer
Reveal answer

Correct answer: B. Gateway Load Balancer distributes traffic to virtual network appliances and supports centralized inspection architectures.

Question 2

Which protocol does Gateway Load Balancer use to encapsulate traffic between the load balancer and appliance targets?

  1. GRE over TCP 443
  2. GENEVE over UDP 6081
  3. IPsec over UDP 500
  4. HTTP/2 over TCP 80
Reveal answer

Correct answer: B. GWLB uses GENEVE encapsulation over UDP port 6081.

Key takeaway

When a scenario needs a scalable fleet of third-party firewalls or inspection appliances, think Gateway Load Balancer. Remember the consumer-side GWLBE, GENEVE over UDP 6081, flow stickiness, and correct routing symmetry.

Related topics

AWS PrivateLink · AWS Network Firewall · Network Load Balancer

CloudExamPro Premium

Ready for the AWS Solutions Architect Associate (SAA-C03) exam?

Turn what you learned in this topic into exam-ready skills with original, scenario-based practice questions and detailed explanations.

6 full-length examsBuild readiness across domains
Detailed explanationsLearn why each answer is right
Scenario-based practiceOriginal questions, not dumps
6 months of accessReview at your own pace
Get the SAA-C03 Practice Exams →Try the free SAA-C03 diagnostic first ↗

Original practice questions. No dumps. No shortcuts.

COMING SOON • BLACK FRIDAY MEETS CYBER MONDAY
Something BIG Is Coming! Get ready for an exclusive offer on AWS certification exam preparation. November 27–30, 2026
Starts in--d --h --m --sView Pricing Plans