Listeners for your Gateway Load Balancers
When you create your Gateway Load Balancer, you add a listener. A listener is a process that checks for connection requests.
Listeners for Gateway Load Balancers listen for all IP packets across all ports. You cannot specify a protocol or port when you create a listener for a Gateway Load Balancer.
When you create a listener, you specify a rule for routing requests. This rule forwards requests to the specified target group. You can update the listener rule to forward requests to a different target group.
To update your listener using the console
Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/
. -
In the navigation pane, under Load Balancing, choose Load Balancers.
-
Select the load balancer and choose Listeners.
-
Choose Edit listener.
-
For Forwarding to target group, choose a target group.
-
Choose Save.
To update your listener using the Amazon CLI
Use the modify-listener command.