View a markdown version of this page

Update the target group for your Gateway Load Balancer listener - 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).

Update the target group for your Gateway Load Balancer listener

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.