Cloud Cost Optimization
Installation
SKILL.md
Cloud Cost Optimization for Red Team Infrastructure
Cloud costs in red team operations are uniquely spiky — you might spin up 50 instances for a week-long engagement, then nothing for a month. This pattern makes it easy to waste money through oversized instances, forgotten infrastructure, or missed opportunities for spot pricing. The strategies here are specifically tuned for the "burst and teardown" pattern typical of red team work.
Instance Right-Sizing
Most red team tools (C2 frameworks, scanners, proxy servers) are surprisingly lightweight. Overprovisioning is the most common cost mistake.
Practical baselines:
- Minimum viable: 2 vCPU + 4 GB RAM handles most single-tool deployments (Cobalt Strike, Sliver, scanning)
- Comfortable: 4 vCPU + 8 GB RAM for multi-tool setups or heavy scanning
- Overkill warning: If you're deploying
m5.2xlargeor equivalent for a single C2 server, you're paying 4x more than necessary
| Use Case | AWS | Azure | GCP | Monthly Cost (approx.) |
|---|---|---|---|---|
| Light (C2, proxy) | t3.small |
B2s |
e2-small |
$15-20 |
| Standard (multi-tool) | t3.medium |
B2ms |
e2-medium |
$30-40 |
| Heavy (scanning cluster) | t3.xlarge |
B4ms |
e2-standard-4 |
$60-80 |