Capacity Planning & Load Forecasting
Intermediate · 40 minutes · 100 points
In this hands-on lab, you will practice core SRE capacity planning skills by collecting system metrics, analyzing historical load data, building simple forecasting models using Python, and generating a capacity report. You will work with CPU, memory, and disk utilization data to predict future resource needs and identify when thresholds will be breached — a critical skill for preventing outages before they happen.
What you’ll learn
- Collect and store system resource utilization metrics (CPU, memory, disk) into structured CSV files
- Analyze historical load data using Python and pandas to compute trends, averages, and peak values
- Build a simple linear regression forecast to predict when a resource threshold will be breached
- Generate a human-readable capacity planning report summarizing findings and recommendations
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
Topics: sre, capacity-planning, load-forecasting, python, pandas, numpy, metrics, linear-regression, observability, resource-management
Create a free account to start this lab.