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?

Lesedauer: 2 Minute
0

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?

Short description

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.

Resolution

Disassociate the Network Load Balancer from any associated VPC endpoint services.

  1. Open the Amazon Virtual Private Cloud (Amazon VPC) console.
  2. In the navigation pane, choose Endpoint Services.
  3. 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.
  4. Choose the Endpoint Connections tab to determine which endpoint connections are attached to your endpoint service.
  5. For all the connections that aren't in the Rejected state, choose Actions, and then choose Reject endpoint connection request.
  6. 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:

  1. Open the Amazon Virtual Private Cloud (Amazon VPC) console.
  2. Choose the Network Load Balancer tab.
  3. Choose Associate/Disassociate Network Load Balancer. Replace the Network Load Balancer associate with the endpoint service.
  4. Delete the Network Load Balancer.

Delete a Network Load Balancer and associated endpoint service

To delete both a Network Load Balancer and the associated endpoint service:

  1. Open the Amazon Virtual Private Cloud (Amazon VPC) console.
  2. Choose the endpoint service that you want to delete.
  3. Choose Action, then choose Delete endpoint services.
  4. Delete the Network Load Balancer.

AWS OFFICIAL
AWS OFFICIALAktualisiert vor 6 Monaten