Packet journey 5 of 6

An engineer opens an SSH session

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.

Defects on this path

  • D2SSH open to the internethighcloses in phase 2
  • D16Metadata SSH keys instead of OS Loginmediumcloses in phase 2
All 17 defects

2 steps fail

It works - and it would work for anyone on the internet holding a key. Port 22 is open to everyone, and the log records that a key was used, not who used it.

The pathlaptop → public IP → bastion
outside GCPEngineer198.51.100.7 · homeholds an SSH keyIAP TCP forwarding35.235.240.0/20checks who you areand your IAP roleharbour-vpcsn-a-mgmt · 10.10.16.0/24bastionexternal IP · :22 from 0.0.0.0/0metadata SSH keysD2D16D3asn-a-data · 10.10.17.0/24rabbitmq-110.10.17.x:22no external IPSSH · two firewall checksSSH to a public IP, open to 0.0.0.0/0
  • Your VPC
  • Run by Google
  • Firewall and access rules
  • Allowed traffic
  • Where it breaks

Only what this journey touches. Numbers follow the route - click a numbered box to open its hop below. Red dashed lines are paths that should not exist or do not work, the open hop is outlined in blue, and struck defect IDs are closed.

Wide by design - scroll it sideways.

Hop by hop

3 hops · open one at a time