SRE Basics: Reliability Engineering Fundamentals
Intermediate · 30 minutes · 100 points
In this hands-on lab, you will practice core Site Reliability Engineering (SRE) concepts including setting up a basic service, implementing health checks, simulating incidents, writing runbooks, and measuring error budgets. You will work directly with shell scripts, log files, and monitoring utilities to understand how SREs keep services reliable in production environments.
What you’ll learn
- Simulate a running service and implement a basic health check script
- Generate and analyze structured application logs to identify error patterns
- Calculate Service Level Indicators (SLIs) and error budgets from raw log data
- Create a simple incident runbook following SRE best practices
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, reliability, sli, slo, error-budget, health-check, runbook, observability, bash, linux
Create a free account to start this lab.