Skip to main content

Deleting a Load Balancer

Overview

Load balancers on Civo remain in your account until you delete them. Load balancers in your account are billed hourly based on the configured maximum concurrent requests and count towards your account quota. If you no longer need a load balancer, you can delete it using the methods below.

danger

Load balancer deletion is immediate and irreversible. Ensure your applications no longer depend on the load balancer before deleting it.

Deleting a Load Balancer from the Dashboard

  1. Navigate to the load balancers listing page in your Civo dashboard.
  2. Find the load balancer you want to delete.
  3. Click the Actions menu (three dots) next to the load balancer.
  4. Select Delete from the dropdown menu.
  5. Confirm the deletion when prompted.

The load balancer is deleted immediately upon confirmation.

What Happens When You Delete a Load Balancer

When you delete a load balancer:

  • Traffic routing stops immediately: Any traffic directed to the load balancer's public IP address will no longer be routed to your backend instances.
  • Public IP is released: The public IP address assigned to the load balancer is released and may be reassigned to other customers.
  • Billing stops: Charges for the load balancer stop immediately upon deletion.
  • Backend instances are unaffected: Your instances in the instance pool continue running; only the load balancer resource is removed.

Kubernetes-Managed Load Balancers

If your load balancer was created automatically by a Kubernetes Service of type LoadBalancer, deleting it through the dashboard or CLI may cause Kubernetes to recreate it. To properly remove these load balancers:

  1. Delete or modify the Kubernetes Service that created the load balancer.
  2. The load balancer will be automatically removed by Kubernetes.
kubectl delete service <service-name>
warning

Manually deleting a Kubernetes-managed load balancer without removing the associated Service will result in the load balancer being recreated, potentially with a different IP address.