I learn a platform best by building something my family will use every week. Both of these run in my own AWS account.
Both apps are private, so the demos here run in your browser on made-up data: a sample school calendar, sample kids, and drawings generated by code. Nothing on this page connects to the real apps.
Live since October 2026
Sunday Digest
Every Sunday at 8 AM, a Lambda function reads the school's public calendar feed and emails a heads-up for the week after next. No-school days go first and into the subject line, so a day off never sneaks up on us. Every event gets 7 to 13 days of notice.
If the school adds something for the coming week after last Sunday's email went out, this Sunday's email catches it under "Added late." A small ledger in DynamoDB remembers what has already been announced.
Try it: run Sunday's job
Sample calendar. Same windows, keyword rules, ledger and rollback as the real function.
Which Sunday?
Then run the same Sunday again. A retry finds its claim and stops.
Email previewwaiting
FromSunday Digest
Tome
Sent–
Subject–
CloudWatch log, this run
ALARM · Lambda errors ≥ 1 → SNS → an email to me. The Scheduler retries, and the retry starts clean.
DynamoDB ledger table
pk (partition key)
title
expires_at (TTL)
Everything is scripted from AWS CloudShell and versioned in GitHub.
One Sunday run
The function is short. Most of the care went into making it safe to retry.
8:00 AM Eastern. EventBridge Scheduler invokes the function. The schedule has a time zone, so daylight saving never moves it.
Claim the date. A conditional write puts digest#<date> in the ledger. If it's already there, the run stops: that Sunday already went out.
Read the calendar. It downloads the public .ics feed and expands repeating events into single dates.
Sort it out. It drops an after-school program we don't use, puts closures first, and claims each event it announces. A claim that succeeds for this week's events means nobody has heard about it yet, so it's late.
Send one email. Plain text through SES, from a DKIM-verified address on my own domain.
Or roll back. If anything fails after the claim, it deletes the records this run added and fails loudly. The retry starts clean, and an alarm emails me.
Decisions worth noting
Safe to run twice. The claim is a conditional put (attribute_not_exists(pk)), so a retry or a double trigger can't send a second email.
Least privilege, twice. The Scheduler's role can invoke this one function. The function's role can write its own logs, use three actions on one table, and send only as one address, enforced with an ses:FromAddress condition.
Two alarms. One fires on errors. The other fires if the function doesn't run at all, which catches a schedule that quietly stops.
Keeps itself tidy. Ledger records expire through DynamoDB TTL 60 days after the event. Logs are kept for 14 days.
Built to be previewed. A dry-run mode builds the exact email without writing or sending anything, and a preflight script checks roles, the table, the schedule, both alarms and the email identities before go-live.
Built with
Python
AWS Lambda
EventBridge Scheduler
DynamoDB
Amazon SES
CloudWatch
Amazon SNS
IAM
AWS CloudShell
GitHub
Live · invite-only
Art Archive
Kids make a lot of art. This is where it goes before the paper goes in the recycling bin: snap a photo, tag it by kid and date, and the whole family can browse it. It's invite-only. Two of us can upload, and everyone else we invite can look.
Under the hood it's a full three-tier app in a VPC, built one CloudFormation stack at a time.
Try it: the archive on a phone
Sample kids and drawings made by code, in the real app's layout.
See it as
Behind the screen
Six CloudFormation stacks. The dashed peach line is the upload path: photos never pass through the servers.
One upload, end to end
The same steps the demo shows, in the real app.
Sign-in at the door. The load balancer sends anyone without a session to Cognito's hosted sign-in. Only invited people have accounts.
Checked again inside. On every request the app verifies the load balancer's signed token, confirms our load balancer signed it, verifies Cognito's token, and maps the Cognito group to uploader or viewer.
Ask for a signed form. The phone asks the app for permission to upload one file. It gets an S3 form that works for 15 minutes, for one key, one file type, and up to 40 MB.
Straight to S3. The phone posts the photo to the bucket directly. S3 checks the signature, key, type and size.
Make the small versions. The app confirms the file is really there, reads it once, rotates it upright, and saves a 480px thumbnail and a 1600px preview.
Save the row. One insert in Postgres with the kid, date and tags. A retried request is harmless: it's ON CONFLICT DO NOTHING.
Decisions worth noting
Nothing is public. S3 Block Public Access stays on. Browsers get one-hour signed links to view, and signed forms to upload.
The server can't plant code. Its role can write photos to three folders and nothing else, including the folder new servers load their code from.
Cross-site requests are blocked. Every POST has to carry the site's own Origin header, since a sign-in cookie alone isn't proof the request came from the site.
Deploys that undo themselves. A new server has to report healthy (cfn-signal) before the old one is removed. If it doesn't, CloudFormation rolls back and the site stays up.
Careful with 1 GB of memory. One photo at a time per server, a 60-megapixel cap, and JPEGs decoded already shrunk.
No SSH. No keys and no open ports. Shell access goes through Session Manager, and instances require IMDSv2.
Hide, don't delete. "Hide this piece" sets a flag. The row and the file stay, and bucket versioning protects against overwrites.
Pay for what's running. The app stack costs about $1–2 a day, so it comes down between sessions and the database stops when idle. The network, data, DNS and sign-in stacks stay.
Built with
Amazon VPC
EC2 Auto Scaling
Application Load Balancer
Amazon Cognito
RDS for PostgreSQL
Amazon S3
Secrets Manager
Route 53
ACM
CloudFormation
Python · Flask
Pillow
Built one stack at a time
done1 · Network
done2 · Storage
done3 · Database
done4 · HTTPS + servers
done5 · Family sign-in
done5b · Upload and browse
next6 · Yearbook PDF
planned7 · Link from the digest
Stack
What's in it
Lifetime
network
VPC across two Availability Zones, public and private subnets, routes, S3 gateway endpoint, three chained security groups
Permanent, and free
data
The art bucket: private, versioned, encrypted, with lifecycle tiers and CORS for browser uploads
Permanent, retained
database
RDS PostgreSQL, encrypted, password managed in Secrets Manager
Permanent, stopped when idle
dns
Route 53 zone for the subdomain and its ACM certificate
Permanent
auth
Cognito user pool with uploader and viewer groups and hosted sign-in
Permanent, retained
app
NAT gateway, load balancer, Auto Scaling servers, DNS alias
Torn down between sessions
What's next
The two apps are about to start talking to each other, and the yearbook is the part I'm most excited about.
next up
A yearbook for each kid
Every June, a job builds a printable PDF of each kid's school year from the archive. A queue (SQS) hands the work to a background worker, and the book renderer is built to be reused.
Art Archive · phase 6planned
The digest links to the week's art
Sunday's email will end with a link to everything added that week. The archive's weekly page is already built for it.
Both apps · phase 7planned
The digest, rebuilt as code
One SAM template for the whole digest, with a dead-letter queue for failed runs and its settings in Parameter Store, so it can be torn down and rebuilt with one command.
Sunday Digest · SAM, SQS, SSMidea
A photo year in review
A third project: group near-duplicate photos, score the rest, pick the best, and lay them out with the yearbook's renderer. Books like this already exist. This one would be mine, with our photos staying in our account.
New project
Also on AWS: an MCP server for NASA's asteroid and fireball data, with a live demo.