| Did this page help you? Yes No Tell us about it... |
In this example, you stop using Elastic Load Balancing on a currently load balanced EC2 fleet. You delete the load balancer, which automatically deregisters the associated instances from the load balancer.
To tear down an existing load balancer
Call DeleteLoadBalancer with LoadBalancerName = MyLoadBalancer.
The operation returns an empty response.
To tear down an existing load balancer
Use the elb-delete-lb command as in the following example.
PROMPT> elb-delete-lb MyLoadBalancer
Elastic Load Balancing returns the following:
Warning: Deleting a LoadBalancer can lead to service disruption to any customers connected to the load balancer. Are you sure you want to delete this load balancer? [Ny]
Enter Y to delete the LoadBalancer
Elastic Load Balancing returns the following:
OK-Deleting LoadBalancer