Menu
Elastic Load Balancing
Network Load Balancers

Delete a Target Group

You can delete a target group if it is not referenced by any actions. Deleting a target group does not affect the targets registered with the target group. If you no longer need the EC2 instances, you can stop or terminate them.

To delete a target group using the console

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, under LOAD BALANCING, choose Target Groups.

  3. Select the target group and choose Actions, Delete.

  4. When prompted for confirmation, choose Yes.

To delete a target group using the AWS CLI

Use the delete-target-group command.