ECS Migration Demo — Variation B

ECS Fargate · ALB host-based routing · EFS storage (mounted filesystem at /data/tenant)
Session ID
392A2EAA1AA9FC16E5550579BAB7320D
in-memory — ALB stickiness
Task ID / Container
d6a2a679813f47878670ac15d5a78e8c
container d6a2a679813f47878670ac15d5a78e8c-0637662085
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-a
ECS task idd6a2a679813f47878670ac15d5a78e8c
Container idd6a2a679813f47878670ac15d5a78e8c-0637662085
Availability zoneus-west-1b
Session ID (in-memory — ALB stickiness)392A2EAA1AA9FC16E5550579BAB7320D
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-a

Only this tenant's prefix is listed/readable — per-tenant isolation (BR-A9).