Gateway Load Balancer (GWLB) is a load balancer that functions at the third layer (network layer) of the Open Systems Interconnection (OSI) model. It enhances the security and availability of application systems by transparently distributing traffic to different backend servers.
Instance status
The following table describes the different states of a GWLB instance and whether specific operations are supported in each state.
Instance state | State description | Whether instance locked and why | Instance deletion allowed | Instance configuration update allowed |
Running | The instance is running as expected. | N/A | Yes | Yes |
Creating | The instance is being created. | N/A | No | No |
Updating Configuration | The configuration of the instance is being updated. | N/A | No | |
Stopped | The instance stops running. | Locked (Overdue Payment): The instance is locked due to overdue payments. Renew your instance at your earliest opportunity. The instance resumes providing services after it is unlocked. | No |
IP version
GWLB instances support the IPv4 protocol version, which means GWLB supports IPv4 traffic access.
A GWLB instance communicates with backend servers using a private IPv4 address, which is assigned by the subnet where the GWLB instance resides.
Cross-zone forwarding
By default, cross-zone forwarding is enabled. When a GWLB instance receives client traffic, each GWLB instance distributes the traffic among backend servers in all enabled zones within the same region. Currently, the cross-zone forwarding feature cannot be disabled.
Network MTU
The maximum transmission unit (MTU) of a network connection is the size of the largest packet that can be transmitted over the connection. An MTU includes the size of IP headers and payload but excludes the size of Ethernet headers.
GWLB MTU limit:
The maximum packet size supported by GWLB is 1500 bytes. Therefore, any packet exceeding 1500 bytes will be discarded and not transmitted.
MTU settings for network virtual devices:
When a GWLB instance encapsulates IP traffic with a Geneve header to forward it to a network virtual device, it adds 68 bytes to the original packet. It is recommended to set the MTU of the network virtual device to at least 1568 bytes (1500 bytes for the original packet size plus 68 bytes for the Geneve header encapsulation) to ensure it can handle packets up to 1500 bytes.
IP fragmentation:
GWLB does not support IP fragmentation. If the original packet size exceeds 1500 bytes, it cannot be fragmented into smaller segments for transmission.
Path MTU Discovery (PMTUD):
GWLB does not generate ICMP messages to indicate fragmentation is needed, so PMTUD is not supported.
Idle connection timeout period
The connection idle timeout is the maximum duration that a network connection can remain idle without data transmission. If no connection requests occur within the idle timeout period, the current connection is closed, and the GWLB instance routes new traffic to a new backend server. Existing traffic is discarded until a new connection is established upon the next request.
For TCP traffic, the connection idle timeout is 350 seconds.
For non-TCP traffic, the connection idle timeout is 120 seconds.
The connection idle timeout for GWLB instances cannot be modified.
Traffic processing mode
By default, the traffic processing mode for a GWLB instance is Load balancing, which means that when GWLB receives traffic from the GWLB endpoint, it forwards the traffic to backend servers for processing.
During network emergencies, network issue diagnostics, or Network Virtual Appliance (NVA) upgrade and maintenance, when the backend NVAs associated with GWLB are unavailable, you can change the traffic processing mode for GWLB to Bypass. In this mode, when GWLB receives traffic from the GWLB endpoint, the traffic is directly returned to the GWLB endpoint without being forwarded to backend NVAs, ensuring that your services are not interrupted.
By default, Traffic Processing Mode is unavailable. To use the feature, contact your account manager to apply for activation.