Sabancı2 shop

Workshop shop

Session (Redis)

session 5668956d9bd3 · created 2026-10-14 22:45:40 UTC · requests in this session 1 · cart 0 item(s)

last pages: /?nocache=1

answered by:

  • web i-047fa7678dabdfeb4 (on-demand) → app i-0a375bddeddd61dbe (on-demand)

This request was served by

web i-047fa7678dabdfeb4 on-demand us-east-1a · t3.micro

app i-0a375bddeddd61dbe on-demand us-east-1b · t3.micro

global counter (Redis INCR, all instances): 61472

Catalog (RDS PostgreSQL)

40 categories · 50,000 products · 200,000 reviews · 300,000 orders

source: RDS PostgreSQL (nocache) · 56.2 ms · reload without Redis · reload

Categories · Bestsellers (heavy query) · Search “pro”

Shared storage (EFS)

Instances that wrote to /mnt/efs (On-Demand and Spot):

  • i-0a375bddeddd61dbe us-east-1b · on-demand · t3.micro · last request 22:45:40 UTC
  • i-0c1ac3f5aa670b9ed us-east-1a · on-demand · t3.micro · last request 22:34:45 UTC

Media gallery: files on EFS, served by any app instance, cached by CloudFront under /media/*.

Egress through Network Firewall

The app instance opens the connection: NAT GW → firewall (TLS SNI allowlist) → IGW.

L4 connections of this request (same letters as the diagram)

ConnectionBetweensrc → dstSeen by
Con-Abrowser ↔ DNS (Route 53)UDP/53 via the browser's resolvernot visible to the server
Con-Bbrowser ↔ CloudFront216.73.216.188:49407 → CloudFront edge :443CloudFront-Viewer-Address · CloudFront terminates, WAF evaluated
Con-CCloudFront ↔ S3 /static/*CloudFront → S3 (OAC)cache miss only, not visible here
Con-DCloudFront ↔ ALB130.176.117.113:? → ALB public IP :443 (IGW DNAT → 10.20.4.56)X-Forwarded-For · IGW edge RT → FW endpoint → ALB
Con-EALB ↔ nginx (web)10.20.4.56:29066 -> 10.20.11.121:80nginx $remote_addr:$remote_port
Con-Fnginx ↔ internal ALB10.20.11.121:? → 10.20.15.157:80X-Forwarded-For (nginx source port not exported)
Con-Ginternal ALB ↔ app10.20.15.157:46246 → 10.20.22.188:8080gunicorn socket
Con-Happ ↔ Redis10.20.22.188:53464 → 10.20.31.6:6379CLIENT INFO addr → laddr
Con-Iapp ↔ RDS PostgreSQL10.20.22.188:37526 → 10.20.31.243:5432inet_client_addr() / inet_server_addr()
Con-Japp ↔ EFS (NFS)10.20.22.188:41910 → 10.20.32.152:2049ss -tn dport 2049