ECS Migration Demo — Variation B

ECS Fargate · ALB host-based routing · EFS storage (mounted filesystem at /data/tenant)
Session ID
8FB7C1D639DD59678E02B0E30F7930A8
in-memory — ALB stickiness
Task ID / Container
96f1850535be448ba02cce247cb6da1a
container 96f1850535be448ba02cce247cb6da1a-0587329228
Sessions are in-memory and pinned by ALB stickiness — shared sessions across tasks are Variation C.

Session state management

Sessions are held in-memory per task, which requires ALB sticky sessions to pin each client to one task.

This is the pattern Variation C replaces by externalizing session state to a shared store.

This container

Tenant (TENANT_ID)customer-b
ECS task id96f1850535be448ba02cce247cb6da1a
Container id96f1850535be448ba02cce247cb6da1a-0587329228
Availability zoneus-west-1c
Session ID (in-memory — ALB stickiness)8FB7C1D639DD59678E02B0E30F7930A8
Task/container id and AZ are read live from the ECS Task Metadata endpoint v4. Sessions are in-memory (ALB stickiness) — externalized shared sessions are Variation C.

Storage panel (EFS write → list → read)

Backing location: /data/tenant/customer-b

No objects yet — write one above.
Only this tenant's prefix is listed/readable — per-tenant isolation (BR-A9).