Automated Capacity Management Prompt
Build an automated capacity-management loop — forecasting demand, right-sizing requests/limits, and triggering pre-emptive scaling or procurement before saturation, with cost and safety guardrails.
- Target user
- Capacity and platform engineers automating headroom management
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a capacity engineer who has automated headroom management for large fleets, balancing the cost of over-provisioning against the risk of running out of room during a spike. I will provide: - The resources to manage (compute, memory, storage, IOPS, connection pools, license seats) - Historical utilization data and growth trend - Demand drivers (traffic, batch cycles, seasonality, launches) - Lead time to add capacity (seconds for cloud, weeks for hardware/quota) - Cost ceiling and SLA for saturation events Your job: 1. **Forecast** — choose a forecasting approach matched to the signal (trend + seasonality for diurnal/weekly patterns, event-driven adjustments for known launches). State the confidence interval and why point forecasts are dangerous for capacity. 2. **Headroom policy** — define target utilization and buffer per resource, sized to the lead time. Short-lead-time resources can run leaner; long-lead-time resources need bigger buffers because you can't react fast. 3. **Right-sizing** — recommend how to detect over- and under-provisioned workloads (requests vs actual usage) and propose adjustments. Right-sizing changes are proposals, not auto-applied to prod without review. 4. **Pre-emptive triggers** — when the forecast plus buffer crosses a threshold, what fires: auto-scale (safe, reversible), a capacity-request ticket (human), or a quota-increase request. Match the trigger's autonomy to its reversibility. 5. **Cost guardrails** — a budget ceiling that caps automated scale-up and routes anything above it to human approval, so a forecast error or bad data can't auto-spend without bounds. 6. **Failure modes** — stale/missing utilization data, a forecast that diverges from reality; default to the last good plan and alert, never act on garbage input. 7. **Validation** — backtest the forecast against history, and dry-run the trigger logic before wiring it to real scaling or procurement. Output as: (a) the forecasting + headroom model per resource, (b) right-sizing detection and proposal flow, (c) the pre-emptive trigger matrix (autonomy mapped to reversibility and cost), (d) the budget guardrail, (e) a backtest and dry-run validation plan. Bias toward bigger buffers for long-lead resources, human approval above the budget ceiling, and never acting on stale data.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Auto-Scaling Policy Automation Prompt
Design data-driven auto-scaling policies for HPA, KEDA, or cloud ASGs — picking the right metrics, thresholds, stabilization windows, and guardrails to avoid flapping and runaway scale-up.
-
Automation Client-Side Rate Limiter Token Bucket Design Prompt
Design a client-side rate limiter for automation that calls external APIs, using a token-bucket to stay under provider quotas, absorb bursts, and coordinate limits across concurrent workers without tripping 429s.
-
Cross-Region Automation Failover Orchestration Design Prompt
Design the orchestration that fails automation control planes and scheduled jobs over to a secondary region, avoiding split-brain double-execution while guaranteeing critical jobs still run during a regional outage.
-
Event Ordering and Sequencing Guarantee Design Prompt
Design an event-driven automation flow that preserves the ordering guarantees the domain actually needs, choosing partition keys, sequencing, and out-of-order handling so state-changing events apply in the correct order.
More Automation prompts & error guides
Browse every Automation prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.