Part 3 of the case study
Packet journeys
Each journey follows one real flow through Harbour, hop by hop, with what the packet looks like at every step. Read it as found, then switch to the fixed design and watch which steps change.
- 1.
A shopper loads a product page
internet → Cloudflare → ALB → harbour-api → database
The request that pays the bills. A shopper opens a listing in the app, and the request crosses three companies' infrastructure before it reaches a database: Cloudflare's edge, Google's load balancer, then Harbour's own API. Every protection Harbour pays for sits on this path, which is why the ways around it matter.
- As found
- 4 steps fail
- Fixed
- every step succeeds
- 2.
A health check probe arrives
Google probe range → firewall → legacy-api VM
Not every packet is a customer. The legacy API still runs on a managed instance group behind the load balancer, and Google probes each instance every few seconds to decide whether it gets traffic. This journey is about what that probe actually proves.
- As found
- 1 step fails
- Fixed
- every step succeeds
- Defects
- D13
- 3.
The API charges a card
harbour-api → PayGate, which allow-lists your IP
Harbour's payment provider, PayGate, accepts calls only from addresses it has on file. Harbour reserved two static addresses for exactly this and registered them. This journey is why payments still fail - and why they fail on some days and not others.
- As found
- 3 steps fail
- Fixed
- every step succeeds
- Defects
- D7
- 4.
The nightly job runs
Cloud Scheduler → harbour-jobs → broker + Secret Manager
Every night a job gathers the day's orders and queues them for the sellers' payouts. It touches a scheduler, a secret and a message broker - and, without anyone planning it, the logging API. The broken part is not on the job's path at all. It is beside it.
- As found
- 1 step fails
- Fixed
- every step succeeds
- Defects
- D4
- 5.
An engineer opens an SSH session
laptop → public IP → bastion
An engineer needs a shell on the message broker to look at a stuck queue. As found, they SSH to the bastion's public address and hop on from there. The fixed design is not the same route with a lock on it. It is a different route.
- As found
- 2 steps fail
- Fixed
- every step succeeds
- 6.
The partner network reaches the database
partner-vpc → peering → harbour-vpc → ✗
Harbour's delivery partner runs its own VPC, peered to Harbour's, and wants to read order state straight from Harbour's managed cache. Everyone involved assumes the peering makes that possible. It cannot, and no setting changes that.
- As found
- 2 steps fail
- Fixed
- every step succeeds
- Defects
- D11
New to the names on these routes? The platform map draws every box, and the defects take each failure apart.