Talking Cloud Episode 69 · November 25, 2026

A Teacher Runs an Online High School for $25 a Month

Bedrock wouldn't initialize in Greg's production account, so the school's LLM calls moved to open-weight models on DeepInfra and the cost per student fell from about $2 to 2 cents. The whole school runs on Lambda, CloudFront and the free tier for about $25 CAD a month per stack.


Top-Line Summary

Greg Senyshyn is an Ontario teacher who wrote a learning management system from scratch and runs a private online high school on Lambda, CloudFront, DynamoDB and SQS for about $25 CAD a month per stack. Bedrock refused to initialize in Greg’s production account and free-tier support couldn’t help, so the school moved to open-weight models on DeepInfra and cut LLM cost per student from about $2 to 2 cents. We also get into Greg’s tone system with a built-in slop linter, why AI is a tool for generalists, and how to keep agent context lean.

Show Video

The “Pre-Show” Context

I had to check my cheat sheet again this morning to remember which episode we’re on (69), and it’s somehow the last one of November. Greg and I met about three weeks ago at a local dev conference. Before we got going we traded BBS stories: Greg dialled into a friend’s board on the family 486SX33, and I ran a Wildcat BBS off a Commodore 64 with a guy who drilled toggle switches into our 1541 drives so we never had to flip a floppy, after we’d saved for ages to buy them.

The Engineering Rundown

  • Meet Greg (00:41)

    Greg has been a teacher since 2007 and has been messing with computers since before the World Wide Web. After COVID, online school went from something nobody would consider to a real option, and Greg figured a school could probably be automated. It’s gone pretty well so far. Greg also runs Ontario Literacy, a practice site for the grade 10 literacy test, as a branch of the same work.

  • Why Start a Private Online School (05:14)

    The minimum enrolment to start a private school in Ontario is five students, which surprised both Travers and me. Greg already knew the teaching side, so the question became: can I get a website and five kids? The reasons for leaving the classroom: it got much harder to manage after COVID, and a lot of the job had become checking boxes to satisfy lawyers with nobody actually accountable. Students who opt in are a different crowd. Once Greg read the documentation on what it took, not trying stopped being an option.

  • Why AWS, and Why Serverless (08:47)

    Greg loved FreeBSD through university, then found S3 hosting and realised most of the work could be skipped, with AWS handling the security patching. I sympathised: GitLab sent me its third critical security notice this month, when one patch cycle a month is normal. A teacher with a day job has no time to troubleshoot, so everything is free tier where possible and close to zero maintenance. The school runs a prod and a dev stack at about $25 CAD a month each. Ontario Literacy had about 40,000 grade 10 students in the last 60 days and still costs under a dollar a day, because it’s all CloudFront and Lambda.

  • A Course Factory and $50 Units (11:24)

    The Ministry publishes the curriculum for every course, and it’s the teacher’s job to turn that into lessons. Online schools usually either rent third-party content behind a WordPress site (mediocre, and you don’t control it) or pay people tens of thousands of dollars per course. Greg built a course generation pipeline that produces a blank to work from: instead of starting from a tree, you start from a blank guitar. Owning the LMS also means not being stuck with the pay-up-front model commercial LMSes build for public schools and universities. Students pay $50 per unit they submit, and with no content to rent, the school charges about half of a typical $600 online course.

  • The Stack: DynamoDB, SQS, Cognito and Free Canva (14:17)

    Beyond CloudFront, S3 and Lambda, the LMS uses DynamoDB, SQS, CloudWatch alarms and a stack that talks to DeepInfra. Authentication is Cognito. A registered school gets Google Workspace for Education and Canva for free, so Greg set up an OIDC authorizer: sign in through Cognito and you’re also authorized for Google and Canva, and you can move between them without logging in again. Most of it sits inside the perpetual free tiers for Lambda and SQS.

  • A Year of Agentic Coding (16:42)

    The LMS started as some rough Bash scripts. About a year ago Greg asked an AI to build the UI as a joke, expecting a laugh, and the result was better than anything Greg could do by hand. I had the same experience, and I was lukewarm on all this when we restarted the podcast around this time last year. I mostly used it to replace Google search. Twelve months later it runs for hours and designs interfaces. Travers and I also traded notes on Steve Yegge’s new talk on the AI Engineer channel (tokens are your fuel). Travers can’t judge: a new Gemini signup means paying all three labs now.

  • AI Is a Tool for Generalists (19:50)

    This is the school’s fourth year. It started on Google Workspace with Apps Script, because Google backs it up and Apps Script isn’t going to go down. Greg has used AWS since 2013, trying about four services a year, so knows how the pieces fit without deep expertise in any one of them. That’s what makes AI useful: “let’s turn everything into SQS queues” just happens, where setting it up by hand wouldn’t have been worth the time. The school never loses a message now. Greg’s take is that AI is a great tool for generalists.

  • Why DeepInfra Instead of Bedrock (22:02)

    DeepInfra is an open-weight model provider, similar to OpenRouter. Greg started on Gemini because it came with the school’s Google account, then read about people getting $80,000 Gemini bills overnight and got scared off. Bedrock worked in the dev account but wouldn’t initialize in prod, and free support only said to click around in the console. I hit the same wall trying to enable Haiku 5.5. My support ticket went nowhere, so I found the account-level quota was zero and filed a quota increase with a use case of about 50 calls a month for internal testing. A couple of hours later an automated email said no, to ensure reliable access for everyone. I’ve made a note to try again in January and I’m stuck on 4.5 for now. My guess is capacity, or new models going to big customers first.

  • Open Weights: $2 to 2 Cents per Student (25:07)

    Greg’s history course works like a text RPG. Each student gets a story starter about an 18-year-old in 1914 and a list of curriculum-based research questions, researches what they’d like to happen to their character, writes a critical analysis of a source, and an LLM writes the next chapter. Moving to open weights took the cost per student from about $2 to about 2 cents. That made it cheap enough to add LLM feedback to Ontario Literacy’s practice tests. Greg put $20 on DeepInfra and a couple of months later had used less than a dollar. Text runs on Gemma 4 and images on FLUX schnell, kept small. Nothing is mission critical: if a kid gets a weird generation, it’s just funny in their story.

  • Compliance From a Repo (27:20)

    Greg is impressed with the Ontario Ministry of Education. The new grade 9 English curriculum treats media as a text with equal weight to writing, and the gap is teachers picking it up, not what the curriculum allows. Earlier this week an inspector gave a day’s notice of a visit. Everything is in a database, so Greg had the agent build an inspector interface with everything they’d want to see, and the inspector loved it. When the Ministry issues an update (a PPM), Greg asks the LLM to find every place in the school’s curriculum that doesn’t comply and fix it, which takes about a minute instead of digging through PDFs and re-exporting from InDesign. The repo holds a SQLite full-text search database of the relevant laws and Ministry documents, so the agent can reference them directly. It’s essentially domain-specific RAG.

  • Cognitive Surrender and the Five-Essay Assignment (30:36)

    Travers asked how to stop students handing their learning to AI. Greg’s answer is that AI raises the bar. An essay used to take three or four hours to write, and now you could produce a thousand in that time. So students generate five essays in different styles, explain what they like about each, combine the pieces, and rewrite until at least 50% is their own. Greg writes the same way now. I described my own approach: I keep feeding a model examples of how I actually write (emails, Slack messages) as “my voice,” then have it draft and cross out what’s wrong. Every so often I read a draft and think I’d never say that in a thousand years.

  • A Tone System With a Slop Linter (33:39)

    Greg picked four or five writers worth copying, had the model write bullet-point instructions for writing like each, found what they had in common, mixed and matched, then split the result into four levels of formality, from talking to us on the show up to course writing. Everything it writes then goes through a curated list of LLM slop indicators (em dashes, “not X but Y” and many more), gets flagged, and the flagged parts are rewritten. Greg says it isn’t hard to build and is the best way to get a model writing like you. I admitted I misused dashes for most of my life and now strip them out so nobody thinks a bot wrote it. Greg’s fix: use a semicolon and look even fancier. My nephew, watching on Twitch, says half their Discord messages are full of dashes.

  • I Don’t Write Documentation Anymore (37:25)

    Travers is still working out which writing to do by hand and which to hand to an agent. Docs are an easy handover. I don’t write documentation anymore. Tonight I pointed an agent with read-only access at an account: read the repo, don’t treat the code as the truth, compare it with what’s actually deployed, flag any drift, then write an as-built. The architecture and data flow diagrams look good and hold up when I sanity check them. I also have it act as a cloud ops person and write runbooks for the ten most common problems, which are harder to validate because you don’t hit those issues often. You still have to read all of it. I read far more than I used to.

  • Greg’s Brain: SQLite, Small Files and ADRs (40:12)

    Greg’s system is SQLite databases, files kept under a thousand lines each, and a tightly curated set of architecture decision records. Wherever two systems meet, the contract between them is documented so the agent can make decisions about things outside its context window. The goal is to keep context as lean as possible at every step. It started as separate repos with git submodules, which was a nightmare when Google’s Jules cloned into a cloud VM and didn’t pull the submodules, so it all moved to a monorepo. Now, whenever something takes a long time, Greg asks the agent why and what would make it faster.

  • Retros, Cost Thresholds and Loose Ends (42:44)

    That reminded me of continual service improvement from ITIL. My retro skill reviews a session and suggests improvements, but I get ten items and act on one or two, so I’m thinking of having a second agent judge them and just do the worthwhile ones. Travers ranks them and uses a cost limit of about $5 a month: under it, just do it. My cost agent uses $10. Greg’s view is that it’s worth paying to have a clean mind. My bigger problem is loose ends across all the sessions and agents I have running, which I end up thinking about at 11:30 at night. Greg just spent two days doing nothing but tying up loose ends, and says the mental space you get back is worth it. Travers suggested an agent, which turned into a gardener agent that prunes instruction files, where agents keep adding details like a specific load balancer that could change tomorrow. Travers: minimize the context and you minimize your spend.

  • Sub-Agents Without the Baggage (48:37)

    Follow-up from last week, when I kept burning through my limits after I started using sub-agents in Claude. As I understand it (I hope I’m not mixing this up), sub-agents inherit the parent’s context, so they can start with a huge number of tokens. I actually read the documentation and found project settings that give sub-agents only the subset of connectors and MCP tools they need, so they start with a much smaller context. I haven’t hit the five-hour limit in about a week, though I didn’t check my usage before the show.

  • Travers Tries Gemini Neon (49:55)

    Travers signed up for Gemini after running out of tokens elsewhere, and so far finds Neon, Google’s newest model, better than Opus. It’s paid through a Google account subscription, with no Google Cloud account needed, which answered my half-joking question about how anyone manages to give Google their money. Travers thinks Google has woken up as a real AI lab, at least for agentic work.

  • What AI Does to Education (50:53)

    Greg thinks AI makes education much more personalized: build a solid course spine, and an LLM can meet each student where they are for the last stretch. The teacher used to know the most in the room. Now the phone does, and a subject matter expert on YouTube explains it better in their own words, so the teacher’s job becomes context and giving kids room to fail safely. That’s hard for a generation raised with fewer chances to fail and whose failures get broadcast to everyone. Greg’s students role-play their answers with an LLM, then deliver them on video, because an LLM can write an essay and it doesn’t mean anything anymore. Greg makes music, and loses interest in a song the moment it turns out AI made it. I mentioned a music streaming service (I think it was Tidal) pulling something like 90,000 AI tracks this week; I haven’t checked that. Greg’s line: AI content is great for you personally, but anything meant for a lot of people still needs a human attached.

  • Human Writing, Shorts and Where the Eyeballs Are (55:06)

    That’s exactly Travers’ struggle with blog posts. I pointed to Monica Colangelo’s accidental human firewall piece as long-form writing I’m confident a person wrote, even though it takes me a couple of sittings with agents beeping at me. My answer: a human types it and the LLM edits. Greg’s alternative is to have an LLM write 80% of a script, touch up the other 20%, record yourself saying it, and cut it into clips. I had an LLM write me a Chrome extension that removes YouTube Shorts entirely because “show fewer” only lasted a couple of days. Greg’s point: short form is where the eyeballs are. When I complained Shorts are all pranks at Home Depot, Greg said that’s what people watch.

  • Travers’ Graph-Based Agent Sessions (58:05)

    Travers is working on my dashboard problem. The idea came from Twitter: organize agent sessions as a graph, starting with a node for a prompt session, then fork it into sub-sessions for different branches of the project and navigate between them. Travers shared screenshots with me this week and the dashboard looks great.

  • Is It Snowing? Weather From My Security Cameras (59:48)

    An AWS Hero (I couldn’t remember their name on air) has a site that just answers whether it’s snowing where they are, in garish colours. My version: every five minutes a script grabs a frame from my backyard and driveway cameras and asks Claude whether it’s dry, wet, snowing, raining or overcast. It’s less reliable at night when the cameras switch to IR. At one point it asked me to look out the window to confirm whether it was raining, then rewrote the script when I said no. It even picked up that it was windy from motion in the frames. Greg thinks I could train a small local model on it, and pointed to Jeremy Howard’s course, which shows you can get decent results from surprisingly small datasets. Travers suggested having Fable or Astra write a small transformer, and I wondered about Inkling, the small model we talked about a few weeks ago that runs on a laptop. I also had Claude draw 24 weather icons for the site, and it reminded me it’s a text model, not an image model. They’re hilariously bad and I might keep them.

Off-the-Clock Recommendations

  • Godzilla (1954): Travers watched the original. It still holds up as a monster movie, and the score has barely changed since.
  • Train your own model: Travers has been adding LoRAs to Gemma to get better behaviour on specific tasks, and says anyone can do it with an open model.
  • Jeremy Howard’s Practical Deep Learning for Coders (fast.ai): Greg’s pick for anyone who wants to understand how the models work and how far a small dataset can go.
  • Rex and herdr: I’ve been trying both. I prefer herdr, and its mobile access over my tailnet is easy to set up, but I’m not sold I need a GUI over the original herdr. Worth a look, not a must.
  • Ratatouille (2007): Greg’s viewing this week was picked by a five-year-old daughter. It’s a classic.

Claude drafts these notes from the transcript and my outline, and I review and edit them before they publish. Same rule I apply to any agent's pull request: it proposes, a human owns it.

All episodes Subscribe