Delete a Network Load Balancer - Elastic Load Balancing

Delete a Network Load Balancer

As soon as your load balancer becomes available, you are billed for each hour or partial hour that you keep it running. When you no longer need the load balancer, you can delete it. As soon as the load balancer is deleted, you stop incurring charges for it.

You can't delete a load balancer if deletion protection is enabled. For more information, see Deletion protection.

You can't delete a load balancer if it is in use by another service. For example, if the load balancer is associated with a VPC endpoint service, you must delete the endpoint service configuration before you can delete the associated load balancer.

Deleting a load balancer also deletes its listeners. Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. To delete your target groups, see Delete a target group.

To delete a load balancer using the console
  1. If you have a DNS record for your domain that points to your load balancer, point it to a new location and wait for the DNS change to take effect before deleting your load balancer.

    • If the record is a CNAME record with a Time To Live (TTL) of 300 seconds, wait at least 300 seconds before continuing to the next step.

    • If the record is a Route 53 Alias(A) record, wait at least 60 seconds.

    • If using Route 53, the record change takes 60 seconds to propagate to all global Route 53 name servers. Add this time to the TTL value of the record that is being updated.

  2. Open the Amazon EC2 console at

  3. In the navigation pane, choose Load Balancers.

  4. Select the check box for the load balancer.

  5. Choose Actions, Delete load balancer.

  6. When prompted for confirmation, enter confirm and choose Delete.

To delete a load balancer using the AWS CLI

Use the delete-load-balancer command.