IndexAboutDemo

Server Functions Demo

#1 · Which task served this?

This data only exists inside the container. With 2 tasks behind the ALB, hit Refresh a few times and watch the host / AZ change.

environment
ecs-fargate
hostname
fargate-task-a1b2c3
task id
a1b2c3d4e5f6
availability zone
us-east-1a
region
us-east-1
arch
arm64
pid
1
uptime (s)
3842
node
v22.4.0
sampled at
2026-06-23T22:32:19.960Z
#2 · Guestbook (DynamoDB)
storage: dynamodb

A POST server function validates input with Zod and writes to DynamoDB using the ECS task IAM role — no credentials in the app.


Alice · 6/20/2026, 2:30:00 PM · served by fargate-task-a1b2c3

First entry in the guestbook!

Bob · 6/21/2026, 9:15:00 AM · served by fargate-task-d4e5f6

Nice demo — the ALB round-robin is neat.