Listeners for your Gateway Load Balancers - Elastic Load Balancing
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. In the navigation pane, under Load Balancing, choose Load Balancers.

  3. Select the load balancer and choose Listeners.

  4. Choose Edit listener.

  5. For Forwarding to target group, choose a target group.

  6. Choose Save.

To update your listener using the Amazon CLI

Use the modify-listener command.