- Published on
Woowangthon 17. Overwriting the Disks on Award Day
- Authors

- Name
- seren-wib
Contents
0. Introduction
Part 17 and the last post of the series. The regression test on submission day is in part 16, the disk images taken at the start for this very return are in part 3, and the big picture is in Woowangthon 0.
The contest ended on November 21, and the three borrowed school PCs had to go back in the state we received them. Deleting, one by one, what I had installed over three weeks would be easy to get wrong, so I chose to overwrite them with the disk images taken at the start.
In restaurant terms, it is emptying a borrowed kitchen before handing it back. You restore it to the photos taken before opening, take out the recipe notes you want to keep, cancel the credit accounts with suppliers, and return the keys last. The kitchen photos are the disk images taken with Clonezilla plus the BIOS photos, the recipe notes are the leader's Prometheus metrics data, the credit accounts are the Cloudflare Tunnels, keys and certificates left in the cloud, and the keys are the device entries in the Tailscale admin console.
We submitted with the 18:00 commit on November 15, and at the finals on November 21 team 18 won the Excellence Award (School of Electrical Engineering Head's Award). That evening I moved the leader's metrics to an external disk, deleted what was left in the cloud, and overwrote the three PCs. Removing them from the admin console on November 26 finished the return on the school side.
1. Submission, finals and the award
| Date | What |
|---|---|
| November 15 18:00 | Submission deadline. Judged on the main commit at this time |
| November 16~20 | Preliminary judging, 10 teams picked for the finals |
| November 21 13:00~ | Finals. Each team gets a 10-minute talk (demo video included) and 5 minutes of Q&A |
On the morning of submission day I ran the demo path again from start to finish on the new main, and that afternoon I fixed two failures and passed them on a rerun. That story is part 16. Judging used the 18:00 commit after that.
The finals started at 13:00 on Saturday, November 21. In the Q&A after the talk, I answered part of the cluster questions. Since the design runs student services on three school PCs, I expected questions like what happens if the leader goes down, or how many students it can take. So I took the infrastructure questions from the team's list of expected questions and put them in one document I could read on my phone right before the talk. A Claude Code session put the document together, and I decided which questions stayed or went and which answers to rewrite shorter. 14 questions were left.

AI WOOWANG THON Final Round, November 21. I am in the middle. My teammates' faces on either side are masked
Out of the 10 teams in the finals, team 18 (3 people) won the Excellence Award (School of Electrical Engineering Head's Award). The hosts were the CBNU AI Bootcamp program (충북대학교 AI부트캠프사업단) and LIKELION CBNU (충북대학교 멋쟁이사자처럼).
2. My part of the cluster
Parts 2 through 16 of this series are the story of the school PC cluster I was in charge of. I built the cluster from start to finish. Grouped by stage:
| Stage | What I did | Post |
|---|---|---|
| Design | A network design that flipped four times: classroom PCs to dedicated PCs, Wi-Fi to the wall port | Part 2 |
| 1 Image backup | Imaging all three disks with Clonezilla before changing anything, with verification | Part 3 |
| 2 Remote access | A way in from home over Tailscale, an SSH key per device, booting back up after a power loss | Part 4 |
| 3 Node prep | Config changes that roll themselves back if the link drops, node addresses, firewall | Part 5 |
| 4 Cluster | k3s install with flannel host-gw, reboot test, vLLM on the leader GPU, the leader image cache | Part 6, Part 7, Part 8 |
| 5 Student spaces | The space template, resource limits, proving the blocks with a control space | Part 9 |
| 6 Connect to the outside | The Cloudflare Tunnel and visitor addresses, the platform server account, the deploy executor on the leader, the EC2 joining the tailnet, GoCD registration | Part 10, Part 11, Part 12, Part 14, Part 15 |
| 7 Monitoring | Prometheus and Grafana, the platform server's path to query metrics | Part 13 |
| Pre-submission check | Demo-path regression test on the new main, fixing two bugs that only showed when runs overlapped | Part 16 |
| End: return | This post | Sections 3–7 |
3. What set the return order
This is where the reason for choosing a disk image over "deleting things one by one" in part 3 pays off. I don't have to delete, item by item, the k3s, student data, public keys, sudo settings and Tailscale installed on the three PCs over three weeks. One restoredisk brings a disk back to the state imaged on November 4, which is the state we received.
There are things an image can't erase, though. They set the order.
| Order | What | Why it has to come first |
|---|---|---|
| 1 | Back up leader data | restoredisk erases the leader disk. Anything worth keeping has to leave first |
| 2 | Cloud cleanup | Cloudflare Tunnels, keys and certificates live outside the disk. They survive an overwrite |
| 3 | restoredisk ×3 | Back to the disk as received |
| 4 | Put the BIOS back | BIOS settings live on the motherboard, not on the disk |
| 5 | Remove from admin console | Delete only after seeing that the three will never come back |
4. What I kept before the overwrite
The leader held about 10 days of cluster metrics that Prometheus had collected since the night of November 11. An overwrite would erase them, so they came out first.
| File | Size | Content |
|---|---|---|
prometheus-tsdb.tar | 4.76 GB | Prometheus data. 17 blocks, November 11 22:54 ~ November 21 18:39 |
grafana-data.tar | 58.6 MB | Grafana dashboards and settings |
cluster-state.txt | Cluster state right before the overwrite | |
prometheus-cr.yaml | Prometheus configuration |
I stopped Prometheus and Grafana before copying. Archiving a data folder while it is being written can capture a half-written block. The copy took 16 seconds, and I remounted the external disk and compared SHA-256 values. All three files matched. This backup currently lives on that one external disk only.
5. Cloud cleanup
These are the things left outside the disks. I handed this job to a Claude Code session, and I checked the list of what to delete and decided how to proceed.
| Where | What was deleted |
|---|---|
| Cloudflare | 4 DNS records (wildcard, api., app., certificate validation), 2 tunnels (the leader's visitor entrance, the EC2's api. entrance) |
| AWS SSM | 8 parameters. Tunnel token, vLLM API key, GoCD auto-register key, admin password and notify token, the server account's connection details |
| GoCD | Scaled the leader executor to replicas 0, then disabled and deleted the leader GoCD Agent on the server |
| AWS ACM | Detached the app. address and certificate from CloudFront, and deleted the certificate once nothing used it (18:47) |
| Tailscale | 1 EC2 device, 6 shares on the three nodes (one teammate plus one share link per node) |
| AWS Elastic IP | Confirmed none was ever created |
The ACM certificate didn't delete right away. Deletion is refused while a CloudFront distribution still uses the certificate. So I detached it from CloudFront first, and deleted it after that change had deployed and the certificate's users (InUseBy) dropped to 0.
The student service images (GHCR) and the registry write token belong to the bot account, so that account's owner cleans them up. The Grafana view-only password went away with the leader disk.
6. Overwriting the three PCs
On site, I booted each PC from the Clonezilla USB and ran restoredisk. The source is the image taken in part 3, and the target is the internal NVMe. From imaging on November 4 to the overwrite on November 21 is 17 days.
| PC | Image | Target | Check |
|---|---|---|---|
| Worker 1 | k3s-w1-orig-2026-11-04 | nvme0n1 931.5G | Image check 3 min 44 s (9.00 GB/min), Cloning finished |
| Worker 2 | k3s-w2-orig-2026-11-04 | nvme0n1 931.5G | Target confirmed with lsblk before the restore |
| Leader | k3s-leader-orig-2026-11-04 | nvme0n1 931.5G | Target confirmed with lsblk before the restore |
The same trap as imaging sits here, pointing the other way. In part 3 the device names differed from PC to PC. Picking the wrong target this time would overwrite the external disk that holds the images. So before each restore I checked size and model with lsblk and picked only the 931.5G internal NVMe as the target.
For worker 1 I recorded the check time and the completion screen. For worker 2 and the leader I only confirmed that the restore and boot finished, and didn't keep a record of the target disk screen or the check time.
7. BIOS reset and the admin console
I had changed one thing in the BIOS. In part 4 I set "Restore after AC Power Loss" to Power On so the PCs would come back after an outage. On all three I set it back to Power Off as in the part 3 photos, saved, booted normally, and saw the same screen as when we received them.
With Tailscale wiped by the overwrite, the three PCs sat offline in the admin console from November 21. On November 26 I removed them under Machines in the console (6 devices to 3). The k3s-* entries in the ACL made for the nodes and the teammate share rule went out the same day, when I rewrote the ACL. The return stage's done criterion, "all three exactly as in the first images, BIOS matching the photos", closed here.
8. Reflection
One disk image taken at the start stands in for most of the return list, so prepare the return on day one.