Skip to main content

US-2: ECS Fargate Spot (70% Cost Savings)

As a DevOps engineer, I want to deploy ECS Fargate services with Spot capacity (70% savings), so that container costs are optimized with Infracost-validated estimates.

INVEST Score

INVESTAvg
9899798.5

Sprint: 2 | WSJF: 2.0 | Effort: 5 days | Status: Approved

Acceptance Criteria

  • terraform validate passes for ecs-platform module
  • terraform test passes (>= 3 test cases)
  • Fargate Spot strategy: base=20 FARGATE, weight=50 FARGATE_SPOT
  • KMS ephemeral storage encryption (APRA CPS 234 Para 21(d))
  • Enhanced Container Insights enabled
  • FOCUS 1.2+ tags on ALL resources
  • checkov -d modules/ecs-platform/ zero HIGH/CRITICAL
  • Infracost estimate documents Fargate pricing baseline

GitHub Issue