| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
This section describes how to delete a listener from your existing load balancer. Before you get started, be sure you've done the following:
Created a load balancer with Elastic Load Balancing. For information on how to set up a HTTPS/SSL load balancer with the AWS Management Console, command line interface (CLI), or Query API, see Create a Load Balancer with SSL Cipher Settings and Back-End Server Authentication. To learn how to set up a HTTP/TCP load balancer with the AWS Management Console, see Get Started with Elastic Load Balancing.
Installed the Elastic Load Balancing tool that you plan to use to perform load balancing tasks. You can add or delete listeners on your existing load balancer using the AWS Management Console, the command line interface (CLI), or the Query API. For information on installing the CLI, or the Query API, see Get Set Up with Elastic Load Balancing Interfaces.
For detailed descriptions of the Elastic Load Balancing Query API actions, see Elastic Load Balancing API Reference.
For detailed descriptions of the Elastic Load Balancing commands, see the Elastic Load Balancing Quick Reference Card.
The following sections include instructions for deleting a listener from the specified port
of your existing load balancer using the AWS Management Console, command line interface (CLI), or the
Query API. In this example, you delete a listener from port 80 of your load balancer
MyLoadBalancer.
To delete a listener from your load balancer
Sign in to the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
On the Amazon EC2 Getting Started page, in the EC2 Dashboard pane, under NETWORK & SECURITY, click Load Balancers.
On the Load Balancers page, select your load balancer.
The bottom pane displays the details of your load balancer.
Click the Listeners tab.
Select Remove in the Actions box of the listener you want to delete.

To delete a listener from your load balancer
Enter the command elb-delete-lb-listeners as in the following example.
PROMPT> elb-delete-lb-listeners MyLoadBalancer lb-ports 80
Enter the command elb-describe-lbs as in the following example to view the updated details of your load balancer MyLoadBalancer.
PROMPT> elb-describe-lbs MyLoadBalancer
The operation returns a list of updated configurations of your load balancer.
To delete a listener from your load balancer
Call DeleteLoadBalancerListeners with the following
parameters:
LoadBalancerPorts = 80
LoadBalancerName = MyLoadBalancer
Call DescribeLoadBalancers as in the following example to view the updated configuration information of your load balancer.
LoadBalancerName = MyLoadBalancer
The operation returns a list of updated configurations of your load balancer.
For detailed descriptions of this Elastic Load Balancing API action, see the DeleteLoadBalancerListeners in the Elastic Load Balancing API Reference.