logo
Published on

Woowangthon 0. Building a Student Deploy Platform on School PCs

Authors
  • avatar
    Name
    seren-wib
    Twitter
Contents

0. Introduction

This is the first post in a series about team 18, Wangganae Sikgudeul, at the 2026 AI Woowangthon. I wrote it so that someone seeing our project for the first time can get the "what, why and how" from this one post. The contest and the return are over, and part 17 closes the series. I last updated it on November 26.

When students build a web service in a project course, they deploy it themselves on a commercial cloud, and when they pass the free tier they pay out of their own pocket. When the course ends, the service usually goes down with it. Meanwhile the lab PCs sit idle outside class hours. So we decided to tie three school PCs together into a platform where students deploy for free.

In restaurant terms, the students are customers and the three school PCs are a borrowed kitchen. A customer hands in an order slip (the repo URL), an inspector checks the ingredients (the code) first, the owner decides whether to accept it, and the head chef hands the dish to one of two cooks. Customers only come and go through the front door, and the kitchen's back doors are all shut. The kitchen is the cluster, the head chef is the leader, the cooks are the workers, the front door is Cloudflare Tunnel, the back doors are ports, a boxed-up dish is a container image, the inspector is AI, and the owner is the operator.

This is the first post of the series. It covers the contest theme and the problem we solve, the flow and structure of the platform, my role, where we are, and the series index. I took the cluster and finished all seven stages, we won the Excellence Award at the finals on November 21, and the return was done on November 26.

System architecture diagram. The browser loads the React pages from CloudFront and S3 and calls the NestJS server on EC2 through a Cloudflare Tunnel; that server uses Supabase, the AI server and GoCD, and over Tailscale drives the k3s leader on the three school PCs that runs the student Pod on a worker, which visitors reach through a second Cloudflare Tunnel and Traefik

1. What is Woowangthon

It's a three-week hackathon run by LIKELION Chungbuk National University and the Chungbuk National University AI Bootcamp program. There is one theme.

Can AI be a coworker?

The organizers gave three examples. A coworker that keeps track of your graduation requirements, a coworker that checks in on elderly people, a coworker that catches defective products first. All three have the same shape: AI filters and suggests first, but a person makes the final call. They also ask "how is this different from what already exists?"

DateEvent
October 24Online kickoff
November 15 18:00Submission deadline. Judged on the main branch commit at this time
November 16~20Preliminary judging, 10 teams picked for the finals
November 21Final presentations

Two of the rules come up a lot in this series. One is don't dress up results. You can't show fake data or pre-made screens as if they were real, and if you have to use them, you mark them in code and list them in a doc. The other is say where you used AI. Models, external APIs, and even the places where we didn't use AI all go in a doc.

2. The problem we are solving

The users are students. When you build a web service in a project course, you deploy it yourself. You put it on a commercial cloud like Vercel, AWS or Cloudflare, and when you go over the free tier, you pay out of your own pocket. When the course ends, the service usually goes down with it.

ProblemDetails
Cloud costs are a burdenThe moment you pass the free tier, money comes out of the student's own card
School computers sit unusedLab PCs are off or idle outside class hours
Courses stop at deploymentYou learn to deploy, but running it afterward (outages, monitoring) is never covered

3. What we are building

A deploy platform where students run their own GitHub repos on a server made by tying school PCs together. A student only submits a repo URL and pays nothing. Before a deploy, AI checks the code for security risks first, and if a service starts acting strange while it runs, AI explains the cause in plain words.

From the student's side, one deploy goes like this.

  1. The student logs in with a GitHub account, enters a public repo URL, picks a type (static web / server / web+server) and, if they use a DB, the connection details for their own DB, and submits
  2. AI reviews it. It pulls the repo read-only and looks for risks like exposed secret keys or overly broad public permissions, with evidence. If something needs fixing, a bot account opens a PR with a suggested fix
  3. The operator decides. They read the review summary and pick one of approve, request changes, or block
  4. Only approved code gets built into a container image, on an isolated build server outside the school
  5. The school PC cluster pulls that image and runs it. The app connects to the student's own DB with those details
  6. Visitors come in through a name.stairnoworks.com address
  7. If something goes wrong while it runs, like running out of memory or restarting over and over, rules stop or restart it first, and AI sends an alert explaining the cause and what to do next

4. What AI does, what people decide

This is our answer to the contest theme. We don't hand decisions over to AI.

SituationWhat AI doesWhat people decide
Pre-deploy reviewFinds security risks in code and config and reports them with evidenceThe student fixes or pushes back, the operator decides on approval
Metric anomaly in productionGuesses the cause of the anomaly, explains it in plain words, suggests a next stepPicks the action: restart, stop, or roll back

How we differ from what already exists also comes out of this table. On commercial clouds the student pays, and commercial AI deploy helpers (Vercel Agent, AWS's security and ops agents, that kind of thing) are paid and aimed at companies. We run on school PCs so students pay nothing, and every deploy gets a review and anomaly analysis without any extra setup.

There is one more AI coworker in this series. It's the AI coding agent (Claude Code) that typed commands and edited the plan next to me while I set up the cluster. It got some things right, and once it threw the design off course because of an assumption it made on its own. I write that down too and don't hide it.

5. Overall structure

The platform lives in the cloud (AWS), and only student services run on the school PCs.

ZoneComponentTechWhat it does
Cloud (AWS)User Page, Admin PageReact + TypeScript, S3 + CloudFrontDeploy screen for students, approval screen for operators
Platform serverNest.js, EC2Takes requests, asks for builds, tells the school cluster to deploy
AI serverFastAPI, EC2Pre-deploy review, anomaly analysis
BuildAWS CodeBuildTurns student code into images. The only outside step where student code runs
DB · loginSupabaseGitHub login, stores review results and deploy status
Message queueKafkaKeeps deploy records from getting lost
ExternalContainer registryGHCRStores built images
SchoolClusterk3s, 3 school PCsRuns student services
School ↔ outsidePrivate networkTailscaleHow the platform server and operators reach the school PCs
Public tunnelCloudflare TunnelHow visitors reach student services
SchoolMonitoringPrometheus, GrafanaNode and service metrics

There is one important assumption on the school PC side. We don't open a single inbound port into the school. The PCs sit behind the school firewall, so nothing outside can start a connection to them. That means every connection to the outside is started by the school PCs, going out. Operators and the platform server come in over the Tailscale private network, and visitors come in through the Cloudflare tunnel.

The cluster looks like this.

PCRoleWhat it does
PC 1LeaderCluster control, public tunnel, image cache, metrics collection. Takes no student services
PC 2WorkerOne student project
PC 3WorkerOne student project

The three are wired with LAN cables to one switch we bought. If a worker goes down, the leader brings that project back up on the remaining worker. The DB is the student's own and lives outside the cluster, so there is no data to move with it. There is only one leader, so if the leader goes down, new deploys stop. With only three PCs, we accept that.

6. The team and my role

The team name is Wangganae Sikgudeul, team 18. We keep the web (FE/), the platform server (BE/), the AI server (AI/) and the cluster (Infra/) together in one repo. In this series I refer to teammates by their GitHub IDs. You'll see TaeTaeJin, who handled the doc structure and the initial web and server setup, and suda5936, who handles the AI server (pre-deploy review and anomaly analysis).

I (seren-wib) took the school PC cluster. That means taking three PCs and turning them into a k3s cluster that can run student services, building the paths for the platform server and visitors to reach it, and, when the contest is over, putting everything back exactly the way we got it. From part 2 on, this series is mostly about that.

7. Where we are now

DateWhat happened
October 24Kickoff
October 26~28First PRs. The design doc I put up on my own got closed, and we redid the team doc structure (part 1)
October 31System definition merged. Bought a switch and LAN cables
November 1~3Agreed on the registry and how servers connect. Four cluster ADRs. Web project setup. Got the 3 school PCs
November 4Took disk images of all three in the club room (part 3). Server project setup
November 5Internet through the wall LAN port, and remote access to all three from home (part 4)
November 6Node prep: names, node addresses, firewall. Cluster design doc PR (part 5)
November 7~8k3s install and reboot test (part 6). Builds run on AWS, and students bring their own DB
November 9Team meeting: deploys run from an executor on the leader, logs are kept as snapshots. A local model on the leader's GPU (part 7)
November 10Image cache on the leader. One second for the second worker; refused vs no answer, caught by the review bot (part 8)
November 10Student space template: security level, resource caps, blocking rules. Proving the block with a control space (part 9)
November 10Cluster side of stage 6: platform server account, admission policies, private network access rules. The server is not on the private network yet (part 11)
November 10Visitor address open: Cloudflare Tunnel, Traefik on both workers, demo.stairnoworks.com. Worker-off and internet-cut tests (part 10)
November 11Stop · resume · restart rights for the server account (part 11). The deploy executor on the leader: executor account, admission policies, Pod manifest. The executor Pod starts once the server exists (part 12)
November 11~12Metrics: Prometheus and Grafana on the leader, the server's query path, a public Grafana address for the operator page (part 13)
November 12The EC2 joins the private network by approval, with no key. Access rules checked, server-account checks from the EC2, the api. address opens, the leader called through the server code (part 14)
November 12The GoCD server is up on the EC2. A three-key Secret and the apply for the leader's executor, a first registration that took 6.5 minutes. The deploy pipeline hasn't run yet (part 15)
November 13~14The team connected a deploy pressed on the platform all the way to a student space for the first time
November 15Demo-path regression test on the new main (T15–T43). Two bugs that only showed when runs overlapped were fixed and passed a rerun, one left as a known limit. The 18:00 judging commit (part 16)
November 21Finals. Team 18 won the Excellence Award (School of Electrical Engineering Head's Award). Leader metrics backup, cloud cleanup, the three disks overwritten and the BIOS put back (part 17)
November 26The three nodes removed from the admin console. Return done (part 17)

I split the cluster build into seven stages, and all seven are done. On November 13~14 the team connected a deploy from the platform to a student space for the first time, and on November 15 I ran the demo path again from start to finish on the new main. A deploy pressed on the platform came up at its public address in about 160 seconds, and alerts from the leader's Prometheus reached the operator page through the platform server. At the finals on November 21 we won the Excellence Award, and the same day the three PCs were overwritten with the images taken before we touched them. Removing them from the admin console on November 26 finished the return.

StageTaskDone whenStatus
1Image backupFull disk images of all three taken and verified✅ Done
2Remote accessPasswordless login to all three from my home desktop and laptop✅ Done
3Node prepAll three reach each other by node address, and inbound connections from the school network are blocked✅ Done
4Bring up the clusterAll 3 nodes Ready, they come back after a reboot with no one touching them, and a local model runs on the leader's GPU✅ Done
5Frame for student appsA test app runs on a worker and can't reach the school network or other students' spaces✅ Done
6Connect to the outsideDeploys work from the platform server, and the visitor address opens✅ Done
7MonitoringMetrics are visible and can be queried from the platform server✅ Done
EndReturnOverwrite with the images and put the BIOS back the way it was✅ Done
PostContents
Woowangthon 0. Building a Student Deploy Platform on School PCs (this post)What, why and how
Woowangthon 1. Fighting Over Docs Before CodeThe first ten days through PR history. Closed PRs, doc rules
Woowangthon 2. The Network Design That Flipped Four TimesFrom classroom PCs to dedicated PCs, from Wi-Fi to the wall port
Woowangthon 3. A Way Back Before Touching AnythingThe day we got the PCs. Disk images and BIOS
Woowangthon 4. Getting Into the School PCs From HomeMisdiagnosing the wall port, Tailscale, unattended reboots
Woowangthon 5. Work Where One Mistake Means a Walk to the Club RoomAutomatic revert, node addresses, firewall, design doc review
Woowangthon 6. When the First Address on the Card Belongs to the Schoolk3s install, flannel host-gw, side roads around the firewall, reboot test
Woowangthon 7. When 16K Didn't Fit in 10 GBThe deploy design the meeting changed, leader GPU, vLLM, FP8 KV cache
Woowangthon 8. Refused Is Not the Same as No AnswerLeader image cache, hostNetwork, the no-answer test, where W6 goes
Woowangthon 9. How Do You Know It's BlockedStudent space template, cap math, control space test, false PASS
Woowangthon 10. Not Half of the Requests Failed, All of ThemCloudflare Tunnel, stairnoworks.com, worker-off and internet-cut tests, server addresses
Woowangthon 11. Write-Only Was Not Write-OnlyPlatform server account, admission policies, a Secret readable through an empty patch, stop · resume · restart
Woowangthon 12. A Deploy Executor Built Before Its ServerGoCD Agent on the leader, one binding per space, externalIPs and nodeName, testing without the server
Woowangthon 13. Closing Grafana, Then Opening It AgainPrometheus and Grafana install, service proxy 422, the open metrics namespace, a public Grafana address and its self review
Woowangthon 14. The Day Connection Refused Was Good NewsThe EC2 joins the private network, access rules read through refused and timed out, server-account checks from the EC2, the leader through the server code
Woowangthon 15. Not Broken, Just SlowGoCD server registration, Secret keys that were three not two, moving them without printing, a 6.5-minute first boot over a relay path
Woowangthon 16. Fine Alone, Broken in PairsThe demo-path regression test on submission day, an AI fix that failed only when overlapping, leftover failed slots, two fixed and one left alone
Woowangthon 17. Overwriting the Disks on Award DaySubmission and finals, the Excellence Award, a summary of my part, the leader metrics backup, cloud cleanup, restoredisk and the BIOS

Part 16 closed the build stages, and part 17 closed the contest and the return. The series ends here.

WhereContents
woowangthon/WOOWANGTHON_TEAM_18Team repo. The one that gets judged
Team NotionMeeting notes, to-dos, doc copies

9. Reflection

I finished all seven stages, won the Excellence Award at the finals on November 21, and completed the return on November 26.