Listener Protocol |
Select a listening protocol.
HTTP is selected in this example.
|
Listener Port |
Specify the port on which the ALB instance listens. The ALB instance listens for requests
on the specified port and then forwards the requests to backend servers. Valid values:
1 to 65535. In most cases, port 80 is used for HTTP and port 443 is used for HTTPS.
Note The ports on which an ALB instance listens must be unique.
In this example, the listening port is set to 80.
|
Listener Name |
Enter a name for the listener. The name must be 2 to 256 characters in length and
can contain letters, digits, periods (.), underscores (_), hyphens (-), commas (,),
semicolons (;), forward slashes (/), and at signs (@).
|
Advanced Settings |
Click Modify to configure the advanced settings.
|
Idle Connection Timeout Period |
Specify a timeout period for idle connections. Unit: seconds. Valid values: 1 to 60.
If no request is received within the specified timeout period, ALB closes the connection.
When another request is received, ALB establishes a new connection.
Note This feature is not available for HTTP/2 requests.
|
Connection Request Timeout Period |
Specify the request timeout period. Unit: seconds. Valid values: 1 to 180.
If no response is received from the backend server within the request timeout period,
ALB returns an HTTP 504 error code to the client.
|
Compression |
If you enable compression, specific types of files are compressed. If you disable
compression, no file is compressed.
All file types support Brotli compression. File types that support Gzip compression:
text/xml , text/plain , text/css , application/javascript , application/x-javascript , application/rss+xml , application/atom+xml , application/xml , and application/json .
|
Add HTTP Header Fields |
Supported headers:
-
X-Forwarded-For : retrieves client IP addresses.
SLB-ID : retrieves the ID of the ALB instance.
X-Forwarded-Proto : retrieves the listening protocol.
X-Forwarded-Port : retrieves the listening port.
X-Forwarded-Client-srcport : retrieves the client port.
|