Thuta Learning
← Back to the lesson

DevOps Hands-On Lab

Run the Photo Service yourself and try out testing, releasing, and rolling back.

1. Get the lab files

The ZIP contains the lesson, service, tests, Docker, Terraform, and Kubernetes files.

Download starter ZIP ↓

2. Open a terminal

Unzip the file on your own machine and start from inside the thuta-devops-lab folder. You'll need Linux or WSL, plus Node.js 22+.

To try it in the browser instead, sign in to GitHub and create a Blank Codespace. Drag the ZIP into Explorer, then run the two commands below in the terminal. Codespaces usage and storage come out of your own account quota.

Open GitHub Codespaces ↗
unzip devops-lab-starter.zip
cd thuta-devops-lab

3. Run your first incident

npm test
npm run lab:incident
npm start

The same 2 MiB request should return 200 on v1, 413 on v2, and 200 again after the rollback. Open port 4173 and try the app test. In another terminal, double-check with npm run lab:smoke.

4. Continue with the infrastructure lab

To use a Codespace with the full toolset, put every file from the unzipped folder — including .github and .devcontainer — at the top level of your own GitHub repository. Open a new Codespace from that repo. The steps for the Docker build, Terraform plan, and starting the Kubernetes cluster are in the README.md inside the ZIP.