> 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-regions-nearing-vpc-private-gateway-limit.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS regions nearing VPC Private Gateway limit

### Synopsis

| Field               | Value                                         |
| ------------------- | --------------------------------------------- |
| Rule Type           | Detection                                     |
| Finding Type        | AWS regions nearing VPC Private Gateway limit |
| Finding ID          | 60000218                                      |
| Generates a Finding | This detection rule also generates a finding  |
| Severity            | Low                                           |
| Category            | CONFIGURATION                                 |
| Cloud Providers     | AWS                                           |
| Platform Module     | CSPM                                          |
| Asset Types         | AWS\_VPN\_VIRTUAL\_PRIVATE\_GATEWAY\_SUMMARY  |
| ATT\&CK Tactic      | TA0112 (TA0112)                               |
| ATT\&CK Technique   | T1685 (T1685)                                 |

### Description

AWS Virtual Private Gateways nearing the resource limit per VPC per Region indicate a potential misconfiguration. Exceeding the limit prevents creation of new gateways, hindering network connectivity and impacting application availability.

The Virtual Private Gateway service allows secure connection between on-premises networks and AWS VPCs. Approaching the limit signifies insufficient capacity planning and increased risk of service disruption. A sudden surge in gateway needs, possibly due to unexpected expansion or an attack leveraging the near-exhaustion, could leave the organization unable to establish secure connections.

This misconfiguration directly impacts operational efficiency and business continuity. Reaching the limit prevents provisioning new gateways, leading to network outages and application downtime. Maintaining sufficient headroom avoids disruption and facilitates quick scaling as needed.

Implement robust capacity planning based on projected growth. Regularly monitor gateway usage and proactively increase limits when necessary, following AWS best practices for resource allocation. This prevents exceeding the limit and ensures uninterrupted network connectivity.

### Remediation

**Manual steps:**

AWS VPN Virtual Private Gateway Summary - Manual remediation steps:

1. Sign in to 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 VPC Dashboard
4. Click on 'Virtual Private Gateways' (Left Panel)
5. Choose the Virtual Private Gateway you want to delete, which is not used or required
6. Click on 'Actions' dropdown
7. Click on 'Delete Virtual Private Gateway'. NOTE: If Virtual Private Gateway is already in use it cannot be deleted. Make sure gateways unassociated before going to deleting it.
8. On 'Delete Virtual Private Gateway' popup dialog, Click on 'Yes, Delete'. NOTE: If existing Virtual Private Gateways are properly associated and exhausted your VPC Virtual Private Gateway limit allocation, you can contact AWS for a service limit increase.


---

# 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-regions-nearing-vpc-private-gateway-limit.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.
