Knowledge Guide
HomeSystem DesignCapacity Estimation

medium Drill: rough monthly cloud bill

Drill

A service stores 500 TB in object storage, runs 100 vCPUs 24/7, and serves 50 TB/month egress. Estimate the monthly cost (anchors: $0.02/GB-mo storage, $0.05/vCPU-hr, $0.09/GB egress).

✅ Worked solution & bounds check

Worked solution

  • Storage: 500,000 GB × $0.02 = $10,000/mo.
  • Compute: 100 × $0.05 × 730 hr ≈ $3,650/mo (spot ≈ ~$1,000).
  • Egress: 50,000 GB × $0.09 = $4,500/mo.
  • Total ≈ $18K/month.

Insight: storage + egress dominate. Levers: tier cold data to archive; put a CDN in front to cut egress; use spot instances for compute.

🤖 Don't fully get this? Learn it with Claude

Stuck on Drill: rough monthly cloud bill? Open Claude, copy a block below, and it'll teach you this exact concept — visually and interactively.

🪜 Hint ladder (no spoilers)

Progressively stronger hints — you still solve it.

I'm working on the problem **Drill: rough monthly cloud bill** (System Design). Give me a HINT LADDER: start with the tiniest nudge, then wait. Only reveal the next, stronger hint when I ask. Do NOT show the full solution unless I type 'show solution'. Keep me doing the thinking. If you're unsure or a claim isn't standard, say so and reason from first principles instead of guessing.
🎨 Explain the approach visually

See the technique, not just code.

Explain the optimal approach to **Drill: rough monthly cloud bill** with a VISUAL walkthrough: trace it on a small concrete example using ASCII art / a step-by-step diagram, narrate what changes each step, then give time & space complexity with a one-line derivation. If you're unsure or a claim isn't standard, say so and reason from first principles instead of guessing.
🔍 Review my solution

Catch bugs, edge cases, sub-optimality.

I'll paste my solution to **Drill: rough monthly cloud bill**. Review it for correctness, missed edge cases, and time/space complexity, then coach me toward the optimal — don't just rewrite it. Ask me to paste my code now. If you're unsure or a claim isn't standard, say so and reason from first principles instead of guessing.
🔁 Drill the pattern

Lock in recognition with look-alikes.

Give me 2 problems that use the SAME underlying pattern as **Drill: rough monthly cloud bill**. For each, let me attempt first, then review my answer and name the trigger signal that reveals the pattern. If you're unsure or a claim isn't standard, say so and reason from first principles instead of guessing.

📝 My notes