Skip to main content
All CollectionsActionsAmazon Web Services
Delete Unused Elastic Load Balancers Actions
Delete Unused Elastic Load Balancers Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Delete Unused Elastic Load Balancers action will delete one or more Elastic Load Balancers which do not have any EC2 instances attached to them. Only load balancers with 0 instances will be considered for deletion.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Load Balancer Identification Method

Indicates the selection method of the load balancers.

  • All Load Balancers - All load balancers will be considered.

  • By Resource Tag - Evaluated load balancers which match a resource tag value.

  • By Load Balancer Name - Evaluates load balancers whose name matches a desired value.

Note that an Elastic Load Balancer must have 0 instances to be deleted.

Resource Tag Name

Indicates the name of the resource tag used to compare.

Resource Tag Value

Indicates the comparison and value of the resource tag used to compare.

Unused Time

Indicate whether Elastic Load Balancers must be unused for a minimum number of days before they can be deleted.

Number of Days

Indicate the minimum number of days that an Elastic Load Balancer must be unused before it can be deleted.

Tracking Resource Tag

A resource tag is placed on the load balancer that will be used to track the unused date of the load balancer. Specify the name of the tag in this field.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • elasticloadbalancing:AddTags

  • elasticloadbalancing:DeleteLoadBalancer

  • elasticloadbalancing:DescribeLoadBalancers

  • elasticloadbalancing:DescribeTags

  • elasticloadbalancing:RemoveTags

Did this answer your question?