Resource Management for Private Locations¶
Can Private Locations Be Deployed on Windows, or Are Linux/Kubernetes Required?¶
Choose a CLI or container deployment for your platform. For production environments, we recommend Kubernetes with Escape's Helm chart.
Supported Platforms
CLI builds are available for Windows (amd64), macOS (amd64 and arm64), and Linux (amd64 and arm64). Container images are built for Linux (amd64 and arm64).
Run the Windows binary directly in a terminal. The latest builds for Windows and macOS are available on the release page.
Alternatively, the repository can be cloned and the binary can be built manually for custom deployment scenarios.
Are Additional Resources Needed Based on Traffic Volume?¶
Resource requirements depend on your workload. The Helm defaults are 1 vCPU and 2 GiB RAM for both requests and limits. Configure these values for your workload and monitor CPU and memory usage as you increase traffic:
- Number of concurrent scans: Multiple simultaneous scans require additional resources
- Volume of scan requests: Higher request volumes increase memory and CPU demands
Private Location performance should be monitored through the logging and monitoring capabilities. For assistance with capacity planning and scaling strategies, contact the support team.
How Many Scans Should Run in Parallel on One Private Location?¶
Escape doesn't enforce a per-location limit. To keep a Private Location from being overloaded by scan traffic, we recommend running at most this many scans at the same time on one Private Location:
| Scan type | Recommended parallel scans per Private Location |
|---|---|
| API DAST | up to 20 |
| Frontend DAST | up to 5 |
| AI App Pentesting | 1 |
Above these numbers, scans compete for the same agent and network, and can slow down or fail. Spread the load over time, or across several Private Locations.
Separately, Escape caps the scans running at the same time in an organization: 50 API DAST, 15 Frontend DAST, and 10 AI App Pentesting. Every running scan counts toward these caps, manual scans included. A scheduled scan that would pass a cap is retried later.
Each Private Location allows 2000 concurrent proxied connections. That cap is independent of requests per second and of CPU or memory. A connection that can't get a slot is closed.
How Many Private Locations Are Needed for Your Scan Profiles?¶
Capacity depends on concurrent scans, rather than the total number of scan profiles. Only the scans that run at the same time count against the recommendations above. A Private Location isn't limited to a fixed number of profiles.
Capacity planning examples:
- Sequential scans: Several profiles can share a Private Location when their scans run at different times. Size it for the workload.
- Concurrent scans: Size and distribute your workload across Private Locations based on:
- The size and complexity of the APIs being scanned
- The resources allocated to each Private Location
- The expected scan duration and throughput requirements
Example: Scheduling Frontend DAST Scans Throughout the Day¶
If you start scans one after another instead of all at once, a single Private Location can run far more than 5 profiles per day. For example, spread 20 Frontend DAST profiles over four 6-hour windows:
- 5 Frontend DAST scans between 00:00 and 06:00
- 5 Frontend DAST scans between 06:00 and 12:00
- 5 Frontend DAST scans between 12:00 and 18:00
- 5 Frontend DAST scans between 18:00 and 00:00
Assuming each scan completes within its six-hour window, one Private Location completes all 20 profiles per day. If scans from one window are still running when the next window starts, more scans run at once than recommended. Leave enough margin between windows.
Stagger Start Times
When scheduling scans yourself, stagger the start times so a window's scans don't all begin at the same minute. This spreads the proxied connections on each Private Location. Staggering alone doesn't limit how many scans overlap: long scans that start a few minutes apart still run together. Plan the windows around how long your scans take, so the number of scans running at once stays within the recommendations above.
Is It Better to Deploy Multiple Private Locations or Increase Resources on a Single Instance?¶
The optimal scaling strategy depends on the specific use case and workload characteristics:
Each Private Location allows 2000 concurrent proxied connections, independent of requests per second and of CPU or memory allocation. Excess connections are closed. Distribute scans across multiple Private Locations when concurrency reaches this cap.
Vertical scaling (increasing resources on a single Private Location):
- Advantages: Simpler configuration and management, lower operational overhead, suitable for moderate workloads
- Best for: Organizations with sequential or moderately concurrent scans, predictable workload patterns
- Capacity and availability: Size the instance within its hardware capacity and monitor performance under load. Scans assigned to it depend on that instance's availability.
Horizontal scaling (deploying multiple Private Locations):
- Advantages: Distribute load across instances, add capacity incrementally, and provide multiple locations for selection at scan start
- Best for: Organizations with high-concurrency requirements, distributed teams across multiple networks, mission-critical operations requiring redundancy
- Considerations: Run each agent with a unique location name. Agents using the same name can disrupt each other's connections.
Choose how Escape routes each scan: bind a profile to one location with proxyId, or omit proxyId and set defaultProxyType: PRIVATE through the Public API. Omitting proxyId attaches every enabled Private Location seen in the last 15 minutes, not one healthy location. Every attached location must be able to reach the target.
Recommended approach:
- Start with vertical scaling by increasing resources on a single Private Location to meet initial demand
- Monitor performance metrics through the logging and monitoring capabilities to identify bottlenecks
- Deploy additional Private Locations horizontally when:
- A single instance consistently reaches resource limits (CPU, memory)
- You need alternative healthy locations for new scans when an instance is unavailable
- Scans need to be distributed across different network zones or regions
- Concurrent scan requirements exceed what vertical scaling can reasonably provide