Skip to content

How this book works

2 min read · main part only; folded sections are optional

After this you can answer: What are the three layers of this book, and which one must I read?

flowchart LR
P["1. The path<br/>Parts 0-6, read in order"] --> M["2. The map<br/>/map/, click any piece"]
P --> R["3. The reference<br/>deep dives, casebook, appendix"]
P --> X["Practice<br/>scenarios, flashcards, quizzes"]
  1. Read the path. About 47 chapters of roughly 5 minutes. Each one explains one piece of MiniTickets with the real AWS term, then ties it to our real names, ports and files.
  2. Open the map when a chapter links to it. The map shows every piece, who may talk to whom, and the exact rule that allows each connection. Flows replay one request step by step.
  3. Answer the checkpoint. Five questions, one diagram to redraw from memory, and one small task. Then tick the chapter as read; the tick shows in the sidebar.
  4. Use the reference later. When something breaks or an interviewer digs deeper, open the deep dive for that AWS service or the casebook entry for that symptom.

MiniTickets lets people browse events, sign up, log in and book tickets. An admin creates events. After a booking, a confirmation email and a QR ticket are made in the background. The web app is Next.js, the API is Fastify with tRPC, the data lives in Postgres and Valkey, and background work runs on SNS, SQS and Lambda.

Every chapter has the same shape, from “In 1 minute” to the checkpoint. The plan of all pages lives in one file: apps/book/src/data/outline.ts → parts.

Start the map at stage 0 →

You need no AWS account to read the book. When you have access, each chapter names the exact console page and field to look at.

SymptomCauseWhere to look
You know the words but cannot draw the systemYou skipped the “redraw it” stepThe checkpoint of each chapter
An interview follow-up stops youYou read the main part onlyThe follow-ups and the Advanced block
Why one app and not many small examples?

Real systems fail at the seams: a security group that names the wrong source, a role missing one action. One connected app shows those seams. Small examples hide them.

What if I only have one hour?

Read Part 1 (the booking story and the whole map) and play the booking flow on the map. That gives you the shape of the system; the other chapters fill in each piece.

What is the trade-off of teaching with real terms?

The first pages are a little harder, because “security group” means less than a picture at first. But the words you learn are exactly the ones an interviewer uses, so nothing has to be translated later.

Advanced: How the book stays true to the code

The explorer, the “where it sits” diagrams, the connection tables and the permissions matrix are all generated from one data set in apps/book/src/data/, built from the code. pnpm book:check proves that every code link exists, every command only reads, and every diagram renders. A page may only claim a live AWS test when the owner’s acceptance log records one; otherwise it says “designed to” or “tested locally”.

Answer these without scrolling up. If one feels hard, reread that section.

  1. Which layer must you read, and in which order?
  2. What does the map show that a chapter does not?
  3. When would you open the casebook instead of a chapter?
  4. What are the three parts of every checkpoint?
  5. Name the five main pieces in the 30-second interview answer.

Redraw it from memory: the three layers and practice, with one arrow from the path to each

Try this: open the map, press Fit, then move the stage slider from 0 to 24 and watch MiniTickets grow

Read this book online: https://book.theversehub.in/