> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-elastic-load-balancer-elb-not-in-use.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Elastic Load Balancer (ELB) not in use

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS Elastic Load Balancer (ELB) not in use   |
| Finding ID          | 60000128                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AWS\_CLASSIC\_LOAD\_BALANCER                 |

### Description

Unused AWS Elastic Load Balancers (ELBs) incur unnecessary costs and present a potential security risk. An ELB that is not actively serving traffic represents a misconfiguration, potentially exposing unused resources to attackers.

AWS Elastic Load Balancers distribute incoming traffic across multiple instances. A misconfigured or unused ELB remains a potential attack vector, even if not actively routing traffic. Attackers could potentially exploit any misconfigurations within the ELB's settings, leading to a compromise of associated resources or data breaches. Leaving unused ELBs running increases your attack surface and operational costs.

The impact of this misconfiguration includes unnecessary financial expenses and increased security risk. Removing unused ELBs reduces your attack surface, improves security posture, and optimizes cloud spending. Best practices dictate removing unused resources to maintain a secure and cost-effective cloud environment.

To mitigate this, regularly review your ELB usage. Identify and terminate any ELBs not associated with active instances. Implement automated processes to detect and remove unused ELBs. Consider using cost optimization tools to identify such unused resources.

### Remediation

To check and remove ELB that has no registered instances, perform the following:

1. Sign into the AWS console
2. In the console, select the specific region from region drop down on the top right corner, for which the alert is generated
3. Navigate to EC2 dashboard
4. In the navigation pane, under 'LOAD BALANCING', click on 'Load Balancers'
5. Select reported Elastic Load Balancer
6. In 'Details' section, check If the selected load balancer 'Status' is '0 of 0 instances in service'. It means that there are no registered instances and the ELB can be safely removed.
7. Click the 'Actions' dropdown from the ELB dashboard top menu, Select 'Delete loadbalacer'
8. In the 'Delete Load Balancer' pop-up dialog, type confirm in the 'Type confirm to agree' and click 'Delete'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-elastic-load-balancer-elb-not-in-use.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
