Star ๅކๅฒ่ถ‹ๅŠฟ
ๆ•ฐๆฎๆฅๆบ: GitHub API ยท ็”Ÿๆˆ่‡ช Stargazers.cn
README.md

DevOps Intro โ€” Modern DevOps Practices Through One Project

Course Project Duration Grading

A 10-week practical introduction to DevOps at Innopolis University. You will package, ship, observe, harden, and deploy one Go service โ€” QuickNotes โ€” across every lab. The discipline you learn here is the spine of modern production engineering.

๐Ÿ’ฌ "If it hurts, do it more often." โ€” Jez Humble


Course Roadmap

10 weekly labs + 2 optional bonus labs:

WeekLabModuleKey Topics & Technologies
1Lab 1DevOps Foundations & GitDevOps history, fork โ†’ branch โ†’ PR, signed commits (SSH 2.34+), PR templates
2Lab 2Version Control Deep DiveObject model, reflog recovery, reset modes, signed tags, rebase, bisect
3Lab 3CI/CDGitHub Actions (matrix, cache, OIDC); Bonus: GitLab CI mirror
4Lab 4OS & NetworkingOSI, DNS, HTTP, TLS, ss/dig/tcpdump/journalctl debugging
5Lab 5VirtualizationVagrant + VirtualBox, snapshots, cloud-init
6Lab 6ContainersMulti-stage Dockerfile, distroless, Compose, hardening
7Lab 7Configuration ManagementAnsible playbook to deploy QuickNotes to Lab 5 VM; ansible-pull GitOps preview
8Lab 8SRE & MonitoringGolden signals, Prometheus, Grafana, one good alert, Checkly
9Lab 9DevSecOpsTrivy, OWASP ZAP, SBOM, govulncheck reachability
10Lab 10Cloud Computingghcr.io push from CI, Render or GitHub Codespaces deploy (card-free), Cloudflare Tunnel comparison
โ€”Lab 11Reproducible Builds (bonus)Nix flake for QuickNotes; deterministic OCI image
โ€”Lab 12WebAssembly Containers (bonus)TinyGo + Spin/WAGI; perf comparison vs Docker

The Project: QuickNotes

A small Go 1.24 notes API. You don't write the app โ€” you operationalize it.

graph LR
    C["๐Ÿ’ป curl / browser"] -->|HTTP :8080| S["๐ŸŸข quicknotes<br/>Go 1.24"]
    S --> F["๐Ÿ“„ data/notes.json"]
    S -->|GET /metrics| P["๐Ÿ“Š Prometheus<br/>Lab 8"]
EndpointMethodReturns
/notesGETAll notes
/notes/{id}GETOne note / 404
/notesPOSTCreated note (201)
/notes/{id}DELETE204 / 404
/healthGET{"status":"ok","notes":N}
/metricsGETPrometheus text format

Stack: Go 1.24 + standard library (net/http, encoding/json). No third-party deps in the core app. Static binary, tiny container, clean WASM target.

See app/README.md for run instructions.


Lectures

12 lecture files in lectures/ โ€” 10 main + 2 bonus readings:

#TitleFile
1Introduction to DevOps: From Conflict to Collaborationlec1.md
2Version Control Deep Dive: Git Internals & Recoverylec2.md
3CI/CD: From it works on my machine to it works on every machinelec3.md
4Operating Systems & Networking: The Substrate Underneathlec4.md
5Virtualization: One Box, Many Worldslec5.md
6Containers: Same Kernel, Different Worldslec6.md
7Configuration Management with Ansiblelec7.md
8SRE & Monitoring: Reliability Is an Engineering Disciplinelec8.md
9DevSecOps: Shift Security Leftlec9.md
10Cloud Computing: Ship QuickNotes to the Real Worldlec10.md
R11Reading โ€” Reproducible Builds with Nix (bonus)reading11.md
R12Reading โ€” WebAssembly Containers (bonus)reading12.md

Each main lecture has a 15-question post-quiz in EN + RU (uploaded to the course quiz platform โ€” see Quiz leaderboards).


Technology Stack

Versions pinned to April 2026:

CategoryToolVersionIntroduced
Application runtimeGo + std lib1.24Week 1 (provided)
Gitgit2.49+Week 1
CI/CDGitHub Actions, GitLab CIโ€”Week 3
HypervisorVirtualBox7.1.xWeek 5
VM provisioningVagrant2.4.xWeek 5
ContainersDocker + Compose28.xWeek 6
Configuration MgmtAnsible10.xWeek 7
MetricsPrometheusv3.xWeek 8
DashboardsGrafana13.xWeek 8
Security scanTrivy0.59.xWeek 9
DASTOWASP ZAP2.16.xWeek 9
CloudRender / GitHub Codespaces + Cloudflare Tunnel (card-free)โ€”Week 10
(bonus) ReproducibilityNix Flakes2.xLab 11
(bonus) WASMTinyGo + Spin0.34 / 3.xLab 12

What Ships vs What Students Produce

The upstream course repo provides plumbing. Students produce skill in their forks.

PathShips in repoStudents produce
app/ (Go service + tests + Makefile + seed.json)โœ…
lectures/โœ…
labs/labN.md (lab specs)โœ…
.github/pull_request_template.mdโœ… Lab 1
.github/workflows/ci.ymlโœ… Lab 3
Vagrantfileโœ… Lab 5
app/Dockerfile, compose.yamlโœ… Lab 6
ansible/ (playbook, inventory, templates)โœ… Lab 7
monitoring/ (Prometheus + Grafana provisioning)โœ… Lab 8
docs/runbook/โœ… Lab 8
Security headers middleware, .trivyignoreโœ… Lab 9
cloud/ (deploy scripts, fly.toml)โœ… Lab 10
flake.nix, flake.lockโœ… Lab 11 (bonus)
wasm/ (main.go, spin.toml)โœ… Lab 12 (bonus)
submissions/labN.mdโœ… every lab

Lab Structure

Every main lab (1-10) follows the same shape:

TaskPointsDescriptionRequired?
Task 16Core step that advances the project. Future labs depend on it.Yes
Task 24 (3 in Lab 1)Deeper dive into the week's topic. Skippable โ€” won't affect future labs.No
Task 31 ptLab 1 only โ€” open-source community engagement (GH or GitLab)Lab 1 only
Bonus Task2Extension for motivated students (flat 2 pts each, no difficulty weighting).No

Bonus labs 11 & 12: Task 1 (4 pts) + Task 2 (4 pts) + Bonus Task (2 pts) = 10 pts each.

Submission Workflow

graph LR
    A[Fork course repo] --> B[Clone locally]
    B --> C[git switch -c feature/labN]
    C --> D[Complete tasks; sign commits]
    D --> E[Push to your fork]
    E --> F[Open PR โ†’ course main]
    F --> G[Submit PR URL via Moodle]

PRs target the upstream course repo's main, not your fork's main.


Grading

ComponentWeightWhat it rewards
Main labs 1-10 (Task 1 + Task 2 + Task 3-where-applicable)70%Diligent project work โ€” the floor for any serious student
Bonus tasks 1-10 (2 pts each, flat โ€” no difficulty weighting)14%Going above and beyond on weekly topics
Quiz leaderboards (5 rolling per-2-labs windows, top-10 share 1% pool each)up to 5%Engagement + excellence; rewards late-joining students too
Bonus labs 11 + 12 (4+4+2 pts each โ€” 10 pts each, 20 raw total)20%Mastering reproducibility + WebAssembly
Final exam30%Optional path โ€” written, comprehensive
Sum (capped at 100%)139%Multiple paths to A

What this produces in practice

ProfileMainL-bonusBonus labsExamQuizTotal
All Task 1 only, nothing else42%0%0%0%0%42%
All Task 1+2, no bonuses, no exam70%0%0%0%0%70%
Add all weekly bonuses70%14%0%0%0%84%
+ good quiz70%14%0%0%5%89% โ† just short of A
+ finish at least one bonus lab (10 pts โ†’ 10% of grade)70%14%10%0%5%99% (A)
+ both bonus labs (20 pts โ†’ 20% of grade)70%14%20%0%5%109% (capped 100%, A)
Or take the exam instead of bonus labs70%14%0%30%5%119% (capped 100%, A)
Do everything70%14%20%30%5%139% (capped 100%, A with overflow signal)
Coast (Task 1 only + lucky quiz)42%0%0%0%5%47%

Quiz leaderboards (the 5%)

Each lecture has a post-quiz on the course quiz platform. Quizzes feed 5 rolling leaderboards:

WindowLabs covered
1labs 1-2
2labs 3-4
3labs 5-6
4labs 7-8
5labs 9-10

Top-10 per window share 1% of the total grade.

Performance tiers

GradeRangeRequired to reach
A90-100All main labs + at least one of: bonus labs / exam (multiple paths)
B75-89Main labs + most bonuses, no extension work
C60-74Main lab Task 1 across most labs
D0-59Below expectations

Late submissions

  • Within 1 week of deadline: max 6/10 for that lab
  • After 1 week: 0
  • Bonus tasks and bonus labs: no late credit

Required Software

WeekAdd
1Git 2.49+, Go 1.24, an SSH client, a GitHub or GitLab account
3(nothing new โ€” CI runs in the cloud)
4tcpdump, ss (iproute2), dig, mtr, jq, optionally Wireshark
5VirtualBox 7.1.x, Vagrant 2.4.x
6Docker 28.x (Compose v2 built in)
7Ansible 10.x (Python 3.11+)
8(Prometheus + Grafana run in containers โ€” nothing host-side needed)
9(Trivy + ZAP run in containers)
10A Render account (free, GitHub sign-in); GitHub Codespaces if Render asks for a card; cloudflared for the Bonus tunnel
11 (bonus)Nix (Determinate installer recommended)
12 (bonus)TinyGo 0.34+, Spin 3.x

Repository Structure

DevOps-Intro/
โ”œโ”€โ”€ app/                      # QuickNotes Go service (provided)
โ”‚   โ”œโ”€โ”€ main.go, store.go, handlers.go
โ”‚   โ”œโ”€โ”€ *_test.go             # tests
โ”‚   โ”œโ”€โ”€ go.mod, Makefile
โ”‚   โ”œโ”€โ”€ .golangci.yml, README.md
โ”‚   โ””โ”€โ”€ seed.json
โ”œโ”€โ”€ lectures/
โ”‚   โ”œโ”€โ”€ lec1.md โ€ฆ lec10.md    # 10 main lectures
โ”‚   โ”œโ”€โ”€ reading11.md          # Nix bonus reading
โ”‚   โ””โ”€โ”€ reading12.md          # WASM bonus reading
โ”œโ”€โ”€ labs/
โ”‚   โ”œโ”€โ”€ lab1.md โ€ฆ lab10.md    # 10 main lab specs
โ”‚   โ”œโ”€โ”€ lab11.md, lab12.md    # 2 bonus lab specs
โ””โ”€โ”€ README.md                 # you are here

Students add (in their forks):

โ”œโ”€โ”€ .github/                  # Lab 1, Lab 3
โ”œโ”€โ”€ Vagrantfile               # Lab 5
โ”œโ”€โ”€ ansible/                  # Lab 7
โ”œโ”€โ”€ monitoring/               # Lab 8
โ”œโ”€โ”€ cloud/                    # Lab 10
โ”œโ”€โ”€ flake.nix                 # Lab 11
โ”œโ”€โ”€ wasm/                     # Lab 12
โ””โ”€โ”€ submissions/
    โ”œโ”€โ”€ lab1.md โ€ฆ labN.md

Key Books & Resources

  • ๐Ÿ“• The Phoenix Project โ€” Gene Kim, Kevin Behr, George Spafford (2013) โ€” DevOps via novel
  • ๐Ÿ“• The DevOps Handbook โ€” Kim, Humble, Debois, Willis (2nd ed 2021) โ€” the practitioner's manual
  • ๐Ÿ“• Accelerate โ€” Forsgren, Humble, Kim (2018) โ€” the scientific evidence behind DORA
  • ๐Ÿ“— Pro Git โ€” Chacon & Straub โ€” free at git-scm.com/book
  • ๐Ÿ“— Continuous Delivery โ€” Humble & Farley (2010) โ€” Jolt-award winner
  • ๐Ÿ“˜ Site Reliability Engineering โ€” Beyer, Jones, Petoff, Murphy โ€” free at sre.google
  • ๐Ÿ“˜ Docker Deep Dive โ€” Nigel Poulton โ€” practical containers
  • ๐Ÿ“˜ Ansible: Up & Running โ€” Lorin Hochstein & Renรฉ Moser (3rd ed)
  • ๐Ÿ“˜ Brendan Gregg โ€” Linux Performance โ€” the canonical map of Linux observability

Course Completion

By Week 10, you will have:

  • Forked, signed-committed, and PR-merged your way through 10 weeks
  • Built CI, containers, VMs, monitoring, security scans, and a real cloud deploy of the same Go service
  • Filed a blameless mini-postmortem after each lab
  • Maybe pushed yourself further with Nix and/or WebAssembly

The tools change every five years. The discipline doesn't. Welcome to DevOps.

๐ŸŽฏ Reference: this course's Spring 2026 structure mirrors the SRE-Intro standard (Innopolis University, completed Apr 2026). DevOps-Intro is the broader intro to how software is shipped; SRE-Intro is the deeper dive into keeping it reliable.

ๅ…ณไบŽ About

๐Ÿš€ DevOps intro elective โ€” 10 hands-on labs + 2 bonus building QuickNotes end-to-end: Git internals, CI/CD with GitHub Actions, OS & networking, Vagrant VMs, Docker, Ansible, golden-signal monitoring, Trivy + ZAP scanning, and free-tier cloud deployment.
ansiblebeginnerci-cdcoursedevopsdockereducationgitgithub-actionsgrafanahands-on-labsmonitoringprometheustrivyvagrant

่ฏญ่จ€ Languages

Go97.8%
Makefile2.2%

ๆไบคๆดป่ทƒๅบฆ Commit Activity

ไปฃ็ ๆไบค็ƒญๅŠ›ๅ›พ
่ฟ‡ๅŽป 52 ๅ‘จ็š„ๅผ€ๅ‘ๆดป่ทƒๅบฆ
22
Total Commits
ๅณฐๅ€ผ: 10ๆฌก/ๅ‘จ
Less
More

ๆ ธๅฟƒ่ดก็Œฎ่€… Contributors