How to Find and Delete an Existing AWS Elastic Load Balancer (ELB)

How to Find and Delete an Existing AWS Elastic Load Balancer (ELB)

We already explained how we can create an Amazon ELB. In this guide you will learn how to review all the information of an existing Elastic Load Balancer (AWS ELB) and the steps to delete it.

View and Delete an ELB Using the UI AWS Console - 

1. Select the ELB (Load Balancer) and click on the tab “Description”. It will list the ELB info, like DNS name, status of instances, availability zone etc.

2. ”Instances” tab: List all the instances attached to the ELB and their status. It will also show the status of the availability zone (AZs) where the ELB is running.

3. ”Health Check” tab: List all the configuration set for the health check of the instances. This includes the application or webserver port, the target and protocol (where the ELB will ping using the protocol). It will also show the time the ELB should wait to get a response and the number of checks the ELB should wait before declaring an instance healthy or unhealthy. If you want to modify the health check parameters, click “Edit Health Check”.

[Newvem analyzes your baseline disaster recovery (DR) status, reflecting how well AWS DR best practices have been implemented, and recommends AWS features and best practices to reach optimal availability, increase outage protection, and quick recovery. Learn More]

4. ”Security” tab: List of the security groups assigned to the ELB.

5. ”Listeners” tab: It will list the load balancer protocol and the port on which the ELB will accept the requests. According to the configuration we set for the example, the ELB can be accessed using HTTP protocol on port 80. That is different than the Application or Webserver port specified in the Health Check above.

6. To delete an AWS ELB, simply select the specific ELB and click “Delete”.

7. Click “yes, Delete” to confirm.

8. It will delete the specified ELB and show the remaining ELBs in the console. In case no other ELBs it will show the following screen.

View and Delete an ELB Using the Command Line Tools -

1. Setup the ELB CLI as mentioned here

2. The command to view the details of the ELB is:

elb-describe-lbs <ELB name>

3. To delete an ELB use the command:

elb-delete-lb <ELB Name>

and Confirm the ELB deletion -

15. If an AWS ELB was deleted and you run a command to describe it, you will see the error “Malformed input-cannot find load balancer <ELB name>”.

[Newvem analytics tracks you AWS cloud utilization:

  • Hourly Utilization Pattern Analysis 
  • Reserved Instances Decision Tool 
  • Resource Resizing Opportunities

Create Your Free Account or Learn More]

Keywords: Amazon web services, Amazon AWS console, AWS S3, Amazon Cloud Services, AWS Management Console, AWS ELB, Elastic Load Balancer, CLI, Command Line Tools, AWS API, Availability Zones, AZ,AWS Health Check, Security Groups,

You must be to post a comment.

* As a bonus, you'll receive our weekly newsletter!

Hitchhiker's Guide to The Cloud

Newvem's eBook for Cloud Operations