I received an error indicating that the "Network Load Balancer is currently associated with another service" when I tried to delete my Network Load Balancer. How can I troubleshoot this error?
Last updated: 2022-09-19
I'm trying to delete my Network Load Balancer. However, I receive an error indicating that the "Network Load Balancer is currently associated with another service." How can I troubleshoot this error?
This error message indicates that a Network Load Balancer that you're trying to delete is already associated with a virtual private cloud (VPC) endpoint service. Before you can delete a Network Load Balancer, you must first disassociate it from any associated VPC endpoint services.
Disassociate the Network Load Balancer from any associated VPC endpoint services.
- Open the Amazon Virtual Private Cloud (Amazon VPC) console.
- In the navigation pane, choose Endpoint Services.
- Review the Network Load Balancer tab for each of your endpoint services to determine whether your Network Load Balancer is associated with an endpoint service.
- Choose the Endpoint Connections tab to determine which endpoint connections are attached to your endpoint service.
- For all the connections that aren't in the Rejected state, choose Actions, and then choose Reject endpoint connection request.
- After all the associated Endpoints are deleted, disassociate the Network Load Balancer using one of the two options in the next section.
Delete the Network Load Balancer and keep the endpoint service active
To delete a Network Load Balancer but keep the endpoint service active, associate the endpoint service with a different Network Load Balancer:
Delete a Network Load Balancer and associated endpoint service
To delete both a Network Load Balancer and the associated endpoint service: