Skip to content

anbigtomato/sre-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRE Workshop

English · 繁體中文

A hands-on workshop series covering essential SRE (Site Reliability Engineering) skills — Docker containerization, GitHub Actions CI/CD automation, and Prometheus monitoring. Caps off with a final exercise that ties all three together.

Workshops

Workshop Duration Description
Docker 90 min Containers, Docker Compose, and Dockerfile
CI/CD 100 min GitHub Actions, CI pipeline, self-hosted runner deploy
Prometheus 60 min Metrics collection, alerting, and Discord notifications
Final Exercise 25 min Deploy via CI/CD, scrape with Prometheus, alert on Discord

Prerequisites Checklist

Run through this list before the workshop. Each item has install instructions and a verify command below.

  • Git
  • Go 1.24+
  • Docker (Docker Compose is bundled)
  • make
  • VS Code (with YAML extension)
  • GitHub account
  • Docker Hub account
  • Discord account

Windows users: do everything inside WSL 2. Install WSL first, then follow the "Windows (WSL)" path for every tool below. Open PowerShell as administrator to install WSL 2:

wsl --install

Run the following command to re-enter WSL after restarting PowerShell:

wsl

Install & verify

Git
  • macOS: brew install git (or let Xcode CLI tools install it on first git use)
  • Windows (WSL): sudo apt update && sudo apt install -y git

Verify:

git --version
# git version 2.x
Go 1.24+
  • macOS: brew install go
  • Windows (WSL): sudo snap install go --classic — or download from go.dev/dl

Verify:

go version
# go version go1.24.x darwin/arm64
Docker (includes Docker Compose)
  • macOS: brew install --cask orbstack, then launch OrbStack
  • Windows (WSL): install Docker Desktop and enable WSL 2 integration in Settings → Resources → WSL Integration. Run docker commands from inside your Ubuntu WSL shell.

Verify:

docker --version
# Docker version 27.x, build ...

docker compose version
# Docker Compose version v2.x
make
  • macOS: ships with Xcode CLI tools — run xcode-select --install if missing
  • Windows (WSL): sudo apt install -y make

Verify:

make --version
# GNU Make 4.x
VS Code

Then install the YAML extension from the Extensions panel inside VS Code.

GitHub / Docker Hub / Discord accounts

Sign up (no install needed):

Repository Structure

sre-workshop/
├── README.md               # This file
├── README.zh-TW.md         # Chinese version
├── Docker/                 # Docker workshop
├── CI-CD/                  # CI/CD workshop
├── Prometheus/             # Prometheus workshop
└── final-exercise/         # End-of-day capstone exercise

License

This material is intended for educational use within SDC workshops.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 93.0%
  • Dockerfile 7.0%