re:Invent Field Kits
One field ready kit per AWS announcement, built the same way every time, plus a dashboard that tracks every announcement and links to each kit.
A kit is: a working POC with a copy, paste and run boto3 script, screenshots, an architecture diagram, pricing, scaling, quotes and talking points, and a 5 minute talk track. The contract is in KIT_SPEC.md.
Use it
| Task | Command |
|---|---|
| Build a kit for an announcement | /field-kit <announcement name or URL> in Claude Code |
| Refresh the announcement list | Automatic every hour in AWS; make sync to pull it into the repository |
| Queue an announcement for a kit | make queue URL=<announcement url> |
| Preview the site locally | make serve (http://127.0.0.1:8788) |
| Publish the platform and dashboard | make deploy |
| Run a kit target | make kit KIT=amazon-ergo T=deploy (or make inside the kit directory) |
| Remove everything after the event | make destroy-all |
Credentials: every target uses the AWS profile supernova in us-east-1. Run mwinit first if make preflight fails.
Kits
| Kit | What it shows | Demo |
|---|---|---|
| amazon-ergo | Speed and cost of Amazon Ergo on Bedrock, measured live | Web playground |
| aws-iam-for-agents | Two agents on one role, told apart by identity in policy and CloudTrail (preview) | CLI |
Layout
| Path | Purpose |
|---|---|
KIT_SPEC.md |
The kit contract: files, rules, Make targets |
.claude/skills/field-kit/ |
The standard agent: research, build, deploy, verify, publish |
tracker/ |
sync.py pulls What's New and the AWS News Blog into announcements.json; triage.json and queue.json hold the demo or notes call and the build order |
dashboard/ |
build.py renders the announcement table and one set of pages per kit (documents, diagram, screenshots) |
platform/terraform/ |
Shared hosting: site bucket, CloudFront, WAF, DNS, Cognito sign-in, hourly feed sync |
platform/feed/ |
The Lambda function that syncs and triages the feed in AWS |
shared/ |
Diagram library and icons, screenshot helper |
kits/_template/ |
Skeleton every kit starts from |
kits/<slug>/ |
One kit |
Dashboard and access
- The dashboard is a public static site at
https://reinvent.<DOMAIN>. Everything a kit produces is published on it, so the site is self-contained: each kit's one-pager, POC script (shown in full with a copy button and a download link), pricing, scaling, talk track, talking points and sources are rendered to pages under/kits/<slug>/, next to its diagram and screenshots. Each kit also has a Files page with every committed file (Makefile, Terraform, scripts), and the whole project is downloadable as a zip, so any command or file a page mentions can be obtained from the site. The zip and Files pages are built from the last commit, so commit beforemake deploy. Anyone with the link can read them, so kit documents carry no account IDs (the build fails if one appears) and nothing customer-specific. - Kit demo pages are served from the same site under
/kits/<slug>/demo/. Their APIs require sign-in through the shared Cognito pool on every route. - Midway sign-in is on when
federate_client_idis set (make deploy TF_VAR_federate_client_id=<id>); the client secret is read from the Secrets Manager secretamazon-federate/client-secret. Registerhttps://reinvent-field-kits-renkenk.auth.us-east-1.amazoncognito.com/oauth2/idpresponseas the redirect URI of the AmazonFederate client. Without it, only users an admin creates in the pool can sign in. - Demos stay deployed until
make destroyin the kit ormake destroy-allhere.
Feed sync without a laptop
An hourly EventBridge schedule runs a Lambda function in the platform (platform/feed/handler.py, platform/terraform/feed.tf). It fetches new announcements with the same code as make sync, asks Amazon Ergo on Bedrock whether each is a demo candidate or field notes only, and writes them to data/feed.json in the site bucket. The dashboard page loads that file and adds the new rows, so the site stays current with nobody's machine running.
make feedruns the function now instead of waiting for the schedule.make syncon a laptop takes in what the function found, with its triage, so the repository catches up and nothing is triaged twice. The nextmake deploythen bakes those rows into the page.- The function only adds announcements and a provisional demo or notes call. It does not reorder the queue or build kits.
- Cost: one short Lambda run per hour plus a small Bedrock request when something new appears.
Progress and queue
- Triage: every synced announcement is marked
demo(can be reproduced hands-on) ornotes(field notes only), with a one line reason, intracker/triage.json./field-kit triageclassifies new items and queues the demo candidates. Triage is provisional until a kit's research confirms access. - Queued:
make queue URL=<announcement url>adds an announcement totracker/queue.json. The dashboard shows it asqueued #nin build order. It leaves the queue by itself once a kit lists that URL. - Building: a kit with
status: buildingshows a six step bar and the next step: Research, POC script, Docs, Diagram, Screenshots, Verified. The steps are worked out from the files in the kit (a document counts once it differs from the template), so there is no separate status to keep up to date. - Ready: set in
kit.jsonaftermake verifypasses. - The header counts kits ready, building and queued, announcements that are field notes only, and any not yet triaged. The Show filter narrows the table to kits and queue, field notes only, or not triaged.
Tags
Every resource carries Project, Environment, Owner, CostCenter, ManagedBy and Repository through provider default_tags. Project is reinvent-field-kits for the platform and field-kit-<slug> for a kit, so make cost splits spend per kit. Run make cost-tags once per account to activate the keys in Cost Explorer (up to 24 hours to appear). Set the cost center with COST_CENTER=<value> (default poc).
Security Hub
Platform controls (FSBP, CIS v3.0):
| Area | How it is met |
|---|---|
| S3 | Block Public Access, TLS-only bucket policies, default encryption, lifecycle rules, access logging on the site bucket |
| CloudFront | Origin access control, TLS 1.2 minimum, default root object, standard logging, AWS WAF web ACL with logging |
| Cognito | No self sign-up, authorization code grant with PKCE, no client secret in the browser |
Intentional exceptions:
- Buckets use SSE-S3 rather than a customer managed KMS key: the content is public web assets and access logs.
- The feed function is not in a VPC (Lambda.3): it reads public AWS web pages and calls the Bedrock public endpoint, and a VPC with NAT would add fixed cost.
- The logs bucket keeps ACLs enabled (S3.12) because CloudFront standard logging delivers through a bucket ACL.
- The AmazonFederate client secret is stored in the local Terraform state because the Cognito identity provider resource requires the value. State is local and ignored by git.
Each kit lists its own controls and exceptions in its README.