01 Source environment — instructor notes
Teaching steps, verification checks, and recovery guidance for module 01.
Allow 45 to 60 minutes of active work. Use the learner module for commands.
Start provisioning and seeding
Demonstrate the Terraform plan, then have participants apply it, reboot RDS, and verify wal_level = logical.
Create the schema before starting the seed. Use the unattended seed time for module 02.
Explain the two replication destinations: Managed Postgres for transactional migration and ClickHouse for the analytical copy.
Verify seed completion
Monitor table size while each INSERT ... SELECT runs. Row counts become visible only after the statement commits.
The seed finishes when /tmp/seed.log ends with ANALYZE.
Before starting the writer, order_items should contain exactly 48,000,000 rows.
After the writer starts, use the seed and writer split query in the learner page to explain increasing counts.
Record a comparable baseline
Take both measurements after seeding finishes. Stop Grafana and any standing writer before the harness run.
The harness creates its own writer and eight analytical sessions.
Keep the default load settings and save the configuration with results/before.json.
Check exit status, warnings, errors, and writer continuity before accepting results.
Common failures
| Symptom | Action |
|---|---|
AccessDenied during provisioning | Review required permissions and clean up partial workshop resources before retrying |
wal_level remains replica | Verify the parameter group, reboot, and check again |
relation does not exist in the seed log | Create the schema before restarting the seed |
| Writer exits immediately | Read stderr and check the DSN, seed completion, and grants |
| Writer log lacks a final summary | Check for multiple writer processes sharing the log |
| Grafana cannot start on Windows | Verify Docker Desktop integration and available WSL memory |
End checkpoint
Confirm the seed is complete, both baseline readings are saved, and preflight passes. Then start one writer and Grafana. Verify zero failed writes and all eight panels before module 03.