SRE Capstone Project

Reading about reliability builds knowledge. Building a reliable service builds skill. This capstone project guides you through running a small application the way a real SRE team would, from objectives to postmortem. The finished project makes a strong portfolio piece.

Project Goal

Deploy a simple web application, define targets, monitor it, break it on purpose, recover, and document what you learned. The application can stay small. A to-do list, a URL shortener, or a notes app works well. The practice matters more than the app.

Project Map

[1 Pick App] → [2 Set SLOs] → [3 Build Pipeline] → [4 Add Monitoring]
                                                           ↓
[8 Write Postmortem] ← [7 Chaos Test] ← [6 Load Test] ← [5 Alerts and Runbooks]

Stage 1: Pick and Deploy the App

  • Choose a small web app with a database.
  • Host it on a free or low-cost cloud tier, or on a local container setup.
  • Run at least two copies behind a load balancer.
  • Describe the setup in infrastructure code.

Stage 2: Define Objectives

Write two or three SLIs and matching SLOs. A sample set:

SLISLO
Share of requests that succeed99.5 percent over 30 days
Share of requests faster than 400 ms95 percent over 30 days

Calculate the error budget in minutes and note it in the project notes.

Stage 3: Build a Pipeline

  • Run tests on every code change.
  • Build a package once and deploy the same package everywhere.
  • Add a rollback command and test it.

Stage 4: Add Monitoring

  • Collect the four golden signals.
  • Build one dashboard with latency, traffic, errors, and saturation.
  • Add a synthetic check that visits the home page and one key action every minute.
  • Write structured logs with a request identifier.

Stage 5: Alerts and Runbooks

  • Create alerts for fast error budget burn and for a failed synthetic check.
  • Write a runbook for each alert with checks, fixes, and verification steps.
  • Send alerts to a phone or chat app you watch.

Stage 6: Load Test

  • Use a free tool to ramp virtual users in steps.
  • Record the point where latency climbs.
  • Fix the first bottleneck, such as a missing database index.
  • Repeat the test and compare charts.

Stage 7: Chaos Experiment

Choose one small failure and predict the result before you run it.

ExperimentPrediction
Stop one app copyUsers see no errors; load balancer routes around it
Block database access for 60 secondsErrors rise; alerts fire; recovery in under two minutes

Compare the result with the prediction and note any surprise.

Stage 8: Postmortem

Write a blameless postmortem for the experiment. Include a summary, timeline, impact, contributing factors, what went well, what went poorly, and action items with owners.

Suggested Schedule

WeekFocus
1App, hosting, infrastructure code
2SLOs, pipeline, rollback
3Monitoring, dashboard, logs
4Alerts, runbooks, synthetic checks
5Load testing and fixes
6Chaos experiment and postmortem

Deliverables

  • A repository with application code and infrastructure code
  • A one-page SLO document
  • Dashboard screenshots
  • Two runbooks
  • A load test report
  • A postmortem document

Self-Assessment Rubric

SkillBeginnerStrong
ObjectivesTargets writtenBudget calculated and tracked
MonitoringOne chartGolden signals plus synthetic checks
Incident skillsFix foundClear timeline and lasting actions
AutomationManual deploymentPipeline with rollback

Tips

  • Keep the app tiny and spend effort on reliability work.
  • Write notes as you go, so the final write-up flows quickly.
  • Share the project with a friend and ask for feedback.
  • Watch cloud costs and delete test resources when finished.

Key Takeaways

The capstone ties every major SRE idea together in one hands-on project. Define goals, measure, alert, test, break, recover, and write down the lessons.